baoyu-xhs-images
Warn
Audited by Gen Agent Trust Hub on Jul 13, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill instructions in
references/codex-imagegen.mddirect the agent to construct and execute shell commands to run a wrapper script. The path to this script is determined dynamically at runtime by walking the directory structure or reading environment variables likeBAOYU_CODEX_IMAGEGEN_BIN. - Evidence: The skill provides templates for execution such as
bun <WRAPPER>/main.tsand${BUN_X} <baoyu-image-gen-base>/scripts/main.ts. - Risk: Dynamic path resolution and shell execution can lead to arbitrary command execution if the environment or inputs are manipulated.
- [EXTERNAL_DOWNLOADS]: The skill describes a fallback mechanism that uses
npxto runbun, which may trigger the download of external packages from the npm registry at runtime. - Evidence:
npx -y bun <WRAPPER>/main.tsis explicitly listed as a last-resort invocation method inreferences/codex-imagegen.md. - [INDIRECT_PROMPT_INJECTION]: The skill possesses a surface for indirect prompt injection as it ingests untrusted user data to generate image prompts and execute generation tools.
- Ingestion points: The skill reads user-supplied text for infographic content and processes external image files via the
--refflag (documented inSKILL.md). - Boundary markers: Absent. The
references/workflows/prompt-assembly.mdguide shows direct interpolation of content into the prompt without delimiters or 'ignore' instructions. - Capability inventory: The skill has extensive capabilities, including writing files to the disk (
prompts/, images), executing shell commands (bun,npx), and calling other agent skills. - Sanitization: No evidence of sanitization, filtering, or validation was found in the prompt assembly or content analysis workflows.
Audit Metadata