memory-literary-analysis
Pass
Audited by Gen Agent Trust Hub on Nov 12, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill defines a pipeline for processing external, potentially untrusted text files (literary works) which are then parsed into structured notes and observations. This creates a surface where malicious instructions embedded in a book file could influence agent behavior.
- Ingestion points: The skill reads source text using
bm cat <source>.txtand shell utilities as documented in SKILL.md (Phase 2). - Boundary markers: There are no instructions to utilize XML tags, delimiters, or specific system-level warnings to ignore potential instructions embedded within the literary text content.
- Capability inventory: The agent is instructed to use
bm_write,bm_edit, and standard shell utilities (grep,sed,jq) to create and modify the knowledge graph based on the ingested text. - Sanitization: No sanitization, escaping, or validation of the input text is performed before it is interpolated into tool calls or note content.
- [COMMAND_EXECUTION]: The skill provides sophisticated Bash script templates for the agent to execute locally, particularly for managing tool pagination and performing data integrity checks.
- Evidence: The "Coverage Checks" section in Phase 4 provides a complex script utilizing
whileloops,jqfor JSON manipulation, and shell variable interpolation to aggregate and validate tool results.
Audit Metadata