knowledge-base
Pass
Audited by Gen Agent Trust Hub on Mar 17, 2026
Risk Level: SAFEPROMPT_INJECTION
Full Analysis
- [PROMPT_INJECTION]: Indirect Prompt Injection Surface. The skill reads data from the local project (including source code and existing markdown files) and incorporates it into agent-accessible documentation like reports, indexes, and glossaries.
- Ingestion points: The
scananddiscoverfunctions inlib.tsread project code files to identify technical patterns and definitions. ThegenerateIndexandgenerateGlossaryfunctions read existing markdown documentation within thedocs/knowledgedirectory. - Boundary markers: Ingested content is placed within Markdown templates using headers and blockquotes, though it lacks explicit instructions to the agent to ignore embedded commands within that content.
- Capability inventory: The skill performs filesystem writes (
mkdir,writeFile) to manage the knowledge base structure and documents. It does not perform network operations or active code execution. - Sanitization: The
createfunction inlib.tssanitizes document names and category paths using regex (/[^a-zA-Z0-9\-_]/gand/[^a-zA-Z0-9\-_/]/g) to prevent path traversal attacks.
Audit Metadata