article-batch-illustration

Warn

Audited by Gen Agent Trust Hub on Aug 11, 2026

Risk Level: MEDIUMDATA_EXFILTRATIONCOMMAND_EXECUTIONPROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [DATA_EXPOSURE]: The skill contains a hardcoded absolute path /Users/ugreen/Documents/obsidian/09image/ in SKILL.md. This exposes the user's local directory structure and a specific username ('ugreen'), which is a privacy risk and limits portability.
  • [COMMAND_EXECUTION]: The skill instructs the agent to construct and execute shell commands using scripts/generate_image.py. It uses unvalidated segments of user-provided articles (such as article titles and paragraph headings) to populate the --output and --prompt arguments.
  • Path Traversal Risk: Because the output_path is constructed using the article's '主题名' (subject name) and '段落名' (paragraph name), an attacker could provide an article with a title containing traversal sequences (e.g., ../../) to write images or potentially overwrite files in arbitrary locations outside the intended Obsidian directory.
  • [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because it processes untrusted data (user articles) to generate prompts for external image APIs (Category 8).
  • Ingestion points: The agent reads and analyzes Markdown articles provided by the user as the primary input.
  • Boundary markers: Absent. There are no delimiters or instructions to ignore embedded commands within the processed article sections.
  • Capability inventory: The skill can execute Python scripts, write binary data to the filesystem, and perform network requests to external APIs.
  • Sanitization: Absent. The skill does not perform any escaping, validation, or filtering of the extracted article content before interpolating it into the final image generation prompt.
  • [EXTERNAL_DOWNLOADS]: The skill makes network requests to https://api.labnana.com and https://generativelanguage.googleapis.com via the scripts/generate_image.py script. While googleapis.com is a well-known service, labnana.com is a third-party service not included in the standard trusted scope.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Aug 11, 2026, 06:43 AM
Security Audit — agent-trust-hub — article-batch-illustration