hypothesis-generation
Pass
Audited by Gen Agent Trust Hub on Apr 12, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection (Category 8) because it ingests untrusted scientific data (phenomenon descriptions) and interpolates it into prompts for external AI models without sanitization or boundary markers.
- Ingestion points: User-provided phenomenon descriptions are passed as the
promptargument toscripts/generate_schematic.py. - Boundary markers: Absent; user input is directly concatenated into the
USER REQUEST:section of the schematic generation and review prompts inscripts/generate_schematic_ai.py. - Capability inventory: The skill possesses
BashandWritepermissions, allowing it to execute arbitrary shell commands and modify local files if the agent is misled by malicious instructions embedded in processed data. - Sanitization: No escaping or validation is performed on the input string before it is sent to the AI backend.
- [EXTERNAL_DOWNLOADS]: The schematic generation scripts (
scripts/generate_schematic_ai.py) connect toopenrouter.aito generate and review scientific diagrams. While this is a well-known and documented service used for the skill's primary purpose, it involves sending user-provided descriptions and generated imagery to an external endpoint. - [COMMAND_EXECUTION]: The skill requires the use of the
Bashtool to run local Python scripts (scripts/generate_schematic.py) and compile LaTeX documents (xelatex,bibtex). This is standard behavior for a scientific reporting tool and is performed using safe subprocess patterns (executing specific files without shell interpolation).
Audit Metadata