ai-analyzer
Warn
Audited by Gen Agent Trust Hub on Oct 27, 2026
Risk Level: MEDIUMREMOTE_CODE_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill instructions direct the agent to execute an external Python script (
generate_ai_report.py) located at a non-bundled path (<support-root>/scripts/) to generate reports. Invoking external, unverified code on sensitive health data is a significant risk vector. - [DATA_EXFILTRATION]: The skill is designed to read and process highly sensitive Personal Health Information (PHI) and PII, including medical records (
index.json), psychiatric assessments (PHQ-9/GAD-7), and medication logs. The "Privacy Protection" section explicitly notes that data may be transmitted to external services for processing, which constitutes a potential exfiltration pathway. - [INDIRECT_PROMPT_INJECTION]: The skill ingests data from multiple external sources that could be influenced by a third party or the user.
- Ingestion points: Reads data from
data/profile.json,data/index.json,data-example/fitness-tracker.json,data-example/sleep-tracker.json,data-example/nutrition-tracker.json, anddata-example/mental-health-tracker.json(SKILL.md). - Boundary markers: The skill contains a warning to "escape untrusted text" when generating HTML, which acts as a partial boundary for output, though specific input markers are absent.
- Capability inventory: Uses the
Writetool to generate HTML reports and updates history files, and executes the externalgenerate_ai_report.pyscript (SKILL.md). - Sanitization: The privacy section advises escaping untrusted text during HTML generation to mitigate some risks.
- [DYNAMIC_EXECUTION]: The skill uses a separate Python script to generate interactive HTML reports featuring ECharts and Tailwind CSS, involving the runtime assembly and execution of content derived from multiple health data inputs.
Audit Metadata