literature-review

Pass

Audited by Gen Agent Trust Hub on Nov 12, 2026

Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The scripts/generate_pdf.py script uses subprocess.run to execute system commands for pandoc and xelatex. While it uses argument lists to reduce shell injection risks, it processes user-supplied file paths from the command line, which could lead to argument injection if the underlying tools handle specific filenames as flags.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted external data in the form of paper titles, abstracts, and metadata from academic databases (PubMed, arXiv, bioRxiv, etc.). This data is interpolated into the agent's context during the synthesis and literature review writing phases without specific boundary markers or sanitization, creating a potential surface for indirect prompt injection.
  • Ingestion points: scripts/search_databases.py (JSON search results) and scripts/verify_citations.py (markdown files containing external metadata).
  • Boundary markers: None identified. The skill does not provide explicit instructions to the agent to ignore instructions embedded within the research data it processes.
  • Capability inventory: The skill has allowed-tools including Bash, Write, and Edit. It also contains scripts capable of system command execution (generate_pdf.py) and network requests (verify_citations.py).
  • Sanitization: External content is incorporated into markdown and PDF documents without escaping or filtering for potential adversarial instructions.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 12, 2026, 11:32 PM