Skip to content

fix(deps): fast-xml-parser is on its fixed release, and the OSV ledger drops an exemption nothing matches - #33066

Merged
objectstack-fleet[bot] merged 5 commits into
mainfrom
claude/project-thread-xzsr0k
Nov 13, 2026
Merged

objectstack-fleet[bot] merged 5 commits into
mainfrom
claude/project-thread-xzsr0k

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

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 豁免。
  • 为什么改:每日依赖漏洞扫描(Validate Dependencies)自 11-11 起因该解析器的一条公开公告变红;同一次扫描报告这条豁免未被使用,账本的稳定态是零豁免。
  • 风险与回滚:小版本升级,解析器 API 不变;lockfile 只换解析器及其 4 个子依赖(5 个包),其余解析集合不变;回滚即 revert 本 PR。
  • 先看: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.

Declaration Was Now
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/sso 1.7.12 (transitive, declares ^5.8.0) resolved 5.10.1 resolves 5.12.0, the same copy
  • plugin-auth stays an exact pin, at 5.12.0, the newest 5.x. The pin's reason, from the commit that added it (02498c9f9): "fast-xml-parser 5.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.0 admits 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, and pnpm-workspace.yaml is untouched.
  • The lockfile was written by pnpm (pnpm install --lockfile-only, then pnpm 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-parser 5.10.1 → 5.12.0, fast-xml-builder 1.3.0 → 1.3.1, @nodable/entities 3.0.0 → 3.1.0, is-unsafe 2.0.0 → 2.0.3, strnum 2.4.1 → 2.5.1 (1686 keys before and after; each removed version had no other consumer). pnpm also wrote the registry's current deprecated note on one entry it re-read (@smithy/core 3.29.5); that entry's resolution is unchanged.
  • The lockfile holds no fast-xml-parser@5.10.x entry (grep -c = 0).
  • GHSA-xcx6-jx8p-x3h5 leaves osv-scanner.toml. The scheduled scan names it as an unused ignore (see Verification), and the only @azure/msal-node in the lockfile is 7.1.2. Per the ledger's convention 3, removing an exemption may ride along with a fix. The remaining minimatch entry is untouched; node scripts/check-osv-exemptions.mjs passes with one exemption.
  • Changeset: @objectstack/plugin-auth and @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 $metadata path (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

  • The parser's changelog from 5.10.1 to 5.12.0 lists fixes and a dependency refresh; neither package's parser options (XMLParser, XMLValidator) changed.
  • The same scheduled scan lists rows for two other packages (hono, @hono/node-server). They are outside this card and stay until their own fix lands; this PR clears the fast-xml-parser row and the unused-ignore warning.
  • Fixes #32386 closes 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
  • Scheduled Validate Dependencies run 43356277442 (2026-11-13 03:02Z, main at 870ce55ab2), step Audit dependencies for known vulnerabilities (OSV-Scanner): "osv-scanner.toml has unused ignores: GHSA-xcx6-jx8p-x3h5". pnpm-lock.yaml and osv-scanner.toml at 870ce55ab2 are byte-identical to this branch's base 83bd36dec (git diff --stat empty; 870ce55ab2 is an ancestor of 83bd36dec, exit 0).
  • The same run's table carries the fast-xml-parser 5.10.1 row this PR moves to 5.12.0.
  • The scanner was not run locally: this container cannot reach the advisory database (the proxy refuses api.osv.dev). The PR's own base-relative OSV step judges the new lockfile.
Suites and typecheck

Head ea17c0a56 (main c54a23d22 merged in), under the shared verification lock, NODE_OPTIONS=--max-old-space-size=4096, after pnpm install --frozen-lockfile (exit 0) and a full pnpm 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 and check:test-typecheck): exit 0.
  • The same four readings at the pre-merge head fed52fd8d matched (1385; 5013 passed, 10 skipped).
  • Not run locally, declared to CI: Test Core, TypeScript Type Check, the UI lanes and the dogfood battery.
Gates
  • node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack at ea17c0a56: 69 derived families; every command run with stdin closed and its exit code captured before any pipe (unlocked, as gates are).
  • 69 exit 0, among them 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-bytes and pnpm check:published-files.
  • check-plugin-teardown-shape --self-test first answered exit 3 (its pinned fixture commit 621a4876 was absent from the shallow clone); after git fetch origin 621a4876… --depth=1 it answered exit 0, 48 cases.
  • dispatch-gates --ran reconciliation: 69 derived, 69 run, 0 NOT MEASURED, 0 UNRUN.

Generated by Claude Code

@github-actions github-actions Bot added size/s dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 13, 2026
@github-actions

github-actions Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

⚠️ 2 changed file(s) yielded no anchor (packages/drivers/driver-odata/package.json, packages/plugins/plugin-auth/package.json), so the pages documenting them are NOT COVERED by this run — this is not a clean bill of health for those files. Nothing else in this diff resolved to a documentable surface (no symbol, route or SDK anchor derived from 2 changed package(s)).

What this run could not see
  • 2 changed file(s) yielded no anchor (packages/drivers/driver-odata/package.json, packages/plugins/plugin-auth/package.json) — pages documenting those are invisible to this run
  • a page that states a rule by its inputs shares no identifier with the emitter that implements the rule, so an emitter-only diff cannot list it — not on this run and not on any run. Measured on fix(driver-sql): emit varchar(maxLength) for a text field a declared index keys on #11430: content/docs/protocol/objectql/types.mdx documents the text-family column mapping by the ObjectQL type names it maps FROM (text / textarea / html) while the diff changed createColumn; it went unlisted, and it was the page that diff falsified, in four places. No shared token exists to detect this on, so a rule your change carries has to be re-read by hand in the pages that restate it.
  • a key NAME is not a key, so the hand re-read the line above prescribes can land on the wrong schema. The same spelling is authorable on one governed type and a [REMOVED] tombstone on another for each of active, aria, joins, objects, template, tools and version (censused on [finding] tools is a key on BOTH AgentSchema (tombstoned, dead) and SkillSchema (live, cloud-attested), so a name-based search attributes skill examples to the agent key — it produced a false stop-the-line alarm on PR #19059 #19093 over the liveness ledger's governed types, top-level keys); nothing in a search result distinguishes the two, so a grep hit on a LIVE example reads as evidence about the DEAD key. Measured on fix(spec): the agent.tools liveness row says dead — it claimed live on a key the schema tombstoned #19059: content/docs/ai/agents.mdx was reported as contradicting the agent.tools tombstone over its tools: example at :161, which is inside the defineSkill({ block opened at :155 — the page was already correct. Settle ownership by PARSING the value against both schemas, never by the name: that literal PASSES SkillSchema, and as an AgentSchema it FAILS at tools with the tombstone prescription. ⛔ These names are not the whole class — a key retired through a .strict() guidance map leaves no tombstone in the walked shape and none of them here (tool.category, live as AIToolDefinition.category).

Coarse fallback — 24 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): node scripts/docs-audit/affected-docs.mjs --json 157051ceb48d2d9ed289f21f7018a39ce7249178 → packageMentionDocs.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

security#2 · os-tesla · session_01L9qibwMmGJKaQ52CgHqNu2

CI red read · 2026-11-13T07:30Z · head ea17c0a5 — Test UI (16/16) (job 131741644230) ran its test step from 2026-11-13T06:56:14Z until the run was cancelled at the job timeout (2026-11-13T07:29:53Z), with no test result and no log archive (404 BlobNotFound); the other 15 shards passed in 10–14 minutes. The Test UI rollup is red only because that shard reads cancelled. This PR changes no file under ui/ (two manifests, the lockfile's parser family, osv-scanner.toml, one changeset), so the seat reads it as a hung shard, not this diff. Step ①: the failed jobs of run 43381517028 are re-run once through the relay. A second red that measures something is a real red.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

security#2 · os-tesla · session_01L9qibwMmGJKaQ52CgHqNu2

维护者速读

  • 改了什么:fast-xml-parser 升到修复版 5.12.0(plugin-auth 精确钉 5.12.0,driver-odata ^5.12.0,@better-auth/sso 解析到同一份);删掉 osv-scanner.toml 里一条已无包匹配的豁免。
  • 为什么改:每日依赖漏洞扫描自 11-11 起因该解析器的公开低危公告变红;同一扫描报告该豁免未被使用。
  • 风险与回滚:小版本升级,解析器 API 与两包的解析选项不变;lockfile 只换解析器一族 5 个包;回滚即 revert。
  • 先看:pnpm-lock.yaml(解析器一族)、两个 package.json、osv-scanner.toml。
  • 两分钟验证:grep -c 'fast-xml-parser@5\.10' pnpm-lock.yaml 预期 0。
  • 需要你做的:无,席位落地。

席位意见:可以落地。

席位核对

ACCEPT · seat security#2 · head 0ece2047 · 2026-11-13T07:55Z

  1. Shape: Fixes #32386, draft, base main, 5 files (+40/−31): two manifests, pnpm-lock.yaml, osv-scanner.toml, one changeset (@objectstack/plugin-auth, @objectstack/driver-odata, patch). Clause-②: no, Metadata-protocol: none, matching claim 6845402826. Assignee os-tesla.
  2. Premise: card's OSV row (parser 5.10.1, fixed 5.12.0) re-read by the seat on 83bd36de before dispatch; the unused-ignore reading is the scheduled run 43356277442, cited in the PR's Verification block. The exact pin's reason (one parser copy shared with the vendor) is quoted from its introducing commit and still holds at 5.12.0.
  3. Contract review: none owed at CONTRACT_REVIEW_TIER: no governed path, no *.zod.ts, Clause-②: no. Seat self-read of the whole diff at TIER_DEFAULT, including the changeset text sentence by sentence (each sentence matches the manifests and lockfile).
  4. Gates / check-runs: dev: 69 of 69 derived gates exit 0, --ran 0 NOT MEASURED (/mnt/project-files/security-seat-2/r2026-11-13/out/32386-gates-ran-ea17c0a56.list, report 6846325998). On head 0ece2047 (the relay update-branch of comment 6846980766, after Test UI (16/16) hung to the job timeout on ea17c0a5): 67 runs, 58 success, 9 skipped, 0 failed, 0 running; mergeable_state clean. check-governed-merges --pr 33066: NOT governed.
  5. Accepted deviations / out of scope: the scanner was not run locally (the proxy refuses the advisory database); the PR's own OSV step judges the new lockfile. The report's private field: dropped — the vendor's stated condition is unmet in this tree (detail with the seat). The scan's other rows (hono, @hono/node-server) stay with their own fix: Acceptance notes.
  6. Landing: not governed, 71 changed lines, K = 2 (PRBASE 157051ce, no new locale pack): the seat readies the PR and arms auto-merge under the maintainer's standing word 「车道经理应该使用 pm-dispatch 技能审核和落地pr」 (2026-11-13).

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 13, 2026 07:56
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 13, 2026
Merged via the queue into main with commit 4462b4d Nov 13, 2026
68 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/project-thread-xzsr0k branch November 13, 2026 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation size/s tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

deps: the daily OSV scan is red on one new public advisory (fast-xml-parser 5.10.1, GHSA-474x-hrwr-fgx4, Low)

2 participants