treatment-plans
Pass
Audited by Gen Agent Trust Hub on Jun 29, 2026
Risk Level: SAFE
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/generate_schematic.pyusessubprocess.runto call an internal helper script (generate_schematic_ai.py). The command is executed using a list of arguments without a shell, which prevents command injection vulnerabilities. - [EXTERNAL_DOWNLOADS]: The
scripts/generate_schematic_ai.pyscript makes network requests toopenrouter.aito interface with Gemini models for generating and reviewing scientific diagrams. This is a well-known service, and the activity is consistent with the skill's stated functionality. - [PROMPT_INJECTION]: The schematic generation feature in
scripts/generate_schematic_ai.pyinterpolates user-provided descriptions directly into an API prompt. While this presents an indirect prompt injection surface where a user could attempt to influence the image generation instructions, the scope of impact is limited to the AI-generated schematic output. - Ingestion points: User-provided 'prompt' argument in
scripts/generate_schematic.pyandscripts/generate_schematic_ai.py. - Boundary markers: The prompt is delimited within larger instruction templates using labels like 'USER REQUEST'.
- Capability inventory: Uses
requests.postto communicate with external APIs andsubprocess.runfor local script execution. - Sanitization: No explicit sanitization of the user prompt is performed before interpolation.
- [CREDENTIALS_UNSAFE]: The skill requires an
OPENROUTER_API_KEY, which is correctly managed via environment variables and prompted for during setup, following standard security best practices for secret management.
Audit Metadata