Skip to content

v0.2.0 — Security hardening

Choose a tag to compare

@TheSecuredAnalyst TheSecuredAnalyst released this 10 Jul 13:15
· 21 commits to main since this release

A hardening release focused on trustworthiness: two real security fixes, green CI, supply-chain scanning, and a large jump in test coverage. Full details in CHANGELOG.md.

🔒 Security fixes

  • Guardrail bypass fixed — secsuite audit remediate executed AI-generated and operator-entered shell commands without the guardrails safety analyzer (the destructive-command blocklist: rm -rf, dd, fork bombs…). Every command now passes through guardrails.validate_script() before execution.
  • API auth fixed — the X-API-Key gate raised HTTPException inside middleware and surfaced as an uncaught 500 instead of 401. It now returns a proper 401, and uses secrets.compare_digest to prevent timing attacks.

➕ Added

  • Supply-chain security tooling: SECURITY.md, Dependabot, CodeQL, and a Security workflow (pip-audit + bandit).
  • 54 new tests. Coverage rose from 10.8% → 19.3% (guardrails 0→95.8%, compliance 0→98.8%, password 0→100%, SIEM 0→94.8%, API server 0→90.9%).

🔧 Changed

  • CI lint is green (984 → 0 ruff findings); mypy runs again.
  • Exception chaining, dead-code removal, and timezone-aware datetimes.

Full Changelog: v0.1.0...v0.2.0