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.pnginSKILL.mduses 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 inSKILL.mdbut 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
WebSearchandWebFetchtools (as described inSKILL.mdunder Literature Search). - Boundary markers: While the
assets/hypothesis_report_template.texprovides 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
Bashfor executing shell commands and Python scripts, as well asWritefor modifying files andReadfor 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.mdfile encourages the user to download and install external LaTeX packages using thetlmgrpackage manager (e.g.,tlmgr install tcolorbox xcolor natbib). While these are standard scientific packages, they represent external dependencies fetched from remote repositories.
Audit Metadata