Security context

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

stacks-network/stacks-core
master @ c034a78
191
Fixes
0
CVEs
HIGH
Peak severity
28.6%
Coverage
Highlights
Denial of Service: 86 prior fixes. Scrutinize any change in this area.
stacks-signer: most-fixed (21 issues). Treat as high-risk during review.
135 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 signer message processing loop previously dispatched messages to internal handlers without verifying that the sender was a valid registered signer in the active stacking set. This allowed unauthorized network actors to inject mock state machine updates.
Denial of Service: The Clarity VM deserialized untrusted, deeply nested, or oversized type signatures without strict depth or length restrictions, leading to stack overflow and out-of-memory crashes during parsing.
Auth Bypass: Nakamoto blocks and block headers were accepted or relayed with incomplete or bypassed stacker/miner cryptographic signature verifications, enabling block-spoofing and invalid parent chains.