Skip to content

Evidence Lab v1.3.0 — OpenSSF Best Practices

Choose a tag to compare

@dividor dividor released this 31 Mar 03:43
· 1095 commits to main since this release
2681d3b

Evidence Lab v1.3.0

v1.3.0 is a security and code quality release focused on achieving the OpenSSF Best Practices 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


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 requests calls in scripts — resolves Bandit B113

Type Safety (#248)

  • Removed --no-strict-optional from mypy — full Optional/None checking now enforced across the entire codebase
  • Fixed all resulting mypy errors across 44 files: ws.active None guards, Sequence vs list annotations, implicit Optional parameters, return type mismatches
  • Extended mypy exclude to scripts/ and alembic/ in pre-commit config — fixes CI --all-files failures

⬆️ Upgrading

No database migrations in this release. No configuration changes required.

Full diff: v1.2.0...v1.3.0