shield-llm 0.12.2 → 0.13.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/README.md +5 -11
- package/dist/{chunk-4A2UTKN5.js → chunk-S3XEHIPB.js} +3737 -6960
- package/dist/cli.js +419 -669
- package/dist/index.js +1 -3
- package/package.json +4 -4
- package/dist/logo.png +0 -0
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
against a catalogue of prompt-injection, jailbreak, data-extraction, excessive-
|
|
7
7
|
agency, RAG, supply-chain and multi-turn attacks mapped to the **OWASP LLM Top
|
|
8
8
|
10**. It produces a security score, a letter grade, and reports in JSON,
|
|
9
|
-
Markdown
|
|
9
|
+
Markdown or SARIF, ready for CI/CD; the PDF reports come from the dashboard.
|
|
10
10
|
|
|
11
11
|
It does not stop at the finding. `shield-llm fix` patches a subset of findings
|
|
12
12
|
from declarative recipes, and `shield-llm verify-claims` replays the original
|
|
@@ -39,14 +39,9 @@ npx shield-llm --help
|
|
|
39
39
|
|
|
40
40
|
Requires Node.js >= 22.
|
|
41
41
|
|
|
42
|
-
PDF reports (
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
```bash
|
|
46
|
-
npm install -g puppeteer # one-time, only if you use --output pdf
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
Set `PUPPETEER_EXECUTABLE_PATH` to use a system Chrome instead of the bundled one.
|
|
42
|
+
PDF reports (security and compliance, in English and French) come from your
|
|
43
|
+
dashboard: every scan is saved there, open it and use Download. The CLI writes
|
|
44
|
+
JSON, Markdown and SARIF.
|
|
50
45
|
|
|
51
46
|
## Quick start
|
|
52
47
|
|
|
@@ -141,7 +136,6 @@ shield-llm scan --preset owasp
|
|
|
141
136
|
| `attacks` | List the attack catalogue (fetched from your backend) |
|
|
142
137
|
| `presets` | List available scan presets |
|
|
143
138
|
| `tests` | List custom tests (local config and/or `--remote`) |
|
|
144
|
-
| `benchmark` | Cohort benchmarking: consent, submission, relative position |
|
|
145
139
|
| `login` / `logout` | Manage your API key credentials |
|
|
146
140
|
|
|
147
141
|
Every command takes `--help`.
|
|
@@ -285,7 +279,7 @@ Run `shield-llm presets` to see what your instance serves.
|
|
|
285
279
|
--custom-only run ONLY your custom tests (no preset attacks)
|
|
286
280
|
--eu-ai-act print an EU AI Act compliance summary
|
|
287
281
|
--evidence-bundle <path> write the checksummed evidence bundle (EU AI Act + DORA Art. 24(5) fixes)
|
|
288
|
-
-o, --output <format> json | markdown | sarif
|
|
282
|
+
-o, --output <format> json | markdown | sarif
|
|
289
283
|
--output-file <path> write the report to a file
|
|
290
284
|
--write-json <path> always write a parseable JSON copy (feeds `fix --report`)
|
|
291
285
|
--min-score <n> fail if score < n
|