Security context

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

perlin-network/noise
master @ a2ae1d2
5
Fixes
1
CVEs
HIGH
Peak severity
Highlights
Auth Bypass: 4 prior fixes. Scrutinize any change in this area.
client.go: most-fixed (1 issue). Treat as high-risk during review.
5 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: The server could process signed protobuf messages without confirming that the message sender's public key matched the connected client's authenticated identity, leading to identity spoofing.
Auth Bypass: Handshake signatures and public keys were verified without enforcing strict length checks, creating potential avenues for authentication bypass due to malformed cryptographic inputs.
Signature Malleability / Bypass: The lack of public key size validation before calling the underlying Ed25519 verification function could allow malformed or unexpected key sizes to bypass signature checks.