Skip to content

v1.2.0 - Security Hardening

Latest

Choose a tag to compare

@admercs admercs released this 14 Jan 00:48
· 44 commits to master since this release

🔒 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

  1. Generate a secure JWT secret: openssl rand -base64 32
  2. Set CSM_JWT_SECRET environment variable before starting the API
  3. Notify users to reset their passwords

Dependencies

  • Added: argon2 0.5
  • Removed: sha2 0.10