T09 · Insecure Skill Coding Practices
- Location
SKILL.md:138- Finding
Shell Command Injection Through Unsafe Placeholder Interpolation
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This Reddit assistant is purpose-aligned, but it tells the agent to run unresolved shell scripts and interpolate user content into Bash commands in a way that could execute unintended commands.
Review this skill before installing. Its Reddit workflows are coherent, and it does not show exfiltration, destructive behavior, or automatic Reddit posting, but it should not run as written unless the referenced scripts are included and audited, commands are invoked without shell interpolation, and users are warned before local product data and analytics logs are saved.
SKILL.md:138Shell Command Injection Through Unsafe Placeholder Interpolation
The trigger phrases are broad enough to match common user requests such as 'reddit content' or 'reddit analytics', which can cause the skill to activate when the user did not intend to invoke it. In a skill that runs shell and Python scripts on startup, unintended invocation increases the chance of unnecessary command execution, file access, and network activity without clear user intent.
The performance workflow fetches analytics from Reddit and saves updated metrics to local logs, but it does not explicitly warn the user about network access and local persistence. Even though the data is Reddit-related, silent external requests and storage can violate user expectations and organizational policies around outbound access and telemetry retention.
The setup workflow collects product details and writes them to local configuration files, but the instructions do not require informing the user that this data will be persisted. That creates a privacy and consent issue, especially if users provide sensitive business details, URLs, or internal project information assuming the exchange is ephemeral.
No suspicious patterns detected.