Repository navigation
🔒 Security Release
This release addresses security findings from a comprehensive audit per CVE, MITRE ATT&CK, NIST FIPS, and CMMC 2.0 frameworks.
Breaking Changes
- JWT Secret Required: The CSM_JWT_SECRET environment variable is now required for API authentication
- Password Reset Required: Users with existing accounts will need to reset their passwords
Security Improvements
- Password Hashing: Upgraded from SHA-256 to Argon2id (OWASP recommended)
- JWT Secret: Removed insecure development fallback
- Salt Storage: Now embedded in PHC-format hash
Migration Guide
- Generate a secure JWT secret: openssl rand -base64 32
- Set CSM_JWT_SECRET environment variable before starting the API
- Notify users to reset their passwords
Dependencies
- Added: argon2 0.5
- Removed: sha2 0.10