agentaudit 3.9.48 → 3.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli.mjs +591 -1110
- package/index.mjs +615 -687
- package/package.json +47 -45
- package/postinstall.mjs +18 -0
package/package.json
CHANGED
|
@@ -1,45 +1,47 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "agentaudit",
|
|
3
|
-
"version": "3.
|
|
4
|
-
"description": "Security scanner for AI packages — MCP server + CLI",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"bin": {
|
|
7
|
-
"agentaudit": "
|
|
8
|
-
},
|
|
9
|
-
"main": "index.mjs",
|
|
10
|
-
"files": [
|
|
11
|
-
"index.mjs",
|
|
12
|
-
"cli.mjs",
|
|
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
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "agentaudit",
|
|
3
|
+
"version": "3.10.0",
|
|
4
|
+
"description": "Security scanner for AI packages — MCP server + CLI",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"agentaudit": "cli.mjs"
|
|
8
|
+
},
|
|
9
|
+
"main": "index.mjs",
|
|
10
|
+
"files": [
|
|
11
|
+
"index.mjs",
|
|
12
|
+
"cli.mjs",
|
|
13
|
+
"postinstall.mjs",
|
|
14
|
+
"prompts/audit-prompt.md",
|
|
15
|
+
"LICENSE",
|
|
16
|
+
"README.md"
|
|
17
|
+
],
|
|
18
|
+
"scripts": {
|
|
19
|
+
"start": "node index.mjs",
|
|
20
|
+
"scan": "node cli.mjs scan",
|
|
21
|
+
"postinstall": "node postinstall.mjs"
|
|
22
|
+
},
|
|
23
|
+
"keywords": [
|
|
24
|
+
"security",
|
|
25
|
+
"audit",
|
|
26
|
+
"mcp",
|
|
27
|
+
"mcp-server",
|
|
28
|
+
"ai-agent",
|
|
29
|
+
"scanner",
|
|
30
|
+
"vulnerability",
|
|
31
|
+
"prompt-injection",
|
|
32
|
+
"agent-security"
|
|
33
|
+
],
|
|
34
|
+
"author": "starbuck100",
|
|
35
|
+
"license": "AGPL-3.0",
|
|
36
|
+
"repository": {
|
|
37
|
+
"type": "git",
|
|
38
|
+
"url": "git+https://github.com/starbuck100/agentaudit-mcp.git"
|
|
39
|
+
},
|
|
40
|
+
"homepage": "https://agentaudit.dev",
|
|
41
|
+
"engines": {
|
|
42
|
+
"node": ">=18.0.0"
|
|
43
|
+
},
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"@modelcontextprotocol/sdk": "^1.0.0"
|
|
46
|
+
}
|
|
47
|
+
}
|
package/postinstall.mjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
const g = '\x1b[32m', c = '\x1b[36m', d = '\x1b[2m', b = '\x1b[1m', r = '\x1b[0m';
|
|
3
|
+
|
|
4
|
+
console.log();
|
|
5
|
+
console.log(` ${g}✔${r} ${b}AgentAudit${r} installed!`);
|
|
6
|
+
console.log();
|
|
7
|
+
console.log(` ${b}Get started:${r}`);
|
|
8
|
+
console.log(` ${c}agentaudit discover${r} Find your MCP servers + check security status`);
|
|
9
|
+
console.log(` ${c}agentaudit setup${r} Register for an API key ${d}(free)${r}`);
|
|
10
|
+
console.log(` ${c}agentaudit scan <url>${r} Quick static scan`);
|
|
11
|
+
console.log(` ${c}agentaudit audit <url>${r} Deep LLM-powered audit`);
|
|
12
|
+
console.log();
|
|
13
|
+
console.log(` ${b}For deep audits,${r} set an LLM API key:`);
|
|
14
|
+
console.log(` ${d}export ANTHROPIC_API_KEY=sk-ant-...${r} ${d}# or OPENAI_API_KEY${r}`);
|
|
15
|
+
console.log();
|
|
16
|
+
console.log(` ${b}Or use as MCP server${r} in Cursor/Claude ${d}(no API key needed)${r}:`);
|
|
17
|
+
console.log(` ${d}{ "agentaudit": { "command": "npx", "args": ["-y", "agentaudit"] } }${r}`);
|
|
18
|
+
console.log();
|