Evidence Lab v1.3.0 — OpenSSF Best Practices
v1.3.0 is a security and code quality release focused on achieving the OpenSSF Best Practices (opens in a new tab) baseline badge. It hardens the CI pipeline, enforces stricter static analysis, documents cryptographic practices, and raises the bar on code quality tooling throughout the project.
📋 Full changelog: CHANGELOG.md (opens in a new tab)
What’s Changed
OpenSSF Best Practices (#246, #247, #248, #249)
- Achieved OpenSSF Best Practices baseline badge
- Upgraded Bandit to 1.9.4, raised severity threshold to MEDIUM+HIGH — blocks merges on any medium or high severity finding
- Added coverage reporting to CI unit test runs
- Documented cryptographic algorithms in SECURITY.md (TLS, Argon2id, bcrypt, Fernet, SHA-256, HS256)
- Added explicit contribution standards to CONTRIBUTING.md
- Corrected mypy documentation across CLAUDE.md and CONTRIBUTING.md
Security & CI Hardening
- Explicitly enforce TLS 1.2+ minimum in Caddyfile — rejects TLS 1.1 and below (#249)
- Set
permissions: {}default at CI workflow level — all jobs default to no GitHub token permissions; jobs requiring access declare them explicitly - Added request timeouts to all
requestscalls in scripts — resolves Bandit B113
Type Safety (#248)
- Removed
--no-strict-optionalfrom mypy — fullOptional/Nonechecking now enforced across the entire codebase - Fixed all resulting mypy errors across 44 files:
ws.activeNone guards,Sequencevslistannotations, implicit Optional parameters, return type mismatches - Extended mypy exclude to
scripts/andalembic/in pre-commit config — fixes CI--all-filesfailures
⬆️ Upgrading
No database migrations in this release. No configuration changes required.
Full diff: https://github.com/dividor/evidencelab/compare/v1.2.0...v1.3.0 (opens in a new tab)