T09 · Insecure Skill Coding Practices
- Location
SKILL.md:13- Finding
Unrestricted Gateway URL Can Disclose Bearer Tokens and Sensitive Content
- Content
View full analysis
- Remediation
View remediation
` and `https://[::1]:`. 3. If remote Gateways are supported, require an explicit host allowlist and separate user approval. 4. Resolve hostnames and reject destinations that resolve outside the approved address range. 5. Disable redirects with `curl --max-redirs 0`, or validate every redirect destination before forwarding credentials. 6. Use separate scoped credentials for sessions, chat proxying, and identity synchronization. 7. Require explicit user approval before transmitting identity, memory, user-profile, or log content. 8. Redact secrets from synchronized files and provide a preview of every outbound sensitive payload. 9. Provide token revocation and short-lived token support rather than relying on one broad 90-day credential. ]]>
