Security context

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

status-im/keycard-go
develop @ c87945d
9
Fixes
0
CVEs
HIGH
Peak severity
33.3%
Coverage
Highlights
Auth Bypass: 5 prior fixes. Scrutinize any change in this area.
command_set.go: most-fixed (2 issues). Treat as high-risk during review.
6 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: Smart card APDU transport or protocol errors passed to validation functions were ignored. This allowed failed card transactions or disconnected states to be interpreted as successful authentication or execution.
Auth Bypass: Privileged applet lifecycle operations (such as loading and deleting card applications) could be executed without asserting that a secure, authenticated channel had actually been established.
Cryptographic Issues: Off-by-one errors in coordinate indexing (e.g., retrieving parity from byte 63 instead of 64) during public key compression and lack of truncation for signature components can cause verification panics or standard-compliance failures.