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 open utility 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 the scripts/generate_chart.py script. 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.md expose 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.py via the build_prompt function.
  • Capability inventory: Network access (via urllib.request), local file system writing (saving PNGs), and shell command execution (invoking Python and the open command).
  • Sanitization: The skill lacks logic to validate, filter, or escape user input before it is passed to the downstream image generation API.
Audit Metadata
Risk Level
SAFE
Analyzed
Aug 11, 2026, 06:43 AM
Security Audit — agent-trust-hub — chart-image