T09 · Insecure Skill Coding Practices
- Location
scripts/backup.py:137- Finding
Backup encryption password exposed through GPG process arguments
- Content
View full analysis
- Remediation
View remediation
`. - Create the pipe before launching GPG, write the password through the pipe, and close both ends on every success and error path. - Ensure the password is never included in exception messages, debug output, manifests, environment diagnostics, or logs. - Consider assigning a unique encryption secret to this repository and documenting a secure password-rotation procedure. ]]>
