Repository navigation
fix(deps): fast-xml-parser is on its fixed release, and the OSV ledger drops an exemption nothing matches - #33066
Conversation
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibvrmk94MdxTrDrtayP
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibvrmk94MdxTrDrtayP
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibvrmk94MdxTrDrtayP
📓 Docs Drift Check
What this run could not see
Coarse fallback — 24 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): |
|
security#2 · os-tesla · session_01L9qibwMmGJKaQ52CgHqNu2 CI red read · 2026-11-13T07:30Z · head |
|
security#2 · os-tesla · session_01L9qibwMmGJKaQ52CgHqNu2 维护者速读
席位意见:可以落地。 席位核对ACCEPT · seat
|
Requested by Tesla · project thread
Fixes #32386
Clause-②: no
Metadata-protocol: none
维护者速读
fast-xml-parser升到修复版 5.12.0(plugin-auth 保持精确钉,改为5.12.0;driver-odata 改为^5.12.0),@better-auth/sso自己声明的^5.8.0也解析到同一份;删掉osv-scanner.toml里已无任何包匹配的@azure/msal-node豁免。pnpm-lock.yaml(只动解析器一族)、packages/plugins/plugin-auth/package.json(精确钉的理由见下文)、osv-scanner.toml。pnpm install --frozen-lockfile && grep -c 'fast-xml-parser@5\.10' pnpm-lock.yaml,预期安装通过、计数为 0。What changes
The rule: the XML parser is on its fixed release, and the OSV ledger carries no exemption that matches nothing.
packages/plugins/plugin-auth/package.json(dependency)5.10.1(exact)5.12.0(exact)packages/drivers/driver-odata/package.json(dependency)^5.10.1^5.12.0@better-auth/sso1.7.12 (transitive, declares^5.8.0)02498c9f9): "fast-xml-parser5.10.1(the parser and options the vendor already uses) becomes a direct dependency of plugin-auth". The SAML refusal-cause reader is meant to parse with the vendor's own parser.@better-auth/sso's^5.8.0admits 5.12.0, so the pin moves and the lockfile still holds one copy shared by the reader and the vendor. No override is needed, andpnpm-workspace.yamlis untouched.pnpm install --lockfile-only, thenpnpm install --frozen-lockfile: exit 0). The resolved package set changes in exactly five keys, the parser and the four dependencies its 5.12.0 manifest raises:fast-xml-parser5.10.1 → 5.12.0,fast-xml-builder1.3.0 → 1.3.1,@nodable/entities3.0.0 → 3.1.0,is-unsafe2.0.0 → 2.0.3,strnum2.4.1 → 2.5.1 (1686 keys before and after; each removed version had no other consumer). pnpm also wrote the registry's currentdeprecatednote on one entry it re-read (@smithy/core3.29.5); that entry's resolution is unchanged.fast-xml-parser@5.10.xentry (grep -c= 0).GHSA-xcx6-jx8p-x3h5leavesosv-scanner.toml. The scheduled scan names it as an unused ignore (see Verification), and the only@azure/msal-nodein the lockfile is 7.1.2. Per the ledger's convention 3, removing an exemption may ride along with a fix. The remainingminimatchentry is untouched;node scripts/check-osv-exemptions.mjspasses with one exemption.@objectstack/plugin-authand@objectstack/driver-odata, patch.Tests
No source changes. The two packages that import the parser were tested at the head named in Verification:
@objectstack/driver-odata: the OData v4$metadatapath (dialect-v4.ts,xmlParser) and the driver suites.@objectstack/plugin-auth: the SAML refusal-cause reader (sso-saml-refusal-cause.ts) and its landing suite, which run a real samlify IdP through the vendor.No tested behaviour changed, so there is no ablation.
Acceptance notes
XMLParser,XMLValidator) changed.hono,@hono/node-server). They are outside this card and stay until their own fix lands; this PR clears thefast-xml-parserrow and the unused-ignore warning.Fixes #32386closes the card on merge: its scope is the parser row and the unused ignore, both done here.Verification
Readings in objectstack-ai/objectstack, under the shared verification lock where noted.
The unused ignore
Validate Dependenciesrun 43356277442 (2026-11-13 03:02Z,mainat870ce55ab2), stepAudit dependencies for known vulnerabilities (OSV-Scanner): "osv-scanner.toml has unused ignores: GHSA-xcx6-jx8p-x3h5".pnpm-lock.yamlandosv-scanner.tomlat870ce55ab2are byte-identical to this branch's base83bd36dec(git diff --statempty;870ce55ab2is an ancestor of83bd36dec, exit 0).fast-xml-parser5.10.1 row this PR moves to 5.12.0.api.osv.dev). The PR's own base-relative OSV step judges the new lockfile.Suites and typecheck
Head
ea17c0a56(mainc54a23d22merged in), under the shared verification lock,NODE_OPTIONS=--max-old-space-size=4096, afterpnpm install --frozen-lockfile(exit 0) and a fullpnpm build(119 of 119 turbo tasks, exit 0):pnpm --filter @objectstack/driver-odata test: Test Files 9 passed (9), Tests 1385 passed (1385).pnpm --filter @objectstack/driver-odata typecheck: exit 0.pnpm --filter @objectstack/plugin-auth test: Test Files 266 passed (266), Tests 5013 passed, 10 skipped (5023).pnpm --filter @objectstack/plugin-auth typecheck(tsc --noEmit, the examples project andcheck:test-typecheck): exit 0.fed52fd8dmatched (1385; 5013 passed, 10 skipped).Test Core,TypeScript Type Check, the UI lanes and the dogfood battery.Gates
node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstackatea17c0a56: 69 derived families; every command run with stdin closed and its exit code captured before any pipe (unlocked, as gates are).check-osv-exemptions.mjs(one exemption, well-formed),pnpm check:override-consistency,pnpm check:changeset-fixed,check-empty-changeset.mjs,check-changeset-no-major.mjs,check-adr-0087-registration.mjs,check-closing-keyword-parity.mjs,pnpm check:nul-bytesandpnpm check:published-files.check-plugin-teardown-shape --self-testfirst answered exit 3 (its pinned fixture commit621a4876was absent from the shallow clone); aftergit fetch origin 621a4876… --depth=1it answered exit 0, 48 cases.dispatch-gates --ranreconciliation: 69 derived, 69 run, 0 NOT MEASURED, 0 UNRUN.Generated by Claude Code