T09 · Insecure Skill Coding Practices
- Location
references/rule-recommendation-guide.md- Finding
Attacker-controlled event fields are inserted into executable shell recommendations without escaping
- Content
View full analysis
Impact
If an observed value containing shell syntax is retained, executing the generated recommendation can run local commands unrelated to the authorized WAF change. For example, a User-Agent signature containing sqlmap$(Start-Process calc.exe) would invoke PowerShell command substitution when inserted unquoted. The guide also explicitly recommends matching shell operators in command-injection payloads, making unsafe characters relevant to the normal workflow.
