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.py uses subprocess.run to 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.ai via the requests library in scripts/generate_schematic_ai.py to 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_KEY for 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, and timeline_generator.py read 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
Risk Level
SAFE
Analyzed
Jul 10, 2026, 04:33 PM