
Scan local repos for vulnerable axios versions (CVE-2026-40175) and patch interactively
Scan local repos for vulnerable axios versions and patch interactively.
Targets CVE-2026-40175 — CRLF Header Injection leading to Request Smuggling & SSRF. CVSS 9.9, affects all axios < 1.15.0.
npx audit-axios ~/Workspace ~/Projects
# Interactive — checkbox select + bulk action
audit-axios ~/Workspace ~/Projects
# Scan only (CI-friendly, exit code 1 if vulnerable)
audit-axios --scan-only ~/Workspace
# Auto-patch everything
audit-axios --auto-patch ~/Workspace ~/Projects
# Custom minimum version
audit-axios --min-version 1.16.0 --target "^1.16.0" ~/Workspace
| Key | Action |
|---|
space | Toggle select/deselect |
a | Select all |
n | Deselect all |
j/k or arrows | Navigate |
enter | Confirm → choose action |
q | Quit |
| Flag | Description | Default |
|---|---|---|
--scan-only | Report only, no prompts | — |
--auto-patch | Patch all without prompting | — |
--min-version | Minimum safe version | 1.15.0 |
--target | Target version spec | ^1.15.0 |
--include-all | Include IDE extensions, caches, and system dirs | — |
IDE extensions (.vscode, .cursor, .kiro, etc.), package caches (.npm, .yarn), and system dirs are excluded from scans. Use --include-all to include them.
node_modules and .git are always excluded — nested dependencies should be fixed via overrides/resolutions, not direct patching.
packageManager field)--scan-only (exit 1 on vulnerability found)MIT