creating-kb
Pass
Audited by Gen Agent Trust Hub on Jul 30, 2026
Risk Level: SAFEPROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [PROMPT_INJECTION]: The skill creates a retrieval-augmented generation (RAG) surface where external data is treated as authoritative, enabling potential indirect prompt injection attacks.
- Ingestion points: The script
scripts/build_lexkb.jsreads and indexes files from a user-provided directory. - Capability inventory: The template
scripts/bundle_SKILL.mdinstructs consuming agents to treat the retrieved text as the "source of truth" and prioritize it over their internal knowledge. - Boundary markers: The bundle's retrieval instructions lack clear delimiters or "ignore instructions" directives to prevent an agent from following commands embedded in retrieved text.
- Sanitization: No content filtering or sanitization is performed on the indexed document text.
- [COMMAND_EXECUTION]: The test script
test_parity.pyexecutes shell commands using thesubprocessmodule. - Evidence: The script uses
subprocess.run()to launchnodeandpython3processes to verify the search functionality. - Context: This activity is confined to the development/testing phase and is used to validate consistency between different code implementations.
Audit Metadata