T09 · Insecure Skill Coding Practices
- Location
SKILL.md:31- Finding
Plaintext Persistence of Credentials and Sensitive Account Information
- Content
View full analysis
- ``` `setup-hook.md:31-32`: ```json "type": "prompt", "prompt": "Compression complete. Please check if there's anything that needs to be written to long-term memory (user preferences, incomplete tasks, important decisions). If so, update the user's memory file in the format of ~/.claude/skills/context-compression/memory-template.md.", ``` ### Technical Analysis The skill explicitly classifies credentials, account information, paths, and configuration as content that must be preserved. It subsequently instructs the agent to write high-persistence information into a Markdown memory file. The supplied template provides a dedicated section for account, path, and configuration information, while the optional PostCompact hook prompts the agent to perform this persistent update after compression. No controls are specified for: - Detecting or redacting passwords, API keys, private keys, access tokens, session cookies, recovery codes, or similar secr ...[truncated 2402 chars]- Remediation
View remediation
