llm-security/tests
Kjell Tore Guttormsen b4d9f83521
docs: knowledge-file count from source, no offline claim for the CLI
PLAN § v8.1.3 tillegg b and c.
- b: scanner-reference.md said Knowledge Files (20); knowledge/ holds
  22. Added typosquat-allowlist.json and workflow-injection-patterns.md;
  the test pins header and table to the directory.
- c: ci-cd-guide.md claimed zero network calls, OSV opt-in and "no
  cross-border data transfer". Measured in the code: dep runs npm audit
  (package.json) and pip-audit (requirements.txt, if installed), network
  resolves found domains over DNS, supply-chain queries OSV.dev, none
  with a switch. The guide now says so. scanner-reference.md carried the
  same claim plus a `--online` flag that does not exist (0 hits in
  scanners/); fixed in the same commit because the same gate covers it
  (chosen over leaving a known-false line in a file already edited here).
  That extra check was red on fd7de23's text, verified.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 11:37:58 +02:00
..
e2e fix(av-surface): no runnable base64-to-shell line on disk 2026-09-23 11:35:50 +02:00
fixtures test(ast-taint): materialize the ast-scan fixtures at test time 2026-09-22 14:11:27 +02:00
golden refactor(llm-security): build the SIG ruleset from vendored commons (malware-signatures 0.1.0) 2026-08-13 21:28:14 +02:00
helpers fix(policy): read policy.json only from the caller's own working tree 2026-09-22 20:15:17 +02:00
hooks refactor(llm-security): build the secret table from vendored commons (secret-egress 0.3.0) 2026-08-13 21:10:14 +02:00
lib docs: knowledge-file count from source, no offline claim for the CLI 2026-09-23 11:37:58 +02:00
scanners fix(watch): run the orchestrator with the watched project as cwd 2026-09-23 11:34:55 +02:00
av-surface.test.mjs test(v8.1.3): red tests for plan points 1, 2, 3, 5 and addenda a-c 2026-09-23 11:29:22 +02:00