Skip to content

chore(deps): fix all open Dependabot security alerts - #221

Merged
dantio merged 1 commit into
masterfrom
claude/github-dependabot-findings-2yr4li
Oct 12, 2026
Merged

dantio merged 1 commit into
masterfrom
claude/github-dependabot-findings-2yr4li

Conversation

@dantio

@dantio dantio commented Oct 12, 2026

Copy link
Copy Markdown
Collaborator

Summary

Resolves all 11 open vulnerabilities reported by npm audit (1 critical, 5 high, 5 moderate) → 0 vulnerabilities.

Direct dependencies

  • axios → ^1.20.0 (HTTP/2 DoS, header injection, NO_PROXY CIDR bypass, fetch-adapter redirect SSRF, prototype-pollution gadget)
  • qs → ^6.16.0 (arrayLimit bypass, isBuffer DoS)
  • vitest / @vitest/coverage-v8 → ^4.1.11 (path traversal via @vitest/mocker)

Transitive (lockfile only)

Package Version Severity
handlebars 4.7.10 critical
brace-expansion 5.0.12 high
fast-uri 3.1.8 high
js-yaml 4.3.2 high
source-map-js 1.2.2 high
@humanfs/node 0.16.8 moderate

Code change

axios 1.20 changed instance method return types to a conditional type (AxiosResponseResult), which broke compilation of AxiosRequest in src/request.ts. The wrapper now passes the response type explicitly (this.instance.get<any, R>(...) as Promise<R>). Types only — runtime behavior is unchanged.

Note on the lockfile

npm 10.9.4 crashes when updating vitest and @vitest/coverage-v8 together (Cannot read properties of null (reading 'edgesOut'), an arborist peer-set bug), so the lockfile was regenerated with npm 11. A clean npm ci with npm 10 / Node 22 (as used in CI) installs it without issues.

Test plan

  • npm ci (npm 10, Node 22)
  • npm audit → 0 vulnerabilities
  • npm run build
  • npm run lint
  • npm test → 1371 tests passed

🤖 Generated with Claude Code

https://claude.ai/code/session_01T7dftAvcbeGA1hbzBA7ojf


Generated by Claude Code

- axios ^1.20.0 (HTTP/2 DoS, header injection, proxy bypass, SSRF)
- qs ^6.16.0 (arrayLimit bypass, isBuffer DoS)
- vitest / @vitest/coverage-v8 ^4.1.11 (mocker path traversal)
- lockfile refresh for transitive deps: handlebars 4.7.10,
  brace-expansion 5.0.12, fast-uri 3.1.8, js-yaml 4.3.2,
  source-map-js 1.2.2, @humanfs/node 0.16.8

axios 1.20 returns a conditional type from instance methods, so the
AxiosRequest wrapper now passes the response type explicitly.

npm audit: 0 vulnerabilities.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T7dftAvcbeGA1hbzBA7ojf
@dantio
dantio merged commit df57b95 into master Oct 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants