Skip to content

v1.11.0 — Audit quick wins: hardening + performance

Choose a tag to compare

@ecamuto ecamuto released this 19 Jul 16:37
· 78 commits to main since this release

Closes the audit roadmap "Weeks 1–3" quick wins plus the first short-term items (S-3, S-5).

Security

  • CSV formula-injection neutralization in run and test-library exports.
  • Password policy raised to 12–128 chars with common-password blocklist and own-identifier rejection — enforced on register, change, reset, and admin create. Existing passwords unaffected.
  • Fresh installs get a random first-boot admin password (printed once in the server log) instead of admin/admin; ADMIN_INITIAL_PASSWORD to choose it, demo default only under DEMO_MODE.
  • Attachment uploads restricted to a test-evidence extension allow-list (.html/.svg excluded); downloads force safe MIME + nosniff.
  • App-wide same-origin CSP, X-Content-Type-Options: nosniff, Referrer-Policy: same-origin.

Performance

  • Indexes on hot run_cases / tests / defects filter columns (Alembic a7c3e9f14b02).
  • /api/initial-data requirement coverage: one query instead of one per requirement (up to 500 fewer per app load).

Changed

  • PostgreSQL is the documented production database; SQLite stays the eval/small-install default with a boot-time warning in production. Compose reads POSTGRES_PASSWORD from env.

Tooling

  • Pinned requirements.lock + make lock; CI installs from the lock; pip-audit CVE scan job; grouped monthly Dependabot.
  • make clean-data; README test-count badges derived from the tree and CI-gated.

Full details in CHANGELOG.md.

🤖 Generated with Claude Code