fix(security): clear all 4 Dependabot alerts — js-yaml 4.3.2, brace-expansion 1.1.18 (INF-3002) - #164
Merged
KateZhang98 merged 1 commit intoSep 14, 2026
Conversation
…INF-3002) Clears all 4 open Dependabot alerts on the repo so INF-3002 can enable Dependabot security updates here. - js-yaml 4.2.0 -> 4.3.2 (GHSA-52cp-r559-cp3m, GHSA-5p4m-2wfm-xmqj, GHSA-2883-xcg3-v3hh -- all high 7.5, quadratic/unbounded CPU consumption) - brace-expansion 1.1.15 -> 1.1.18 (GHSA-3jxr-9vmj-r5cp, high 5.3, DoS via exponential-time expansion) Three separate js-yaml advisories have fix floors 4.3.0, 4.3.1 and 4.3.2, so the target is the highest of them, not the first. Both packages stay within their existing major line: js-yaml 4.3.2 is the newest 4.x and brace-expansion 1.1.18 the newest 1.x, so no consumer crosses a major boundary. Overrides changed from caret ranges to exact pins, per the skill's pin-style rule -- the previous "^4.2.0" resolved to the vulnerable 4.2.0 despite fixes being in range. Verified: OSV reports 3 vulns on each old version and 0 on each new one; npm audit clean; the regenerated lock adds and removes no node_modules entries, only the 6 version/resolved/integrity lines. INF-3002 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015PGXWenEJnUqbsVcZuwV5m
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Essentials Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
Included review availability: 3 reviews are currently available. Your included PR review attempts over the past 7 days set your current allowance at 5 reviews per hour. 📝 WalkthroughWalkthroughThe JavaScript example now pins the Priority: ➖ Normal Merge Risk: ⚪ Minimal · up to The dependency updates address the reported advisories without functional source changes, so the PR is ready to merge. 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
KateZhang98
approved these changes
Sep 14, 2026
KateZhang98
deleted the
andriy/inf-3002-agentql-js-yaml-brace-expansion
branch
September 14, 2026 19:42
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.
Clearance work for INF-3002, which unblocks INF-3000.
agentqlis one of the 22 repos opted out of Dependabot security updates ingithub-control, because a repo-widevulnerability-checkgatesmainand a dirtymainmakes Dependabot PRs unmergeable. It carries 4 open alerts, all inexamples/js/package-lock.json, and all fixable — no risk acceptance needed. This clears them so the opt-out can be deleted.Alerts cleared
Three js-yaml advisories carry different fix floors (4.3.0 / 4.3.1 / 4.3.2), so the target is the highest, not the first — clearing only the lowest would have left the gate red.
Why exact pins instead of carets
The overrides already existed as
"js-yaml": "^4.2.0"and"brace-expansion": "^1.1.13", and both resolved to vulnerable versions despite the fixes being inside those ranges. Exact pins (4.3.2,1.1.18) make the floor unambiguous and match the resolved version, so there is no "floor below the fix" gap.Both stay within their existing major line — 4.3.2 is the newest 4.x, 1.1.18 the newest 1.x — so no consumer is dragged across a major boundary. (js-yaml 5.x and brace-expansion 5.x exist; neither is used here.)
Verification
The lock was regenerated with
npm install --package-lock-only --ignore-scripts. Local node is 25 / npm 11.6.2 against CI's node 18, which is the known combination that can silently drop linux-onlyoptionalDependencies, so I ran the guard explicitly:Only version/
resolved/integritylines changed — nothing dropped.osv-scanner.tomlat the repo root has no active suppressions (the former pygments ignore was already retired when that fix shipped), so there was nothing to re-adjudicate.All changes are limited to manifest and lock file version bumps — no functional source code changes. Both packages are
dev-scoped in an examples project.Next
Once this merges and
vulnerability-checkis green onmain,agentql's opt-out line ingithub-control/repos.tfcan be deleted, the same shape as #1591 did fordisasterandtf-common.🤖 Generated with Claude Code
https://claude.ai/code/session_015PGXWenEJnUqbsVcZuwV5m