Skip to content

Security: Fix Critical and High Severity Vulnerabilities#147

Merged
telesoho merged 1 commit intotelesoho:masterfrom
kevin-bigler:fix/security-vulnerabilities
Jan 27, 2026
Merged

Security: Fix Critical and High Severity Vulnerabilities#147
telesoho merged 1 commit intotelesoho:masterfrom
kevin-bigler:fix/security-vulnerabilities

Conversation

@kevin-bigler
Copy link
Contributor

Summary

This PR addresses all critical and high severity security vulnerabilities identified in the project dependencies. The changes eliminate 18 vulnerabilities including 1 critical, 7 high, and all moderate/low severity issues.

Changes Made

Updated Dependencies

Production Dependencies:

  • Updated axios from ^1.8.4 to ^1.11.1

Development Dependencies:

  • Updated glob from ^7.2.3 to ^11.0.4
    • Fixes: Command injection vulnerability via -c/--cmd flag (GHSA-5j98-mcp5-4vw2)
    • Updated test/suite/index.ts to use modern async/await API (glob v8+ removed callback support)
  • Updated @types/glob from ^7.2.0 to ^8.1.0 to match glob version
  • Replaced cpx with cpy-cli ^5.0.0

Additional Security Hardening

  • Added npm overrides for diff package to ^8.0.3
    • Fixes: DoS vulnerability in jsdiff (GHSA-73rr-hh4g-fpgx)
    • Ensures mocha test framework uses secure diff version

Vulnerability Status

Before:

  • 18 total vulnerabilities
    • 1 Critical (form-data)
    • 7 High (axios, braces, glob, jws, qs, tar-fs, tmp)
    • 5 Moderate
    • 5 Low

After:

  • 0 vulnerabilities

Testing

✅ All tests pass successfully:

  • 12 tests passing
  • No regressions detected
  • Build process completes successfully
  • Test suite updated to use modern glob v11 async/await API

Notes

  • All critical and high severity vulnerabilities have been resolved
  • Changes primarily affect development dependencies and don't impact runtime behavior
  • The transitive dependencies (form-data, jws, qs, tar-fs, tmp, undici) were automatically updated through the main dependency updates

@kevin-bigler kevin-bigler force-pushed the fix/security-vulnerabilities branch from 29edde2 to a40257a Compare January 26, 2026 19:22
- Update axios from ^1.8.4 to ^1.11.1
- Update glob from ^7.2.3 to ^11.0.4
- Replace cpx with cpy-cli ^5.0.0
- Add npm override for diff ^8.0.3
- Update test suite to use glob v11 async/await API

Fixes 18 vulnerabilities (1 critical, 7 high, 5 moderate, 5 low)
All tests passing with 0 vulnerabilities remaining.

Co-Authored-By: Claude <noreply@anthropic.com>
@kevin-bigler kevin-bigler force-pushed the fix/security-vulnerabilities branch from a40257a to 40e6fa4 Compare January 26, 2026 19:34
@telesoho telesoho merged commit 13f422a into telesoho:master Jan 27, 2026
3 checks 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