Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

kalepail/passkey-kit
next @ 1b3aa63
9
Fixes
0
CVEs
HIGH
Peak severity
50.0%
Coverage
Highlights
Auth Bypass: 7 prior fixes. Scrutinize any change in this area.
contracts/webauthn-wallet/src/lib.rs: most-fixed (4 issues). Treat as high-risk during review.
8 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Auth Bypass: Flaws in Custom Account signature and context validation allowed attackers to bypass authentication checks by mismatching or failing to consume supplied signatures during validation steps. Robust tracking and dual-loop validation are required to ensure all contexts are explicitly authorized.
Auth Bypass: Missing authorization checks (`require_auth`) on administrative or modification functions like `update_signer` permit unauthorized alterations to wallet signer state, leading to complete account takeover.
Auth Bypass: Verifying cryptographic signatures without validating their associated key expiration ledgers can permit authorization of actions using expired or revoked credentials.