hypothesis-generation

Warn

Audited by Gen Agent Trust Hub on Sep 5, 2026

Risk Level: MEDIUMCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [COMMAND_EXECUTION]: The skill instructs the agent to execute a Python script using the Bash tool with potentially unsanitized user input. Specifically, the command python scripts/generate_schematic.py "your diagram description" -o figures/output.png in SKILL.md uses a natural language description as a command-line argument. This creates a risk of command injection if the description contains shell metacharacters like backticks, semicolons, or pipes.
  • [REMOTE_CODE_EXECUTION]: The skill relies on the execution of a local script, scripts/generate_schematic.py, which is referenced in SKILL.md but was not provided for security inspection. This script is executed at runtime to generate visual elements.
  • [INDIRECT_PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection as it ingests untrusted data from external scientific sources.
  • Ingestion points: The skill reads scientific observations and external literature via the WebSearch and WebFetch tools (as described in SKILL.md under Literature Search).
  • Boundary markers: While the assets/hypothesis_report_template.tex provides a structured LaTeX format, it lacks explicit boundary markers or instructions to ignore malicious commands embedded within the scientific data it processes.
  • Capability inventory: The agent has access to Bash for executing shell commands and Python scripts, as well as Write for modifying files and Read for accessing literature.
  • Sanitization: There is no evidence of sanitization or input validation for external data before it is interpolated into LaTeX reports or passed to the figure generation script.
  • [EXTERNAL_DOWNLOADS]: The assets/FORMATTING_GUIDE.md file encourages the user to download and install external LaTeX packages using the tlmgr package manager (e.g., tlmgr install tcolorbox xcolor natbib). While these are standard scientific packages, they represent external dependencies fetched from remote repositories.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Sep 5, 2026, 11:07 AM