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: harden authz layer with cycle detection, SRL, and issuance bounds
Security hardening based on deep review of the capability-token design
space:
- chain: reject duplicate warrant ids in a delegation chain (cycle
detection); distinct-id re-entry (A->B->A) remains allowed.
- warrant: enforce unknown-extension-key rejection on decode (was dead
code); add 128-bit UUIDv7 warrant-id generation with full entropy.
- pop: bind tool-call arguments into the PoP tuple (tool_args_digest) for
confused-deputy defense; order-independent canonical digest.
- constraint: add validate_attenuation (decidable subset check) and
issuance-time static attenuation in DelegatedWarrantBuilder via
with_merchant/with_resource/with_payment/with_tool narrowers.
- issue_bounds: control-plane defense-in-depth constraining what a holder
may delegate (merchant/asset/rail/scheme/payee/cap ceilings), carried in
the reserved ledgerflow.issue_bounds extension.
- srl: add Signed Revocation List (versioned, anti-rollback, additive) in
core, and SrlSync bridging it onto the persistent FileRevocationStore for
multi-node SaaS revocation propagation.
- Add security_hardening (19 tests) and srl_sync_behaviors (3 tests); all
new code paths covered by mutation testing (0 surviving mutants).
0 commit comments