T09 · Insecure Skill Coding Practices
- Location
SKILL.md:17- Finding
Shell Command Injection Through Documented User-Text Interpolation
- Content
View full analysis
/tmp/tts-command-injection-proof) ``` The resulting shell command would be equivalent to: ```bash node scripts/generate_speech.js --text "Hello $(id > /tmp/tts-command-injection-proof)" --output "output.mp3" ``` ### Attack Path 1. An attacker asks the Agent to synthesize text containing shell metacharacters or command substitution syntax. 2. The Agent follows `SKILL.md` and substitutes that text into the documented shell command. 3. The Agent executes the constructed command through a shell. 4. The shell evaluates the malicious substitution before starting Nod ...[truncated 960 chars]- Remediation
View remediation
