Security context

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

libp2p/go-libp2p-core
master @ 654214c
7
Fixes
0
CVEs
HIGH
Peak severity
85.7%
Coverage
Highlights
Auth Bypass: 2 prior fixes. Scrutinize any change in this area.
crypto: most-fixed (2 issues). Treat as high-risk during review.
2 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.

Signature Malleability: Inadequate verification of signed envelopes allows peer records to be accepted with mismatched or incorrect keys, undermining the authenticity of peer routing and metadata in the network.
Auth Bypass: Key equality checks (Equals) that fail to verify that the key types match can lead to authentication bypasses when comparing disparate cryptographic key types.
Cryptographic Issues: ECDSA key comparison logic that compares only coordinate points while neglecting the underlying elliptic curve parameters allows distinct keys on different curves to be treated as identical.