You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(vault): v0.15.0 — final mile security hardening (88 -> 100/100)
6 fixes from Sitecast Wizard security-final-mile assessment:
FIX-1: Membrane blocks quarantined content (+3 pts)
- FAIL result now rejects outright (raises VaultError)
- Quarantined resources excluded from get_content()
- Adversarial status set to SUSPICIOUS on quarantine
FIX-2: Persist adversarial status from Membrane (+2 pts)
- Integrated into FIX-1: quarantine writes adversarial_status
to storage via ResourceUpdate
FIX-3: PostgreSQL SSL enforcement (+3 pts)
- SSL enabled by default on asyncpg pool
- New config: postgres_ssl (default True), postgres_ssl_verify
- sslmode=disable in DSN overrides to plaintext
FIX-4: SQLite file permissions (+2 pts)
- New databases created with 0600 (owner-only rw)
- WAL and SHM files also restricted
FIX-5: Provenance auto-verify on self-sign (+1 pt)
- Self-signed attestations now signature_verified=True
- Previously defaulted to False even when we just signed it
FIX-6: ML-KEM-768 FIPS KAT (+1 pt)
- Roundtrip test: generate, encapsulate, decapsulate
- Tamper test: modified ciphertext must not match
- Wired into run_all_kat()
Version: 0.15.0. Verified: ruff 0, mypy strict 0, 520 tests passing.
0 commit comments