Skip to content

fix(deps): override vulnerable Rollup and lodash-es - #216

Merged
ThePlenkov merged 3 commits into
abapify:mainfrom
theplenkov-forks:fix/security-dependency-overrides
Sep 21, 2026
Merged

ThePlenkov merged 3 commits into
abapify:mainfrom
theplenkov-forks:fix/security-dependency-overrides

Conversation

@ThePlenkov

@ThePlenkov ThePlenkov commented Sep 21, 2026 •

Copy link
Copy Markdown
Member

User description

Summary

  • override transitive Rollup resolution to 4.63.1
  • override transitive lodash-es resolution to 4.18.0
  • refresh the Bun lockfile

Security

Resolves dependency paths affected by CVE-2026-27606 and CVE-2026-4800.

Validation

  • frozen Bun install
  • verified the lockfile has no Rollup 4.46.4 or lodash-es 4.17.23 entries
  • TypeScript check for adt-pilot

Summary by cubic

Updates chevrotain to ^13 in acds and aclass, which drops the lodash-es dependency, and mastra to ^1.30 in adt-pilot, which makes rollup resolve to ^4.61.1. This removes the CVE-2026-4800 and CVE-2026-27606 paths from the dependency tree, addressing the vulnerabilities without overrides. The refreshed bun.lock resolves rollup to 4.63.1 and contains no lodash-es entries.

Validation

  • Frozen Bun install and TypeScript check pass.

Written for commit 1bc31b6. Summary will update on new commits.

Review in cubic


CodeAnt-AI Description

Pin transitive dependencies to secure versions

What Changed

  • Transitive Rollup dependencies now resolve to version 4.63.1
  • Transitive lodash-es dependencies now resolve to version 4.18.0
  • Prevents vulnerable dependency versions from being installed

Impact

✅ Protected builds from vulnerable Rollup versions
✅ Protected builds from vulnerable lodash-es versions

💡 Usage Guide

Checking Your Pull Request

Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.

Talking to CodeAnt AI

Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:

@codeant-ai ask: Your question here

This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.

Example

@codeant-ai ask: Can you suggest a safer alternative to storing this secret?

Preserve Org Learnings with CodeAnt

You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:

@codeant-ai: Your feedback here

This helps CodeAnt AI learn and adapt to your team's coding style and standards.

Example

@codeant-ai: Do not flag unused imports.

Retrigger review

Ask CodeAnt AI to review the PR again, by typing:

@codeant-ai: review

Check Your Repository Health

To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.

Summary by CodeRabbit

  • Chores
    • Updated internal package version overrides for Lodash ES and Rollup.

Resolve transitive Rollup and lodash-es versions above the security advisory minimums.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@codeant-ai

codeant-ai Bot commented Sep 21, 2026 •

Copy link
Copy Markdown

🤖 CodeAnt AI — Review Status

Status Commit Started (UTC) Finished (UTC)
✅ Reviewed your PR 2e49077 Sep 21, 2026 · 11:05 11:06

@codeant-ai

codeant-ai Bot commented Sep 21, 2026

Copy link
Copy Markdown

Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@netlify

netlify Bot commented Sep 21, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for adt-cli canceled.

Name Link
🔨 Latest commit 1bc31b6
🔍 Latest deploy log https://app.netlify.com/projects/adt-cli/deploys/6ab11c31d59210000837cc61

@baz-reviewer

baz-reviewer Bot commented Sep 21, 2026 •

Copy link
Copy Markdown

Review this PR on Baz

Merger

Needs Review

PR exceeds the merge-gate context budget (111617 tokens); escalating to a human reviewer.

@coderabbitai

coderabbitai Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Review Change StackReview Change Stack

Understand this PR’s impact

Explore downstream dependencies and potential security impact with Blast Radius.

View blast radius →

Warning

Review limit reached

Next included review available in 5 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: ec4c2b0a-8c2f-46f9-a1f4-12cc65a58fb6

📥 Commits

Reviewing files that changed from the base of the PR and between 2e49077 and 1bc31b6.

⛔ Files ignored due to path filters (1)
  • bun.lock is excluded by !**/*.lock
📒 Files selected for processing (3)
  • packages/acds/package.json
  • packages/aclass/package.json
  • packages/adt-pilot/package.json

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 6cded06d-7d01-4660-9fc6-f543346d4eb5

📥 Commits

Reviewing files that changed from the base of the PR and between a194b0d and 2e49077.

⛔ Files ignored due to path filters (1)
  • bun.lock is excluded by !**/*.lock
📒 Files selected for processing (1)
  • package.json

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

The root package configuration now overrides lodash-es to 4.18.0 and rollup to 4.63.1.

Changes

Dependency Overrides

Layer / File(s) Summary
Root dependency overrides
package.json
The root override configuration pins lodash-es to 4.18.0 and rollup to 4.63.1.

Priority: ➖ Normal

Estimated code review effort: 1 (Trivial) | ~2 minutes

Change: Other

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: overriding vulnerable Rollup and lodash-es dependency versions.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR

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.

@codeant-ai codeant-ai Bot added the size:XS This PR changes 0-9 lines, ignoring generated files label Sep 21, 2026
@gitar-bot

gitar-bot Bot commented Sep 21, 2026 •

Copy link
Copy Markdown

Important

You are using the Gitar free plan. Upgrade to unlock code review, CI analysis, auto-apply, custom automations, and more.

Gitar

@amazon-q-developer amazon-q-developer 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.

This PR correctly adds @types/node as a development dependency with appropriate version constraints. The lockfile has been properly updated. No blocking issues identified - this is ready to merge.


You can now have the agent implement changes and create commits directly on your pull request's source branch. Simply comment with /q followed by your request in natural language to ask the agent to make changes.

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

- chevrotain ^11 -> ^13 in acds/aclass: the v13 rewrite dropped
  lodash-es entirely, removing the CVE-2026-4800 path at the source
- mastra ^0.10 -> ^1.30 (devDep of adt-pilot): @mastra/deployer 1.x
  requires rollup ^4.61.1, removing the pinned vulnerable 4.46.4 copy

Lockfile now resolves rollup 4.63.1 only and has no lodash-es entries.
@sonarqubecloud

Copy link
Copy Markdown

@socket-security

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
Updatedmastra@​0.10.23 ⏵ 1.30.086 -1010091 -910080 -19
Updatedchevrotain@​11.2.0 ⏵ 13.2.0100 +11008292 +5100

View full report

@ThePlenkov
ThePlenkov merged commit 299791c into abapify:main Sep 21, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

baz: needs review size:XS This PR changes 0-9 lines, ignoring generated files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant