Repository navigation
Description
security@os-mickey · os-mickey · session_01ASNY8XNef4ywkQio6S9ju4
Filing class ③ (a task the maintainer dispatched directly) · Source: maintainer
Need
The relay's first live dependabot_list (recorded on #39686) reads open Dependabot alerts on main for three npm packages. The maintainer's word, in the security seat's session, verbatim: 「立卡派发处理,三件一起处理」 (file a card and dispatch it, all three together).
- happy-dom (development).
ui/package.json:139andui/apps/console/package.json:104declare"happy-dom": "^20.11.2". The lockfile already resolves the patched 21.0.4 through an override, but the stale manifest range keeps both alerts open. - glob (runtime). The lockfile holds
glob@7.2.3, inside the alerted range<= 14.0.5(first patched 14.0.6).pnpm whyplaces it underexceljs@4.4.0→archiver@5.3.2→archiver-utils@2.1.0/@3.0.4, andunzipper@0.10.14→fstream→rimraf@2.7.1.exceljsis a dependency of@objectstack/rest,@object-ui/plugin-gridand@object-ui/plugin-report.glob@14.0.7is also present and is patched. - minimatch (development).
minimatch@11.0.9(alerted range>= 11.0.6, <= 11.0.9, first patched 11.0.10) comes from the override'@microsoft/api-extractor>minimatch': '^11.0.9'inpnpm-workspace.yaml:362.
Who benefits: the maintainer and the security seat's patrol, which stops reading these alerts each round; consumers of @objectstack/rest for item 2.
Who does the work: the security seat dispatches this card on the maintainer's word; an os-dev builds it.
Rule to deliver
No package the lockfile resolves sits inside an open Dependabot alert's range, and no manifest declares a range that admits only alerted versions.
The dev measures and chooses:
- Item 1: raise both declared ranges to the patched major (
^21.0.4or the version the override resolves); keep the override only if something still needs it. The ui test suites that use happy-dom stay green. - Item 2: the narrowest route that removes
glob@7.2.3from the lockfile without breakingexceljs: a newerexceljs/archiver/unzipperthat no longer pullsglob7, or a scoped override inpnpm-workspace.yamlbeside the existing minimatch floors, measured against the API the holders call (glob 7 is callback-style; a major jump can break them). If no route is safe, say so with the measurement and stop: the seat takes that to the maintainer. - Item 3: raise the override floor to
^11.0.10and keep the comment block above it true.
Pins owed: pnpm install --frozen-lockfile clean; the exceljs paths of @objectstack/rest (export / import) still pass their tests; a changeset if a published package's dependency range changes (else skip-changeset with the reason).
Landing
Ordinary dependency change (no governed path expected). If the diff reaches a governed surface, the seat re-tiers it.
Dedupe
repo:objectstack-ai/objectstack is:issue happy-dom, … glob 7.2.3, … minimatch 11.0.10: one hit (#6015, a seat post), none a bump card.
Activity
objectstack-fleet commentedon Dec 4, 2026
security@os-mickey · os-mickey · session_01ASNY8XNef4ywkQio6S9ju4
Claim: PM loop round 1
Session:
session_01ASNY8XNef4ywkQio6S9ju4Account:
os-mickeyBranch:
claude/issue-39747-dependabot-alertsWorktree:
objectstack-issue-39747Domain:
domain:devxSeat:
security@os-mickey(claiming outside its lane on the maintainer's direct order, verbatim 「立卡派发处理,三件一起处理」, in this session)File surface:
ui/package.json,ui/apps/console/package.json,pnpm-workspace.yaml,pnpm-lock.yaml,packages/rest/package.json,ui/packages/plugin-grid/package.json,ui/packages/plugin-report/package.json(the last three only if item 2 measures anexceljsrange change the narrowest route; stop on breach; explain in the report)Container & model:
M,mode:subagent,model: default (dispatch-gates --tier: no path-derived mandate; floor sonnet · default opus · ceiling fable),effort: highClause-②: no
Metadata-protocol: none
Responsibility: n/a — not a defect card
Thread-read: none
Premise: holds (measured 2026-12-04T23:55Z: relay
dependabot_listrun 47447823604 reads the three packages' alerts open; the lockfile ata5ca373f895resolvesglob@7.2.3andminimatch@11.0.9; both ui manifests declare^20.11.2)Serial constraints cleared:
check-handover.mjs --inflighton the four paths: no overlap read; the two claims with no path read (#35238, #38415) were read by hand earlier this session and touch no manifest. Open pull touching the surface: Dependabot's own PR #39745 (glob 7.2.3 → 15.0.0, lockfile only); the dev measures it as item 2's candidate route, and this card's PR supersedes it or names why it is safe.Landing: ordinary (no governed path in the surface); re-tiered if the diff reaches one.
objectstack-fleet commentedon Dec 5, 2026
security@os-mickey · os-mickey · session_01ASNY8XNef4ywkQio6S9ju4
os-dev-report
{ "issue": 39747, "status": "done", "branch": "claude/issue-39747-dependabot-alerts", "pr": "https://github.com/objectstack-ai/objectstack/pull/39753", "head_sha": "6666a997c23c132ce1c9631c28c5ed71552aa328", "session": "session_01ASNY8XNef4ywkQio6S9ju4", "premise_still_valid": true, "summary": "All three alerts cleared in the lockfile of draft PR #39753 (head 6666a997c23). Item 1 (alerts 112/113): ui/package.json and ui/apps/console/package.json declare happy-dom ^21.0.4; resolution unchanged at 21.0.4; the floor override is kept (measured: removing it leaves 21.0.4 resolved, only the overrides header and vitest optional-peer text change) as the floor for a future 17.x-21.0.3 declaration, comment rewritten to say it moves nothing. Item 2 (alert 159, GHSA-c6wh-w8c3-cv3g): no newer exceljs exists (4.4.0 is latest), and Dependabot PR #39745 does NOT remove glob 7.2.3 (measured on its head f69bc3abe21: glob@7.2.3, archiver-utils 2.1.0/3.0.4 and rimraf 2.7.1 all still resolved; it only refreshes unrelated packages). Narrowest safe route = two parent-scoped overrides: exceljs>unzipper ^0.12.3 (resolves 0.12.5; drops fstream and rimraf 2.7.1, whose glob(p,opts,cb) callback call glob 9+ cannot serve) and archiver-utils>glob ^14.0.7 (dedupes onto the existing 14.0.7; its one call glob.sync survives). Item 3 (alert 160, GHSA-3924-r96c-gp9w): api-extractor>minimatch ^11.0.10 as asked, PLUS the generic minimatch 11.x floor ^11.0.8 -> ^11.0.10, because seven snapshots held 11.0.9 and lifting only the parent-scoped entry would have left the alert open. Lockfile +5/-20 packages; glob@7.2.3, minimatch@11.0.9 and minimatch@3.1.5 gone; skip-changeset (only published-manifest change is a devDependency of @object-ui/console).", "items": { "happy_dom": "done: both ui ranges ^20.11.2 -> ^21.0.4; override kept, measured not to move resolution", "glob": "done: exceljs>unzipper ^0.12.3 + archiver-utils>glob ^14.0.7; measured identical behaviour (see tests)", "minimatch": "done: api-extractor>minimatch ^11.0.10 and generic 11.x floor ^11.0.10 (the second required to drop 11.0.9)" }, "tests": "At head 6666a997c23 (objectstack-ai/objectstack), shared box. pnpm install --frozen-lockfile: exit 0, Lockfile is up to date. @objectstack/rest whole suite via os-verify-lock (vitest run --project local --maxWorkers=2, after building the rest^... closure): Test Files 452 passed (452), Tests 9386 passed | 351 skipped, VERDICT command-exit 0; covers export-integration (6 xlsx cases), export-xlsx-refusal-envelope, import-integration, import-business-timezone, import-date-cell-iso-real-day, xlsx-module. Console happy-dom tests (17 files, run from ui/ root after building @objectstack/client): 17 passed, 144 tests, exit 0 (first attempt failed only on Failed to resolve import @objectstack/client = unbuilt dist, not a test red). plugin-grid + plugin-report exceljs-adjacent tests: 9 files / 68 tests passed, exit 0. Holder measurements before (stock exceljs@4.4.0 npm install: unzipper 0.10.14, glob 7.2.3) vs after: WorkbookWriter 501 rows read back via WorkbookReader (unzipper.Parse, two option sets) and Workbook.xlsx.load hash to digest 545aa42c5a697f91 on both unzipper 0.10.14 and 0.12.5; archiver-utils file.expand (plain, negated, filter isFile, dot) identical on glob 7.2.3 and 14.0.7 for 2.1.0 and 3.0.4. OSV query: unzipper 0.12.5, fs-extra 11.3.1, bluebird 3.7.2, node-int64 0.4.0, minimatch 11.0.10, glob 14.0.7, happy-dom 21.0.4 all none. No ablation: no code-owned tested behaviour changed (dependency/config diff).", "gates": "dispatch-gates --commands at 6666a997c23: 43 families; 42 run locally, each exit captured before any pipe; --ran reconciliation: \"43 derived famil(ies) accounted for - 42 run, 1 NOT-MEASURED\". All exit 0 except: pnpm check:dual-build-cjs-loads NOT MEASURED (PREREQUISITE NOT MET, exit 3: needs every package dist; CI Lint & Repo Gates runs it); pnpm --dir ui exec vitest run scripts/ exit 1 on one 15s timeout under load (js-comment-mask-returns-interpolation-9424.test.ts, TS program build), the file rerun alone exit 0 8/8. check:override-consistency exit 0 (reports the three parent-scoped entries as 0 published-manifest consumers, same reading api-extractor>minimatch had before). check:nul-bytes exit 0. PR check-runs: not yet read at report time (CI convergence is the seat's); NOT MEASURED: CI families, reason: report delivered at end of local verification per contract.", "mcp_calls": "0", "api_writes": "2 - relay strokes (POST /repos/objectstack-ai/objectstack/dispatches): 1) pr_create (executor: POST pulls, POST issues/39753/assignees, POST issues/39753/labels; read-back identical 7487 bytes, assignee os-mickey, label skip-changeset); 2) this os-dev-report comment on #39747 via post-stamped. git push x3 (probe + 2 WIP commits) not REST.", "classifier_refusals": [], "open_questions": [], "security_findings": "none", "deviations": "File surface held: exactly ui/package.json, ui/apps/console/package.json, pnpm-workspace.yaml, pnpm-lock.yaml; the conditional three (rest, plugin-grid, plugin-report manifests) untouched - no exceljs range change was needed. Beyond the card text but inside the surface: the generic minimatch 11.x floor lift (measured necessity above). Not merged with origin/main: main advanced by one docs-only commit (56bed066364) touching none of the four paths. Commit titles carry a wip prefix (two commits); squash at landing is fine.", "out_of_scope_findings": [ "carrier: none - noted in PR Acceptance notes, not filed: scaffolded projects installing @objectstack/rest from npm still resolve exceljs's own archiver ^5 / unzipper ^0.10 and so glob 7.2.3; workspace overrides do not reach them (packages/cli init.ts SCAFFOLD_NPM_OVERRIDES would need the same two entries if the seat wants consumer coverage). Dedupe words: scaffold npm overrides glob exceljs, SCAFFOLD_NPM_OVERRIDES unzipper, glob 7.2.3 consumer", "carrier: seat - Dependabot PR #39745 is superseded by #39753 and does not clear alert 159 (measured); closing it is the seat's call", "carrier: none - noted, not filed: alert 159's root cause (src/ignore.ts root-into-pattern pasting, glob 9+) is absent from glob 7.2.3 (root via path.resolve, ignore compiled from caller pattern only) and no holder passes ignore; GitHub's range up to 14.0.5 covers 7.x regardless" ] }