T09 · Insecure Skill Coding Practices
- Location
SKILL.md:51- Finding
Unquoted User-Controlled Prefix Can Cause Shell Command Injection
- Content
View full analysis
- ``` ``` `SKILL.md:98-108` ```bash # intake <-> analyzer: pilotctl --json handshake -analyzer "setup: feedback-collector" pilotctl --json handshake -intake "setup: feedback-collector" # analyzer <-> router: pilotctl --json handshake -router "setup: feedback-collector" pilotctl --json handshake -analyzer "setup: feedback-collector" ``` `README.md:31-42` ```bash # On server 1 (feedback intake) clawhub install pilot-stream-data pilot-chat pilot-archive pilotctl set-hostname -intake # On server 2 (sentiment analyzer) clawhub install pilot-event-filter pilot-metrics pilot-task-router pilotctl set-hostname -analyzer # On server 3 (feedback router) clawhub install pilot-alert pilot-slack-bridge pilot-webhook-bridge pilotctl set-hostname -router ``` `README.md:49-59` ```bash # intake <-> analyzer # On intake: pilotctl handshake -analyzer "setup: feedback-collector" # On analyzer: pilotctl handshake -intake "setup: feedback-collector" # analyzer <-> router # On analyzer: pilotctl handshake -router "setup: feedback-collector" # On router: pilotctl handshake -analyzer "setup: feedback-collector" ``` `README.md:70-80` ```bash # On -analyzer -- subscribe to raw feedback from intake: pilotctl subscribe -intake raw-feedback # On -router -- subscribe to scored feedback: pilotctl subscribe -analyzer scored-feedback # On -intake -- publish raw feedback: pilotctl pub ...[truncated 2217 chars]- Remediation
View remediation
