T09 · Insecure Skill Coding Practices
- Location
scripts/msg-sapconet.sh:9- Finding
Remote Command Injection Through Unsafely Interpolated Message
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill is mostly transparent about using SSH templates, but its message script can turn message text into unintended remote shell commands.
Review and fix scripts/msg-sapconet.sh before using it with any untrusted or variable message text. Confirm SAPCONET_TARGET points to the intended host and account, and treat these scripts as templates rather than ready-to-run production workflows.
scripts/msg-sapconet.sh:9Remote Command Injection Through Unsafely Interpolated Message
The description partly matches the code in that it references SAPCONET SSH templates, bird reads, and Puppeteer-related activity. However, the actual script primarily performs SSH connectivity/identity checks against a specific default target and a remote environment check, not actual Puppeteer runs. It also does not implement any inbox messaging workflow mentioned in the description. Because the declared purpose includes workflows that are absent, and the code accesses a specific remote host capability not clearly represented in the description, this is a description/behavior mismatch.
The inline comments state this is a placeholder for an actual SAPCONET inbox command and discuss maintaining NO_REPLY discipline for automated messages, implying message delivery behavior. In reality, the code only opens an SSH session and runs a remote echo of a TODO string, so the documented intent of inbox messaging is not what the script currently does.
No suspicious patterns detected.