-
Notifications
You must be signed in to change notification settings - Fork 109
Expand file tree
/
Copy pathpackage.json
More file actions
90 lines (90 loc) · 3.04 KB
/
package.json
File metadata and controls
90 lines (90 loc) · 3.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"name": "ecc-agentshield",
"version": "1.4.0",
"description": "Security auditor for AI agent configurations. Scans Claude Code setups for vulnerabilities, misconfigs, and injection risks.",
"type": "module",
"bin": {
"agentshield": "./dist/index.js"
},
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./miniclaw": {
"import": "./dist/miniclaw/index.js",
"types": "./dist/miniclaw/index.d.ts"
}
},
"scripts": {
"build": "tsup src/index.ts src/action.ts src/miniclaw/index.ts --format esm --dts --clean --no-splitting",
"prepublishOnly": "npm run build",
"dev": "tsx src/index.ts",
"test": "npm run test:batch:core && npm run test:batch:analysis && npm run test:batch:miniclaw-a && npm run test:batch:miniclaw-b && npm run test:batch:misc",
"test:batch:core": "vitest run tests/rules/*.test.ts tests/scanner/*.test.ts tests/reporter/*.test.ts",
"test:batch:analysis": "vitest run tests/integration.test.ts tests/injection.test.ts tests/action.test.ts",
"test:batch:miniclaw-a": "vitest run tests/miniclaw/index.test.ts tests/miniclaw/server.test.ts",
"test:batch:miniclaw-b": "vitest run tests/miniclaw/cli.test.ts tests/miniclaw/sandbox.test.ts",
"test:batch:misc": "vitest run tests/corpus.test.ts tests/logger.test.ts tests/init/init.test.ts tests/taint/taint.test.ts tests/opus/*.test.ts tests/fixer/*.test.ts tests/types.test.ts tests/skills/*.test.ts tests/miniclaw/router.test.ts tests/miniclaw/tools.test.ts tests/miniclaw/types.test.ts tests/sandbox/sandbox.test.ts tests/threat-intel/*.test.ts tests/watch/*.test.ts tests/runtime/*.test.ts tests/baseline/*.test.ts tests/supply-chain/*.test.ts tests/policy/*.test.ts",
"test:coverage": "vitest --coverage",
"lint": "eslint src/",
"typecheck": "tsc --noEmit",
"scan": "tsx src/index.ts scan",
"scan:demo": "tsx src/index.ts scan --path examples/vulnerable"
},
"keywords": [
"claude-code",
"security",
"ai-agent",
"mcp",
"hackathon",
"opus",
"anthropic",
"scanner",
"audit"
],
"author": "Affaan Mustafa",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/affaan-m/agentshield.git"
},
"homepage": "https://github.com/affaan-m/agentshield#readme",
"bugs": {
"url": "https://github.com/affaan-m/agentshield/issues"
},
"files": [
"dist/",
"action.yml",
"CHANGELOG.md",
"README.md",
"LICENSE"
],
"dependencies": {
"@anthropic-ai/sdk": "^0.39.0",
"chalk": "^5.4.1",
"commander": "^13.1.0",
"glob": "^11.0.1",
"yaml": "^2.7.0",
"zod": "^3.24.2"
},
"devDependencies": {
"@eslint/js": "^9.39.2",
"@types/node": "^22.13.0",
"@vitest/coverage-v8": "^3.2.4",
"eslint": "^9.19.0",
"globals": "^17.4.0",
"tsup": "^8.3.6",
"tsx": "^4.19.2",
"typescript": "^5.7.3",
"typescript-eslint": "^8.58.1",
"vitest": "^3.0.5"
},
"overrides": {
"ajv": "^6.14.0",
"flatted": "^3.4.0"
},
"engines": {
"node": ">=18"
}
}