Security context

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

facebook/jest
main @ f49721c
3
Fixes
0
CVEs
HIGH
Peak severity
0.0%
Coverage
Highlights
Credential Leak: 1 prior fix. Scrutinize any change in this area.
.github/workflows: most-fixed (1 issue). Treat as high-risk during review.
1 high-severity fix in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Sandbox Escape: Sandboxed test processes could exploit the global process object to communicate directly with the parent process via real IPC channels, bypassing intended test boundaries. Overriding sensitive process methods like process.send is critical to enforce isolation.
Prototype Pollution: Indirect dependencies (such as handlebars used via istanbul-api) containing prototype pollution vectors can compromise the runtime environment during test execution or coverage reporting.
Credential Leak: Default checkout actions in GitHub Workflows persist git credentials on disk, allowing potentially untrusted PR builds or malicious dependencies executing during tests to steal the GITHUB_TOKEN.