fix(security): upstream ReDoS + dep bump cherry-pick (L5-122) - #99
Conversation
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
|
Warning Review limit reached
Next review available in: 28 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
Note
|
Review summary — upstream security sync (L5-122)Cherry-picked from upstream
Why the root
|
Ready to merge — upstream security sync (L5-122)Status: Diff stat: +4 / -61 across 3 files (heavily audit-trail — most of the work is in the two cherry-pick commit messages themselves). Branch: Critical checks
Cherry-picks landed
Why this matters
Refs
Notes
Ready for squash-merge into |
Review-ready summaryThis PR cherry-picks 2 CVE-class security fixes from upstream What to verify
Merge checklist
Ready for review / merge. |
Review-ready summaryThis PR cherry-picks 2 CVE-class security fixes from upstream diegosouzapw/OmniRoute. Ready for merge. What to verify
Ready for review / merge. |
…-05-06) Upstream commit 7509a32 fixes a polynomial ReDoS in the regex used by open-sse/services/comboAgentMiddleware.ts. In KooshaPari/OmniRoute, that file was deleted on 2026-05-06 (commit 0592444) as part of the v8.1 Bifrost Tier-1 router refactor (ADR-031) which superseded the combo agent middleware path entirely. The vulnerable regex no longer exists in this fork, so the upstream fix is a no-op. The associated regression test (tests/unit/combo-omnimodel-tag-stripping.test.ts) is also dropped because it imports from the deleted middleware and would not compile in this fork. This commit records the resolution for the security-audit trail (ADR-042 monthly cadence). Refs: - upstream: 7509a32 (diegosouzapw/OmniRoute, 2026-06) - KP deletion: 0592444 (KooshaPari/OmniRoute, 2026-05-06) - ADR-031: docs/adr/0031-bifrost-tier1-router.md - ADR-042: docs/adr/0042-security-audit-cadence.md - worklog: worklogs/2026-06-21-L5-122-upstream-security-sync.md
692d43e to
1c285de
Compare
L17 Latency Budget ReportChecked against: budgets/rest-endpoints.yaml. |
|



User description
Summary
Cherry-picks 2 HIGH-relevance upstream security commits onto KooshaPari/OmniRoute (
chore/l5-122-upstream-security-2026-06-21).Closes the upstream security sync portion of the monthly cadence (ADR-042). Two upstream-only commits from the past cycle are addressed — one is a real
electron/applicability, the other is a no-op recorded for audit.Commits (2)
7509a32e9ab8096071electron/package-lock.json+scripts/check/...apply)Why no-op #1 is still valuable
open-sse/services/comboAgentMiddleware.tswas deleted from KP/main on 2026-05-06 (commit05924441a) as part of the v8.1 Bifrost Tier-1 router refactor (ADR-031). The vulnerable regex no longer exists in this fork, so the upstream fix is structurally inapplicable. We record this as an explicit commit (instead of silently dropping the upstream commit) for the security-audit trail — the nextjust audit-securityrun will see both the upstream SHA and the KP verdict.We also drop the upstream regression test (
tests/unit/combo-omnimodel-tag-stripping.test.ts) because it imports from the deleted middleware and would not compile in this fork.Why #2 has partial applicability
The root
package.json/package-lock.jsonare no-ops (KP migrated to Deno, also in the 2026-05-06 v8.1 refactor). But two paths have real applicability:electron/package-lock.json— undici bump applies (electron path still uses npm)scripts/check/check-pr-test-policy.mjs— small new check additionBoth are kept and verified to compile against the current tree.
Files changed (3 files, +4 / −61)
Diff detail
The 2 cherry-pick commits themselves are no-op as far as the live file tree is concerned, but each carries an audit-trail commit message that records:
This means the next
just security-syncrun can confirm both upstream SHAs were addressed.Refs
docs/adr/0031-bifrost-tier1-router.mddocs/adr/0042-security-audit-cadence.mddiegosouzapw/OmniRouteis 25 commits ahead onmain; cherry-pick surface was 6 high-value candidates (2 picked + 4 lower-priority deferred).CodeAnt-AI Description
Record upstream security fixes and remove an obsolete test
What Changed
undicireleaseImpact
✅ Fewer false alarms on dependency security bumps✅ Clearer security audit trail✅ Up-to-date Electron dependency💡 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:
This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.
Example
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:
This helps CodeAnt AI learn and adapt to your team's coding style and standards.
Example
Retrigger review
Ask CodeAnt AI to review the PR again, by typing:
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.