T09 · Insecure Skill Coding Practices
- Location
price-watch-SKILL.md:42- Finding
Unrestricted Product URL Fetching Permits SSRF-Style Access
- Content
View full analysis
" }, "sessionTarget": "isolated", "wakeMode": "now", "payload": { "kind": "agentTurn", "message": "Run price-watch. Read {baseDir}/watchlist.md and {baseDir}/config.md. For each active item: fetch current price using web_fetch on stored URL or web_search for product. Compare to target price and last price. Alert if: price at or below target, price dropped 5%+ since last check, stock low, or sale detected. Update watchlist.md with new prices. Exit silently if no alerts.", "lightContext": true } } ``` ### Technical Analysis The skill accepts an arbitrary URL, persists it in `watchlist.md`, and directs `web_fetch` to retrieve it during both initial registration and subsequent scheduled checks. No controls are specified for: - URL scheme validation. - Loopback, private, link-local, multicast, or reserved IP ranges. - Cloud instance metadata endpoints. - Embedded credentials in URLs. - DNS rebinding. - Redirects from an approved public address to a private address. - Restriction to known product or commerce domains. If `web_fetch` has network a ...[truncated 1488 chars]- Remediation
View remediation
