T09 · Insecure Skill Coding Practices
- Location
searxng_search.py:55- Finding
Search Queries Can Be Transmitted over Plaintext HTTP and Exposed in URLs
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This is a coherent SearXNG web-search skill whose main risk is exposing search queries to the configured search server, especially if HTTP is used.
Install only with a SearXNG instance you trust. Prefer HTTPS for non-local endpoints, avoid putting secrets or sensitive personal data in search queries, and be aware that broad prompts may trigger external search if the agent follows this skill's trigger guidance.
searxng_search.py:55Search Queries Can Be Transmitted over Plaintext HTTP and Exposed in URLs
Credentials or environment variables flow to a network sink. This is a high-confidence indicator of credential exfiltration.
})
try:
with urllib.request.urlopen(req, timeout=30) as resp:
data = json.loads(resp.read().decode())
except urllib.error.HTTPError as e:
return {"error": f"HTTP {e.code}: {e.reason}", "query": query}
The skill performs network access and depends on environment variables, but it does not declare an explicit tool scope such as permissions or allowed-tools. This creates ambiguity for the agent/runtime about what capabilities are intended, which can lead to overbroad execution or accidental access beyond what users or operators expect.
The trigger phrases are very broad, including common phrases like 'look up', 'what is', and 'google', which are likely to match many ordinary prompts. This can cause unintended invocation of a network-enabled skill, leading to privacy leakage of user prompts or unnecessary external requests when the user did not explicitly ask for web search.
No suspicious patterns detected.