Security context

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

tradingview/lightweight-charts
master @ 65e78a0
4
Fixes
0
CVEs
HIGH
Peak severity
100.0%
Coverage
Highlights
Command Injection: 2 prior fixes. Scrutinize any change in this area.
src/helpers/strict-type-checks.ts: most-fixed (2 issues). Treat as high-risk during review.
4 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.

Command Injection: Shell-string execSync with interpolated environment variables and branch names allows command injection; fixed by switching to argv-array execFileSync.
Command Injection: Shell-string execSync with staged filenames allows command injection via malicious filenames; fixed by using argv-array execFileSync.
Prototype Pollution: merge() iterating over object properties without filtering dangerous keys (__proto__, constructor, prototype) and non-own properties allows prototype pollution; fixed by skipping those keys.