per-item-records

Pass

Audited by Gen Agent Trust Hub on Nov 21, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection because it processes untrusted data from an external inventory file and uses the resulting agent output to construct file paths.
  • Ingestion points: The inventory file path passed to the describe step in draft.py serves as the entry point for untrusted data.
  • Boundary markers: Absent. The agent prompt (Describe every item in the inventory file {inventory}) does not include delimiters, XML tags, or specific instructions to disregard instructions embedded within the inventory file content.
  • Capability inventory: The skill possesses file-write capabilities through the write_text function in draft.py.
  • Sanitization: Absent. The item_id returned by the agent is directly interpolated into a file path string (f"{output_dir}/items/{item.item_id}.md") in the save_records step. If the agent is influenced by a malicious inventory record to output an item_id containing path traversal sequences (e.g., ../../.bashrc), the skill will attempt to write to that location.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 21, 2026, 11:15 AM