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
inventoryfile path passed to thedescribestep indraft.pyserves 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_textfunction indraft.py. - Sanitization: Absent. The
item_idreturned by the agent is directly interpolated into a file path string (f"{output_dir}/items/{item.item_id}.md") in thesave_recordsstep. If the agent is influenced by a malicious inventory record to output anitem_idcontaining path traversal sequences (e.g.,../../.bashrc), the skill will attempt to write to that location.
Audit Metadata