[AAASM-4971] ⬆️ (deps): website js-yaml 4.3.0 + brace-expansion 1.1.16/5.0.7#316
Conversation
…SA-3jxr) Resolve two dev-only DoS advisories in the standalone Docusaurus website/: - js-yaml GHSA-52cp-r559-cp3m (CVE-2026-59869): 4.2.0 → 4.3.0 - brace-expansion GHSA-3jxr-9vmj-r5cp (CVE-2026-13149): 1.1.14 → 1.1.16 and 5.0.5 → 5.0.7 Uses scoped ^ overrides (not bare >=) per this repo's pinning rule: a bare >= on the brace-expansion@1 key let the resolver bleed the 1.x consumer (minimatch@3.1.5) across the major boundary to the still-unpatched 5.0.5. The ^ form keeps each tree on its patched line. js-yaml 3.x is out of the advisory range and left untouched. Root SDK lockfile unaffected. refs AAASM-4971
🤖 Claude Code reviewScope: dev/build-only DoS remediation in the standalone Docusaurus Advisories resolved
Lockfile evidence ( Residual grep for Overrides diff ( - "js-yaml@^4.0.0": "^4.2.0",
+ "js-yaml@^4.0.0": "^4.3.0",
"js-yaml@3": "^3.15.0",
+ "brace-expansion@1": "^1.1.16",
+ "brace-expansion@5": "^5.0.7",Footgun caught: the ticket's first-draft bare Validation (pnpm 10,
Regenerated with pnpm 10 (pnpm 11 -> |
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |



Target
Task summary:
Remediate two Dependabot DoS advisories affecting dev/build-only
transitive dependencies of the standalone Docusaurus
website/. Neitherpackage ships in the published
@agent-assembly/sdk— the SDK's own tree(root lockfile) is already patched and is not touched here.
Task tickets:
Key point change (optional):
js-yaml>= 4.0.0, < 4.3.0brace-expansion< 1.1.16minimatch@3.1.5brace-expansion>= 3.0.0, < 5.0.7minimatch@10.2.5All three are indirect/transitive deps reached only through the docs
site's build toolchain (Docusaurus). They are unreachable from any SDK
runtime path.
js-yaml3.x (3.15.0) is outside the advisory range and isleft untouched.
Effecting Scope
Action Types:
Scopes:
website/app only)Additional description:
Applied as
pnpm.overridesinwebsite/package.json, regenerated withpnpm 10 (pnpm 11 triggers
ERR_PNPM_LOCKFILE_CONFIG_MISMATCHon thislockfile). Only
website/package.json+website/pnpm-lock.yamlchange.Description
Exact overrides changed (
website/package.json->pnpm.overrides):js-yaml@^4.0.0:^4.2.0->^4.3.0brace-expansion@1:^1.1.16brace-expansion@5:^5.0.7Why
^and not a bare>=: this repo'sCLAUDE.mdpinning rule forbidsa bare
>=because it lets the resolver pull an unwanted major. Confirmedempirically here:
brace-expansion@1: ">=1.1.16"bled the 1.x consumer(
minimatch@3.1.5) across the major boundary and deduped it to thestill-unpatched
5.0.5, leaving alert Bump eslint from 10.4.0 to 10.4.1 #61 unresolved. The scoped^1.1.16/^5.0.7form keeps each consumer on its own patched line(
minimatch@3.1.5 -> 1.1.16,minimatch@10.2.5 -> 5.0.7) with no major jump.This is the minimal correct form that satisfies the security goal.
Compat impact: none. Both bumps are patch/minor within their existing
major lines; no API surface changes; no unrelated packages re-resolved (the
lockfile diff touches only these two package trees).
Reachability: dev/build-time only, docs-website scope. The published SDK
is unaffected — the root
pnpm-lock.yamlwas already patched and is notmodified by this PR.
Builds executed (pnpm 10,
--ignore-workspaceper the standalonewebsite/gotcha):pnpm install --frozen-lockfile— passes (lockfile integrity consistent).pnpm build(Docusaurus production build) —[SUCCESS] Generated static files in "build".website/pnpm-lock.yaml(
js-yaml@4.2.0,brace-expansion@1.1.14,brace-expansion@5.0.5all gone).Dependabot alerts: this closes Bump eslint from 10.4.0 to 10.4.1 #61, Bump typescript-eslint from 8.59.4 to 8.60.0 #62, [AAASM-2314] 🔧 (npm): Bump root + 4 runtime sub-packages to 0.0.1-alpha.3 #63 (all
manifest_path: website/pnpm-lock.yaml). They auto-close once this lands onthe default branch and Dependabot re-scans
master.Closes AAASM-4971
🤖 Generated with Claude Code