Security context

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

nomicfoundation/hardhat
main @ 82efbd7
6
Fixes
0
CVEs
HIGH
Peak severity
80.0%
Coverage
Highlights
Path Traversal: 2 prior fixes. Scrutinize any change in this area.
hardhat: most-fixed (1 issue). 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.

Auth Bypass: Raw transactions could be executed on the network without signature verification, bypassing primary authorization gates prior to dispatch.
Command Injection: Running external initialization commands inside a shell wrapper allows command injection if input parameters are not completely sanitized.
Path Traversal: Unsanitized input parameters in snapshot cheatcode paths allow attackers to traverse directories and write or corrupt files outside the intended destination directory.