hypothesis-generation

Pass

Audited by Gen Agent Trust Hub on Jul 12, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The script scripts/generate_schematic.py uses subprocess.run to execute a local helper script (generate_schematic_ai.py). This is a legitimate use of subprocesses for modularizing the skill's Python logic and does not involve shell execution of unsanitized input.
  • [EXTERNAL_DOWNLOADS]: The skill makes outgoing network requests to openrouter.ai via the requests library. This is the intended behavior for the schematic generation feature, which uses external AI models to create and critique scientific diagrams.
  • [DATA_EXFILTRATION]: User-provided diagram descriptions and generated image data are transmitted to the OpenRouter API. As OpenRouter is a well-known AI service and the data transmission is essential for the tool's functionality, this is documented and considered a safe operation.
  • [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection due to its workflow of ingesting and synthesizing untrusted scientific literature from the web.
  • Ingestion points: External data enters the agent context via WebFetch (PubMed) and WebSearch (general scientific domains) during the literature search phase.
  • Boundary markers: The provided instructions do not include specific delimiters or 'ignore' instructions for the retrieved content.
  • Capability inventory: The agent possesses the capability to execute shell commands (Bash for LaTeX compilation) and run Python scripts that manage subprocesses.
  • Sanitization: There is no evidence of explicit sanitization or filtering of the external literature text before it is interpolated into the LaTeX report template or passed to the schematic generation tool.
Audit Metadata
Risk Level
SAFE
Analyzed
Jul 12, 2026, 03:13 PM