T09 · Insecure Skill Coding Practices
- Location
SKILL.md:14- Finding
Bitwarden Session Secret Persisted in a Shell Startup File
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is a simple Bitwarden CLI helper, but it tells users to persist a vault session secret in a shell startup file.
Review carefully before installing. If you use it, do not save BW_SESSION in ~/.zshrc or any shell profile; unlock Bitwarden only for the current shell, unset BW_SESSION when finished, and lock the vault after use.
SKILL.md:14Bitwarden Session Secret Persisted in a Shell Startup File
The skill explicitly instructs users to keep the Bitwarden session token in the BW_SESSION environment variable persisted in ~/.zshrc, which stores a reusable secret in a shell startup file. Shell RC files are long-lived, commonly readable by local processes or exposed through backups, dotfile sync, screenshots, support bundles, or accidental sharing, so compromise of that token can allow unauthorized access to the user's vault for the life of the session.
No suspicious patterns detected.