T09 · Insecure Skill Coding Practices
- Location
README.md:50- Finding
Documentation Encourages Users to Submit API Credentials Through Chat
- Content
View full analysis
- Remediation
View remediation
Never paste `MINDGRAPH_TOKEN` or `MINDGRAPH_ACCOUNT` into chat. Chat content may be retained in transcripts, telemetry, or diagnostic logs. 5. Redact authentication headers, account identifiers, and signed image URLs from application, proxy, and tool logs. 6. Treat signed PNG URLs as temporary bearer capabilities. Restrict them to the configured HTTPS MindGraph origin, use short expiration periods, avoid displaying them as plain text, and do not persist them in logs. 7. If credentials have already been entered into chat: - Regenerate the API token immediately. - Delete the affected conversation where supported. - Clear relevant client and diagnostic logs. - Review server-side token audit logs for unexpected paths or client sources. 8. Consider using separately scoped, revocable API tokens with only the diagram operations required by this Skill. ]]>
