Security context

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

segmentio/analytics-next
master @ 0c4fa88
4
Fixes
0
CVEs
HIGH
Peak severity
66.7%
Coverage
Highlights
Information Disclosure: 2 prior fixes. Scrutinize any change in this area.
(js-cookie: 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.

Command Injection: Untrusted commit message directly interpolated into a bash template in CI can execute arbitrary commands on the runner, a classic high-impact injection point.
Prototype Pollution: js-cookie's assign() helper copies properties with for...in, allowing prototype pollution via crafted cookie values; the fix was a dependency bump, indicating reliance on third-party patching.
Information Disclosure: Form data in interaction signals was not redacted, leaking sensitive user input to analytics; the fix adds redaction for that field.