market-research-reports

Pass

Audited by Gen Agent Trust Hub on Sep 6, 2026

Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The script scripts/generate_market_visuals.py executes other local Python scripts to generate visualizations.
  • Evidence: The function generate_visual constructs a command list using a user-provided topic and executes it via subprocess.run(cmd, capture_output=True, text=True, timeout=120).
  • Note: While the use of an argument list (rather than shell=True) provides protection against standard shell injection, the skill relies on the downstream scripts (generate_schematic.py and generate_image.py) to handle the interpolated topic string securely.
  • [INDIRECT_PROMPT_INJECTION]: The skill's workflow involves ingesting data from external sources and interpolating it into prompts and document templates.
  • Ingestion points: Untrusted data enters the agent context via the research-lookup tool as described in Phase 1 (Step 2) of SKILL.md.
  • Boundary markers: Absent. The skill provides no instructions or markers (such as XML tags or explicit delimiters) to help the agent distinguish between its core instructions and potentially malicious content retrieved during research.
  • Capability inventory: The skill has access to Read, Write, Edit, and Bash tools, and executes sub-processes via Python scripts.
  • Sanitization: Absent. There are no instructions for sanitizing or escaping research data before it is written to .tex files or used in image generation prompts, creating a surface for injection into the report generation pipeline.
  • [DYNAMIC_EXECUTION]: The skill requires the agent to compile LaTeX documents, which involves the execution of external binaries.
  • Evidence: SKILL.md instructs the agent to run xelatex and bibtex on the generated report files in Step 9.
  • Note: This is an expected and necessary component of the skill's primary functionality (PDF generation).
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 6, 2026, 03:20 PM