T09 · Insecure Skill Coding Practices
- Location
SKILL.md:217- Finding
Command Injection Through Untrusted Shell Command Interpolation
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill does what it advertises, but it gives agents broad web-scraping, background-task, local-write, and shell-download instructions without enough safety controls.
Install only if you are comfortable with an agent browsing supplied sites, spawning background extraction tasks, downloading remote assets, and writing files into your project. Prefer using it in a restricted workspace and network environment, and avoid running it on untrusted or attacker-controlled sites until URL validation, filename sanitization, allowlists, and explicit confirmation controls are added.
SKILL.md:217Command Injection Through Untrusted Shell Command Interpolation
SKILL.md:93Unrestricted URL Navigation and Asset Retrieval Enables SSRF
The skill directs broad scraping, parallel extraction, and local persistence of large amounts of remote content without an upfront warning about resource usage, storage impact, legal/compliance considerations, or the fact that it will create files and perform many network requests. In context, this can lead users to trigger high-impact actions unintentionally and increases the chance of unsafe or unauthorized data collection.
The skill instructs execution of shell commands that incorporate values derived from user-supplied URLs and dynamically discovered asset URLs, including mkdir and curl. Without strict validation, normalization, and safe argument construction, this creates command-injection and unsafe filesystem-write risks, especially when prompts or implementations interpolate hostile values into shell commands.
The manifest description presents the skill primarily as a website asset/content extractor. The implementation goes beyond pure extraction by performing extensive local filesystem modification: creating directory trees, writing JSON manifests, and downloading copies of remote assets to disk. While related to scraping, this behavior is broader than a simple extraction/read-only interpretation of the description.