fullcourtdefense-cli 1.7.20 → 1.7.22
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/dist/commands/agentCi.d.ts +2 -0
- package/dist/commands/agentCi.js +77 -5
- package/dist/commands/local-scan.js +761 -761
- package/dist/index.js +4 -0
- package/dist/version.json +1 -1
- package/package.json +44 -44
package/dist/index.js
CHANGED
|
@@ -265,6 +265,8 @@ function printHelp() {
|
|
|
265
265
|
--require-gateway agent-ci requires risky MCP servers to use FCD gateway
|
|
266
266
|
--require-approval-for agent-ci risky controls list, e.g. payment,delete,shell,secrets
|
|
267
267
|
--require-upload agent-ci fails if evidence cannot upload to AgentGuard UI
|
|
268
|
+
--changed-only agent-ci limits findings to changed files
|
|
269
|
+
--changed-files <path> file or comma/newline list of changed files for agent-ci
|
|
268
270
|
--method <GET|POST> Local endpoint method
|
|
269
271
|
--request-format <fmt> Local endpoint request format: custom or openai
|
|
270
272
|
--auth-type <type> none, bearer, basic, api-key
|
|
@@ -506,6 +508,8 @@ async function main() {
|
|
|
506
508
|
requireUpload: flags['require-upload'],
|
|
507
509
|
requireGateway: flags['require-gateway'],
|
|
508
510
|
requireApprovalFor: flags['require-approval-for'],
|
|
511
|
+
changedOnly: flags['changed-only'],
|
|
512
|
+
changedFiles: flags['changed-files'],
|
|
509
513
|
extraPath: flags.path,
|
|
510
514
|
apiKey: flags['api-key'],
|
|
511
515
|
apiUrl: flags['api-url'],
|
package/dist/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "fullcourtdefense-cli",
|
|
3
|
-
"version": "1.7.
|
|
4
|
-
"description": "Full Court Defense CLI — security scanning for AI agents from your terminal",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"bin": {
|
|
7
|
-
"fullcourtdefense": "dist/index.js",
|
|
8
|
-
"fcd": "dist/index.js",
|
|
9
|
-
"botguard": "dist/index.js"
|
|
10
|
-
},
|
|
11
|
-
"files": [
|
|
12
|
-
"dist",
|
|
13
|
-
"README.md"
|
|
14
|
-
],
|
|
15
|
-
"scripts": {
|
|
16
|
-
"build": "tsc && node scripts/copy-attack-corpus.js",
|
|
17
|
-
"test:deterministic-guard": "npm run build && node scripts/test-deterministic-guard.js",
|
|
18
|
-
"test:taint-ledger": "npm run build && node scripts/test-taint-ledger.js",
|
|
19
|
-
"prepublishOnly": "npm run build"
|
|
20
|
-
},
|
|
21
|
-
"keywords": [
|
|
22
|
-
"llm",
|
|
23
|
-
"security",
|
|
24
|
-
"guardrails",
|
|
25
|
-
"ai-safety",
|
|
26
|
-
"prompt-injection",
|
|
27
|
-
"cli",
|
|
28
|
-
"red-teaming",
|
|
29
|
-
"owasp",
|
|
30
|
-
"mcp",
|
|
31
|
-
"rag"
|
|
32
|
-
],
|
|
33
|
-
"license": "MIT",
|
|
34
|
-
"devDependencies": {
|
|
35
|
-
"@types/node": "^25.3.0",
|
|
36
|
-
"typescript": "^5.3.0"
|
|
37
|
-
},
|
|
38
|
-
"engines": {
|
|
39
|
-
"node": ">=18.0.0"
|
|
40
|
-
},
|
|
41
|
-
"dependencies": {
|
|
42
|
-
"yaml": "^2.8.4"
|
|
43
|
-
}
|
|
44
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "fullcourtdefense-cli",
|
|
3
|
+
"version": "1.7.22",
|
|
4
|
+
"description": "Full Court Defense CLI — security scanning for AI agents from your terminal",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"bin": {
|
|
7
|
+
"fullcourtdefense": "dist/index.js",
|
|
8
|
+
"fcd": "dist/index.js",
|
|
9
|
+
"botguard": "dist/index.js"
|
|
10
|
+
},
|
|
11
|
+
"files": [
|
|
12
|
+
"dist",
|
|
13
|
+
"README.md"
|
|
14
|
+
],
|
|
15
|
+
"scripts": {
|
|
16
|
+
"build": "tsc && node scripts/copy-attack-corpus.js",
|
|
17
|
+
"test:deterministic-guard": "npm run build && node scripts/test-deterministic-guard.js",
|
|
18
|
+
"test:taint-ledger": "npm run build && node scripts/test-taint-ledger.js",
|
|
19
|
+
"prepublishOnly": "npm run build"
|
|
20
|
+
},
|
|
21
|
+
"keywords": [
|
|
22
|
+
"llm",
|
|
23
|
+
"security",
|
|
24
|
+
"guardrails",
|
|
25
|
+
"ai-safety",
|
|
26
|
+
"prompt-injection",
|
|
27
|
+
"cli",
|
|
28
|
+
"red-teaming",
|
|
29
|
+
"owasp",
|
|
30
|
+
"mcp",
|
|
31
|
+
"rag"
|
|
32
|
+
],
|
|
33
|
+
"license": "MIT",
|
|
34
|
+
"devDependencies": {
|
|
35
|
+
"@types/node": "^25.3.0",
|
|
36
|
+
"typescript": "^5.3.0"
|
|
37
|
+
},
|
|
38
|
+
"engines": {
|
|
39
|
+
"node": ">=18.0.0"
|
|
40
|
+
},
|
|
41
|
+
"dependencies": {
|
|
42
|
+
"yaml": "^2.8.4"
|
|
43
|
+
}
|
|
44
|
+
}
|