clinical-decision-support
Pass
Audited by Gen Agent Trust Hub on Aug 17, 2026
Risk Level: SAFE
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/generate_schematic.pyusessubprocess.runto executescripts/generate_schematic_ai.py. This is used to modularize the logic for AI-powered schematic generation. The command is passed as a list of arguments rather than a shell string, which is the recommended security practice to mitigate shell injection vulnerabilities. - [EXTERNAL_DOWNLOADS]: The skill requires standard, well-known Python libraries for its core functionality, including
pandas,numpy,scipy,lifelines, andmatplotlib. These are reputable packages from the official PyPI registry, widely trusted in the scientific community. - [DATA_EXFILTRATION]:
scripts/generate_schematic_ai.pycommunicates withopenrouter.ai, which is recognized as a well-known service for AI model connectivity. The script uses an API key supplied via environment variables (OPENROUTER_API_KEY) to authenticate requests for image generation and review. This behavior is entirely consistent with the skill's stated purpose of providing publication-quality medical schematics. - [INDIRECT_PROMPT_INJECTION]: The skill possesses a data ingestion surface through patient cohort CSV files and user-defined schematic descriptions. 1. Ingestion points:
scripts/biomarker_classifier.pyandscripts/create_cohort_tables.pyingest CSV data;scripts/generate_schematic.pytakes CLI prompts. 2. Boundary markers: The LLM prompts inscripts/generate_schematic_ai.pyprovide clear instructions but lack explicit boundary markers for user-supplied content. 3. Capability inventory: Includes local command execution viasubprocess.run, file system writes for LaTeX/PNG, and network requests viarequests.post. 4. Sanitization: Thescripts/validate_cds_document.pytool provides automated quality and compliance checks on the final generated documents, including HIPAA de-identification verification.
Audit Metadata