T09 · Insecure Skill Coding Practices
- Location
skill.md:47- Finding
Plaintext API Key Stored at a Predictable Filesystem Location
- Content
View full analysis
- Remediation
View remediation
"$HOME/.config/clawdtm/credentials.json" chmod 600 "$HOME/.config/clawdtm/credentials.json" ``` 3. Instruct users not to commit the file to source control, place it in shared directories, synchronize it through untrusted services, or include it in logs and diagnostic bundles. 4. Document how users can revoke and rotate a credential after suspected exposure. 5. Recommend narrowly scoped, short-lived tokens if the service supports them. 6. Warn users to verify file ownership and permissions before using a stored credential. ]]>
