baoyu-article-illustrator
Warn
Audited by Gen Agent Trust Hub on Jul 13, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill dynamically discovers and executes local scripts for image generation based on environment variables or directory traversal. In
references/codex-imagegen.md, it searches forpackages/baoyu-codex-imagegen/src/main.tsand executes it viabun, and also honors the$BAOYU_CODEX_IMAGEGEN_BINenvironment variable for execution. - [EXTERNAL_DOWNLOADS]: The skill uses
npx -y bunas a fallback mechanism to execute the image generation wrapper, which involves downloading thebunpackage from the public NPM registry. - [PROMPT_INJECTION]: The skill incorporates untrusted article data into image generation prompts, representing an indirect prompt injection risk. Ingestion points: User-provided article content processed during the analysis phase (detailed in
references/workflow.mdStep 2). Boundary markers: None identified in the prompt templates; labels are interpolated without explicit instructions to the generator to ignore embedded commands. Capability inventory: Shell command execution for backends and image generation via theSkilltool. Sanitization: No sanitization or escaping of the interpolated article text is described in Step 5.1 ofreferences/workflow.md.
Audit Metadata