fix(security): update vulnerable dependencies (fixes #82)#83
Merged
Conversation
## Summary Addresses security vulnerabilities reported in dependencies via npm audit. ## Changes - **REMOVED** `langchain` - completely unused (0 imports in codebase) - **UPDATED** `@langchain/core`: ^0.3.44 → ^0.3.80 (GHSA-r399-636x-v7f6) - **UPDATED** `@modelcontextprotocol/sdk`: ^1.20.1 → ^1.25.2 (GHSA-8r9q-7v3j-jr4g) - **UPDATED** `mem0ai`: ^2.1.34 → ^2.2.1 - **UPDATED** overrides for transitive deps: - `axios`: ^1.12.0 → ^1.13.2 (GHSA-4hjh-wcwx-xvwj, GHSA-jr5f-v2jv-69x6) - `undici`: ^6.21.0 → ^6.23.0 (GHSA-cxrh-j4jr-qwg3, GHSA-g9mf-h72j-4rw9) - `qs`: added ^6.14.1 (GHSA-6rw7-vpxm-498p) ## Results - Critical vulnerabilities: 6 → 0 - High vulnerabilities: 3 → 1 (dev dep only) - All 563 tests passing - Build successful Closes #82 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Convert forEach callbacks that implicitly return values to for...of loops to satisfy Biome's lint/suspicious/useIterableCallbackReturn rule. Files fixed: - src/analysis/semantic/ChunkGenerator.ts - src/analysis/tokens/TokenTracker.ts - src/utils/dependencies/reportFormatter.ts - src/utils/review/consolidateReview.ts Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Addresses security vulnerabilities reported in dependencies via npm audit (Issue #82).
Changes
Removed (Unused)
langchain- Had 0 imports in the codebase, completely unused dead weightUpdated Direct Dependencies
@langchain/core@modelcontextprotocol/sdkmem0aiUpdated Transitive Dependencies (via overrides)
axiosundiciqsResults
Remaining Vulnerabilities
The 2 remaining vulnerabilities are in development/build-time dependencies only:
tar≤7.5.2 inmem0ai > sqlite3build chain (high)diff<8.0.3 ints-node(low)These pose minimal production risk.
Test plan
pnpm auditshows critical vulns reduced from 6 to 0Closes #82
🤖 Generated with Claude Code