treatment-plans
Pass
Audited by Gen Agent Trust Hub on Jul 10, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/generate_schematic.pyusessubprocess.runto execute an internal Python script (generate_schematic_ai.py). This is a standard pattern for modularizing tools within a skill and does not involve arbitrary user-supplied shell command execution. - [EXTERNAL_DOWNLOADS]: The skill communicates with
openrouter.aivia therequestslibrary inscripts/generate_schematic_ai.pyto generate and review scientific diagrams. This interaction targets a well-known service aggregator for large language models and is an integral part of the schematic generation feature. - [DATA_EXFILTRATION]: The skill requires an
OPENROUTER_API_KEYfor its AI-powered features. It follows security best practices by suggesting storage in environment variables rather than hardcoding. User-supplied prompts and generated images are transmitted to the OpenRouter API as part of the intended functionality. - [PROMPT_INJECTION]: The skill presents a surface for indirect prompt injection (Category 8).
- Ingestion points: The scripts
check_completeness.py,validate_treatment_plan.py, andtimeline_generator.pyread content from local LaTeX (.tex) templates and user-created plans. - Boundary markers: No explicit boundary markers or instructions to ignore embedded commands were found in the scripts reading file content.
- Capability inventory: The skill has file read/write access and network access via the OpenRouter API.
- Sanitization: Content from the processed LaTeX files is parsed using regular expressions to extract clinical data; there is a low risk that maliciously crafted content in these files could influence the agent's logic if processed by a downstream LLM task.
Audit Metadata