Security context

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

mikaelbr/node-notifier
master @ b36c237
2
Fixes
1
CVEs
HIGH
Peak severity
Highlights
Command Injection: 2 prior fixes. Scrutinize any change in this area.
lib/utils.js: most-fixed (2 issues). 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: Attackers can bypass command sanitization by passing array-structured options rather than strings, which bypasses naive shell escape functions and leads to arbitrary command execution (CVE-2020-7789).
Command Injection: Weaknesses in the argument escaping logic allow command injection when non-string data types are passed to notification backends like notify-send.