Skip to content

Add compliance test suite for security invariants#9

Merged
maxmalkin merged 1 commit intomainfrom
add-compliance-tests
Feb 26, 2026
Merged

Add compliance test suite for security invariants#9
maxmalkin merged 1 commit intomainfrom
add-compliance-tests

Conversation

@maxmalkin
Copy link
Owner

@maxmalkin maxmalkin commented Feb 26, 2026

Summary

Adds a comprehensive compliance test suite with 64 tests verifying critical security invariants:

  • token_security (12 tests): Token canonical bytes, hash comparison, expiry/empty validation
  • behavioral_envelope (11 tests): Rate limiting, burst limits, human presence requirements
  • dpop_binding (8 tests): DPoP proof generation, JTI uniqueness, thumbprint determinism
  • nonce_replay (6 tests): Nonce uniqueness, length, entropy, replay detection
  • capability_boundary (12 tests): Capability validation, manifest boundary enforcement
  • audit_integrity (19 tests): Hash chain integrity, tamper detection, event ordering

@maxmalkin maxmalkin merged commit 23cac68 into main Feb 26, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant