Highlights
Code Injection: 1 prior fix. Scrutinize any change in this area.
lib/autoInject.js: 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.
Prototype Pollution: Iterating over user-controlled object properties without skipping dangerous keys like '__proto__' allows attackers to pollute the global Object prototype, leading to property injection and potential denial of service or RCE in downstream consumers.
Code Injection: Passing attacker-controlled parameters directly to the final callback via callback.apply can allow injection of malicious arguments, potentially altering control flow or executing unintended logic in dependent code.