llm-security/tests/helpers
Kjell Tore Guttormsen 7d1de2ce25
test(llm-security): store the poisoned-claude-md fixture encoded
v8.1.0 S2. examples/poisoned-claude-md/fixture/ (CLAUDE.md with a base64
pipe-to-shell blob, plus an agent file) is now fixture.archive.json in the
same format as the demo archive; run-memory-poisoning.mjs materializes it
into a temp dir and deletes it on exit. README shows materialize-then-scan.
payload-trees.test.mjs asserts byte identity for both archives.

av-surface: b 6->5, d 1->0. Walkthrough output identical before/after
(6 pass, 0 fail, 18 findings).

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-22 13:22:10 +02:00
..
build-jetbrains-fixtures.mjs test(llm-security): add JetBrains fixture tree + build helper 2026-04-18 10:49:49 +02:00
payload-trees.mjs test(llm-security): build poisoned fixtures at test time, never on disk 2026-09-22 13:07:38 +02:00
payload-trees.test.mjs test(llm-security): store the poisoned-claude-md fixture encoded 2026-09-22 13:22:10 +02:00
zip-writer.mjs feat(llm-security): implement parseIntelliJPlugin with nested-jar extraction 2026-04-18 10:15:12 +02:00