Security context

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

electron-userland/electron-builder
master @ 074ac67
16
Fixes
2
CVEs
HIGH
Peak severity
56.3%
Coverage
Highlights
Path Traversal: 3 prior fixes. Scrutinize any change in this area.
packages/electron-updater/src/windowsExecutableCodeSignatureVerifier.ts: most-fixed (3 issues). Treat as high-risk during review.
10 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.

Signature Validation Bypass: Attackers can bypass Windows Authenticode checks via wildcard file-path manipulation, incomplete DN attribute verification, or decoupling the validated file path from the downloaded payload. This is exemplified by CVE-2024-39698.
Command Injection: Insufficient shell character escaping of file names passed to powershell.exe during update validation processes allows external payloads to inject administrative shell commands.
Path Traversal: Unvalidated symlink definitions and file destinations during packaging and extraction (e.g., zip processing) permit local files to be written or referenced outside target staging directories.