T09 · Insecure Skill Coding Practices
- Location
scripts/robots_txt_gen.py:313- Finding
Server-Side Request Forgery Through Unrestricted Remote robots.txt Validation
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This robots.txt helper is mostly coherent, but its remote validation command can fetch arbitrary URLs from the agent environment without network or size limits.
Install only if you are comfortable with the skill making outbound HTTP requests when validating remote robots.txt files. Avoid using validate --url on untrusted or user-supplied URLs, especially in environments with access to internal services or cloud metadata endpoints; prefer validating local files or running it in a network-restricted sandbox.
scripts/robots_txt_gen.py:313Server-Side Request Forgery Through Unrestricted Remote robots.txt Validation
Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.
for a in current_agents:
rules.setdefault(a, []).append((directive, value))
return rules
def _check_url(rules, agent, url):
"""Check if url is allowed for agent. Returns True if allowed."""
The skill documentation describes capabilities that read local files, write output files, and fetch remote URLs, but it does not declare any explicit tool scope or permission boundaries. In an agent environment, this can lead to over-broad execution privileges, making it easier for the skill to access sensitive files or perform unintended network requests if invoked with attacker-controlled inputs.
No suspicious patterns detected.