T09 · Insecure Skill Coding Practices
- Location
privacy-anonymize.sh:17- Finding
Unsafe JSON Construction Permits Ollama Request Manipulation
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This privacy skill is coherent but needs Review because it can send raw sensitive text to a configurable Ollama endpoint without destination or transport controls.
Install only if you control the Ollama endpoint. Keep OLLAMA_URL on localhost or a trusted encrypted endpoint, avoid feeding secrets until the JSON construction is fixed with a serializer such as jq, and be cautious about enabling cron or HEARTBEAT-style automatic processing of memory or workspace content.
privacy-anonymize.sh:17Unsafe JSON Construction Permits Ollama Request Manipulation
privacy-anonymize.sh:3Raw Sensitive Data Can Be Transmitted to an Unrestricted Plaintext Endpoint
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
exit 1
fi
if ! curl -s --max-time 10 --fail "$OLLAMA_URL/v1/models" >/dev/null 2>&1; then
echo "Error: Ollama unavailable at $OLLAMA_URL" >&2
exit 1
fi
The script sends the full raw user input to an Ollama chat-completions endpoint before any local sanitization or explicit disclosure to the user. Even if the default URL is localhost, the endpoint is configurable via OLLAMA_URL and may point to a remote service, creating a real risk of transmitting sensitive PII off-host without clear consent or transport guarantees.
No suspicious patterns detected.