Security context

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

rsksmart/powpeg-node
master @ 254fb3d
9
Fixes
0
CVEs
CRITICAL
Peak severity
77.8%
Coverage
Highlights
Signature Validation Bypass: 2 prior fixes. Scrutinize any change in this area.
.github/workflows/*.yml: 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.

Signature Validation Bypass: Signing proceeds without requiring both release_requested and pegout_transaction_created logs, allowing unauthorized or incomplete transactions to be signed.
Signature Bypass: Incorrect sighash calculation when inputs have witness data can produce invalid signatures, potentially enabling unauthorized transactions.
Signature Validation Bypass: Failure to detect ERP federations leads to wrong redeem script extraction, breaking signature validation for those federations.