Security context

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

aschplatform/asch
develop @ eb42c76
12
Fixes
0
CVEs
CRITICAL
Peak severity
10.0%
Coverage
Highlights
Auth Bypass: 4 prior fixes. Scrutinize any change in this area.
src/contract/basic.js: most-fixed (3 issues). Treat as high-risk during review.
10 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: A critical cryptographic signature verification flaw existed where the second signature check passed the wrong parameter, allowing attackers to completely bypass second-signature verification and process unauthorized transactions.
Sandbox Escape: The use of a child_process spawn model for running untrusted decentralized applications allowed escape vectors leading to host command execution, necessitating a shift to a VM-based sandbox.
Arithmetic Overflow/Underflow: Lack of strict checks on numeric parameters like transfer amount and height allowed negative-value inputs, exposing the contract state to unauthorized balance modifications and underflow/overflow exploits.