Skip to content

fix: resolve all yarn audit vulnerabilities - #1292

Merged
isamu merged 2 commits into
mainfrom
fix-audit-vulnerabilities
Mar 1, 2026
Merged

isamu merged 2 commits into
mainfrom
fix-audit-vulnerabilities

Conversation

@isamu

@isamu isamu commented Mar 1, 2026 •

Copy link
Copy Markdown
Member

Summary

  • 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 in gemini_agent
  • Add resolutions for minimatch >=9.0.7 (transitive dep via google-auth-library)

Result: 34 vulnerabilities → 0 vulnerabilities

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated dependencies across multiple packages to latest compatible versions, including input/selection components, cloud AI services, and development tools.
    • Added version constraint to ensure consistent dependency resolution.

- 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]>
@socket-security

socket-security Bot commented Mar 1, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedtypescript-eslint@​8.56.0 ⏵ 8.56.11001007498100
Updatedopenai@​6.22.0 ⏵ 6.25.074 -23100100 +1100100
Updated@​google/​genai@​1.41.0 ⏵ 1.43.074 -2010010098100
Added@​types/​node@​25.3.31001008196100
Updatedeslint@​10.0.0 ⏵ 10.0.28910010097 +2100
Updated@​inquirer/​input@​5.0.7 ⏵ 5.0.810010010096 +1100
Updated@​inquirer/​select@​5.0.7 ⏵ 5.1.0100 +110010096 +1100

View full report

@coderabbitai

coderabbitai Bot commented Mar 1, 2026 •

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

Multiple 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

Cohort / File(s) Summary
Inquirer Input Dependencies
agent_filters/step_runner_agent_filter/package.json, agents/input_agents/package.json
Bumped @inquirer/input from ^5.0.7 to ^5.0.8 (patch version update).
LLM Agent Dependencies
llm_agents/gemini_agent/package.json, llm_agents/openai_agent/package.json
Updated @google/genai from ^1.41.0 to ^1.43.0 and openai from ^6.22.0 to ^6.25.0.
Root Package Configuration
package.json
Updated devDependencies (@types/node, eslint, typescript-eslint to newer patch/minor versions) and added resolutions block to pin minimatch to >=9.0.7.
Samples Package Dependencies
packages/samples/package.json
Updated @inquirer/select from ^5.0.7 to ^5.1.0 (minor version update).

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Possibly related PRs

  • update #1237: Updates the same @inquirer/input dependency across multiple package.json files.
  • update #1258: Modifies the same package.json files with overlapping dependency updates including @inquirer/input and root devDependencies.

Poem

🐰 Hop, hop, the versions rise,
From 5.0.7 to 5.0.8, what a prize!
Minimatch gets pinned so tight,
Dependencies dance, everything's right! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title 'fix: resolve all yarn audit vulnerabilities' directly and accurately summarizes the main objective of the changeset, which is addressing security vulnerabilities through dependency version upgrades and adding resolution constraints.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix-audit-vulnerabilities

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
package.json (1)

40-41: Use a bounded minimatch resolution for deterministic installs.

At Line 41, ">=9.0.7" allows drift to untested major versions—the lock file currently resolves to 10.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

📥 Commits

Reviewing files that changed from the base of the PR and between 211aa7d and a848582.

⛔ Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
📒 Files selected for processing (6)
  • agent_filters/step_runner_agent_filter/package.json
  • agents/input_agents/package.json
  • llm_agents/gemini_agent/package.json
  • llm_agents/openai_agent/package.json
  • package.json
  • packages/samples/package.json

@isamu
isamu merged commit 967074d into main Mar 1, 2026
11 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.

1 participant