Repository navigation
fix: resolve all yarn audit vulnerabilities - #1292
Conversation
- Update eslint 10.0.0 -> 10.0.2 (fixes ajv ReDoS) - Update typescript-eslint 8.54.0 -> 8.56.1 (fixes minimatch ReDoS) - Update @eslint/js -> 10.0.1 - Update @google/genai 1.41.0 -> 1.43.0 - Add resolutions for minimatch >=9.0.7 (transitive dep via google-auth-library) Result: 34 vulnerabilities -> 0 vulnerabilities Co-Authored-By: Claude Opus 4.6 <[email protected]>
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
📝 WalkthroughWalkthroughMultiple package.json files across the codebase have been updated with dependency version bumps. The root package.json introduces a new resolutions block for minimatch, while individual module packages update their respective dependencies to patch and minor versions. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
package.json (1)
40-41: Use a boundedminimatchresolution for deterministic installs.At Line 41,
">=9.0.7"allows drift to untested major versions—the lock file currently resolves to10.2.4, illustrating how an unbounded range can jump majors. Prefer a bounded range (for example^9.0.7) to apply the security remediation while constraining to the intended major version.Proposed manifest tweak
"resolutions": { - "minimatch": ">=9.0.7" + "minimatch": "^9.0.7" }🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@package.json` around lines 40 - 41, The resolutions entry for minimatch currently uses an unbounded range ">=9.0.7" which can allow major-version drift; update the "resolutions" value for the minimatch package to a bounded range (e.g., "^9.0.7" or a specific 9.x version) so installs remain deterministic—change the minimatch resolution under the "resolutions" key in package.json accordingly.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In `@package.json`:
- Around line 40-41: The resolutions entry for minimatch currently uses an
unbounded range ">=9.0.7" which can allow major-version drift; update the
"resolutions" value for the minimatch package to a bounded range (e.g., "^9.0.7"
or a specific 9.x version) so installs remain deterministic—change the minimatch
resolution under the "resolutions" key in package.json accordingly.
ℹ️ Review info
Configuration used: defaults
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
yarn.lockis excluded by!**/yarn.lock,!**/*.lock
📒 Files selected for processing (6)
agent_filters/step_runner_agent_filter/package.jsonagents/input_agents/package.jsonllm_agents/gemini_agent/package.jsonllm_agents/openai_agent/package.jsonpackage.jsonpackages/samples/package.json
Summary
eslint10.0.0 → 10.0.2 (fixes ajv ReDoS)typescript-eslint8.54.0 → 8.56.1 (fixes minimatch ReDoS)@eslint/js→ 10.0.1@google/genai1.41.0 → 1.43.0 in gemini_agentresolutionsforminimatch >=9.0.7(transitive dep via google-auth-library)Result: 34 vulnerabilities → 0 vulnerabilities
🤖 Generated with Claude Code
Summary by CodeRabbit