The skill allows arbitrary shell command execution and local file content
Claims to do
Infographic Generator: Two dimensions: **layout** (information structure) × **style** (visual aesthetics). Freely combine any layout with any style.
Actually does
This skill processes user-provided content (from a file or direct input) to generate a detailed prompt for an infographic. It reads local configuration from `EXTEND.md` and various internal reference files to analyze and structure the content. Finally, it calls an unspecified external image generation skill to produce an `infographic.png` file, performing local file operations for saving and backing up intermediate and final outputs.
The skill takes a file path as input (`path/to/content.md`) and uses user-controlled options (`--layout`, `--style`) to load content from `references/layouts/<layout>.md` and `references/styles/<style>.md`. This content, along with user-provided input, is combined to generate the final prompt for an image generation LLM, allowing arbitrary local file content to be injected into the LLM's prompt.
Combine: Layout definition from `references/layouts/<layout>.md` ... Structured content from Step 2
The skill loads preferences from `EXTEND.md` files located in user-controlled directories (project, home). If an attacker can place a malicious `EXTEND.md` file, they could define custom styles or layouts containing prompt injection payloads or other malicious configurations that are then used in prompt generation.
test -f .baoyu-skills/baoyu-infographic/EXTEND.md && echo "project"
The skill explicitly uses shell commands (`test -f`, `echo`, `Test-Path`) to check for configuration files. This demonstrates the agent's ability to execute arbitrary shell commands, which could be exploited if user input is unsafely interpolated into commands.
test -f .baoyu-skills/baoyu-infographic/EXTEND.md && echo "project"
The skill states it will 'strip any credentials, API keys, tokens, or secrets' from outputs. While this is a positive security intention, the mechanism is unspecified, and an ineffective implementation could still lead to sensitive data leakage.
strip any credentials, API keys, tokens, or secrets before including in outputs
The skill claims to 'generate infographics' but only prepares the content and creates a prompt for an infographic. The actual image generation is delegated to an external, unspecified image generation skill.
Step 6: Generate Image: '1. Select available image generation skill... 3. Call with prompt file and output path.'
[](https://mondoo.com/ai-agent-security/skills/github/jimliu/baoyu-skills/baoyu-infographic)<a href="https://mondoo.com/ai-agent-security/skills/github/jimliu/baoyu-skills/baoyu-infographic"><img src="https://mondoo.com/ai-agent-security/api/badge/github/jimliu/baoyu-skills/baoyu-infographic.svg" alt="Mondoo Skill Check" /></a>https://mondoo.com/ai-agent-security/api/badge/github/jimliu/baoyu-skills/baoyu-infographic.svgSkills can read files, run commands, and access credentials. Mondoo helps organizations manage the security risks of AI agent skills across their entire fleet.