chart-image
Pass
Audited by Gen Agent Trust Hub on Aug 11, 2026
Risk Level: SAFECOMMAND_EXECUTIONDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill invokes a Python script and the system
openutility using hardcoded absolute file paths (e.g.,/Users/ugreen/.claude/skills/chart-image/scripts/generate_chart.py). This creates a dependency on a specific local directory structure and may fail or behave unexpectedly on other systems. - [DATA_EXFILTRATION]: The skill transmits user-supplied chart descriptions to an external, non-whitelisted domain (
api.labnana.com) through a network request performed by thescripts/generate_chart.pyscript. While this is part of the skill's stated purpose, it involves sending potentially sensitive business logic or data to a third-party service. - [DATA_EXPOSURE]: The instructions in
SKILL.mdexpose the original author's local environment details, including their username (ugreen) and specific folder structures, which are hardcoded into the command execution paths. - [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because it incorporates untrusted user-provided descriptions directly into prompts for an external image generation model without explicit sanitization.
- Ingestion points: User-provided chart content descriptions processed in
SKILL.md(Step 2). - Boundary markers: None; user input is interpolated directly into the image generation prompt template in
scripts/generate_chart.pyvia thebuild_promptfunction. - Capability inventory: Network access (via
urllib.request), local file system writing (saving PNGs), and shell command execution (invoking Python and theopencommand). - Sanitization: The skill lacks logic to validate, filter, or escape user input before it is passed to the downstream image generation API.
Audit Metadata