Siddharth Kumar Sah
432cc92471
feat: harden auth, security headers, SVG sanitization, and pipeline ownership
- Add password strength validation (8+ chars, uppercase, lowercase, number)
- Add username validation rules
- Optimize API key lookup with SHA-256 prefix (O(1) vs O(n) scan)
- Require password change on default admin first login
- Revoke API keys on password change
- Add session cleanup cron (hourly expired session purge)
- Add Permissions-Policy, HSTS, and CSP security headers in production
- Strengthen SVG sanitizer: block XInclude, foreignObject, processing
instructions, javascript/data/file URI schemes
- Add userId ownership to pipelines with authorization checks
- Add keyPrefix column to api_keys table
- Update integration tests for new auth behavior
2026-03-24 21:38:06 +08:00
..
2026-03-23 11:46:45 +08:00
2026-03-23 11:46:45 +08:00
2026-03-22 19:28:57 +08:00
2026-03-24 00:41:54 +08:00
2026-03-23 11:46:45 +08:00
2026-03-22 03:56:34 +08:00
2026-03-22 04:20:35 +08:00
2026-03-22 04:20:35 +08:00
2026-03-23 11:46:45 +08:00
2026-03-22 03:56:34 +08:00
2026-03-22 03:56:34 +08:00
2026-03-22 03:56:34 +08:00
2026-03-23 11:46:45 +08:00
2026-03-24 00:41:54 +08:00
2026-03-22 04:20:35 +08:00
2026-03-22 04:20:54 +08:00
2026-03-22 04:20:54 +08:00
2026-03-22 04:31:49 +08:00
2026-03-22 04:20:35 +08:00
2026-03-23 11:46:45 +08:00
2026-03-22 04:20:35 +08:00
2026-03-23 11:46:45 +08:00
2026-03-22 04:21:10 +08:00
2026-03-22 03:56:34 +08:00
2026-03-22 03:56:34 +08:00
2026-03-22 04:31:49 +08:00
2026-03-24 00:41:54 +08:00
2026-03-23 19:22:52 +08:00
2026-03-24 21:38:06 +08:00
2026-03-22 04:20:26 +08:00
2026-03-23 11:46:45 +08:00
2026-03-22 04:20:54 +08:00
2026-03-23 11:46:45 +08:00
2026-03-23 11:46:45 +08:00