T09 · Insecure Skill Coding Practices
- Location
scripts/seo_audit.py:97- Finding
Unrestricted URL Fetching Enables Server-Side Request Forgery
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This is a normal SEO audit skill, but its optional script can make unrestricted network requests to any supplied URL without internal-address or response-size limits.
Review before installing in environments with access to internal networks, cloud metadata services, or shared resources. Use it only where outbound requests are sandboxed, and prefer adding URL validation, redirect validation, private-address blocking, and response-size limits before enabling the bundled script.
scripts/seo_audit.py:97Unrestricted URL Fetching Enables Server-Side Request Forgery
scripts/seo_audit.py:97Unbounded HTTP Response Download Enables Resource Exhaustion
The skill instructs use of network-capable tools (web_fetch and web_search) and even references running a local script, but it declares no explicit tool scope or permissions boundary. That increases the chance the agent can perform unintended outbound requests or invoke broader capabilities than the author intended, which matters because the input URL/domain is user-controlled and external content is adversarial.
The manifest says the skill should be used for 'any website or URL' and lists broad triggers such as 'audit my site', 'improve rankings', and 'meta tags'. These phrases are common in ordinary SEO-related conversation and the file does not provide exclusion conditions or tighter activation boundaries, increasing the risk of unintended invocation.
The script performs outbound requests to a fully user-supplied URL using urllib without validation, allowlisting, or any warning that network access will occur. In an agent setting, this creates an SSRF-style risk: an attacker can induce requests to internal services, cloud metadata endpoints, localhost, or other sensitive network locations reachable from the execution environment.