Security context

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

rsksmart/rsk-powhsm
master @ 82a12d4
35
Fixes
0
CVEs
CRITICAL
Peak severity
17.2%
Coverage
Highlights
Buffer Overflow: 10 prior fixes. Scrutinize any change in this area.
middleware/admin/certificate_v2.py: most-fixed (4 issues). Treat as high-risk during review.
28 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.

Buffer Overflow: Three separate fixes address buffer overflows in DER encoding, indicating a persistent lack of bounds checking in this critical signing path.
Authentication Bypass: Multiple critical fixes show certificate validation was initially a no-op (returned True) and later lacked CRL and signature checks, allowing forged or revoked certificates.
Auth Bypass: Missing onboarding state check allowed unauthorized signing and attestation; also a buffer overflow in path copying.