September 23, 2026 remediation moves the deployment to Next 15.5.26 and React/React DOM 19.2.8,
with matching React renderer/types, coherent Tiptap 3.31.3 packages, PostCSS 8.5.28 and esbuild 0.28.2.
Compatible transitive updates are included. No npm audit fix --force or old Solana SDK downgrade
was used. Next's asynchronous route parameters are adapted at the framework boundary; portable
handlers retain their plain parameter-object contract.
The three critical package entries reported in the published PR's baseline audit were next,
concurrently and shell-quote (the latter two share a dependency chain, not two independent
findings). The remediation lock resolves them to Next 15.5.26, concurrently 9.2.4 and shell-quote
1.9.0 respectively; none appears in the post-remediation full audit. This reconciles the original
three-critical finding, not just the production-only audit total.
A fresh npm audit --omit=dev reports zero advisories for this lockfile. The full audit still
reports nine development-package entries (three high, six moderate), all in the legacy Solana SDK
reference-test dependency graph: @solana/web3.js, @solana/spl-token, their SPL metadata/group and
buffer helpers, bigint-buffer, jayson, stream-json, and uuid. Multiple entries can represent
one underlying advisory; package counts are not counts of distinct exploitable paths.
Those SDKs are dev dependencies of domain/shared, imported only by synthetic codec/reference
tests, not by application or worker modules. The packaged Domain runtime does not depend on them.
This is a scoped exposure assessment, not a claim that the packages have been patched or cannot
exist on disk in a build image. Do not move them into runtime dependencies or give those tests
untrusted inputs. Reassess this residual before changing their usage; npm's proposed obsolete SDK
downgrades are not an acceptable blanket fix.
The lockfile was regenerated from the 17 current workspace manifests. Retired workspace entries had survived the folder refactor and affected peer/override resolution. Boundary checks now reject such phantom workspace roots. React resolves to one installation across the monorepo; independent consumers must similarly provide a single compatible React instance.
Security overrides are present in the orchestration root and in independently runnable application manifests. npm ignores a dependency package's overrides when it is embedded in another host: a new host must carry the appropriate patched versions/overrides and audit its own installed graph. Do not infer its security status from this repository's audit.
Reproduce the audit after a clean install and rerun full framework/browser/standalone verification on the exact release head. Audit metadata changes over time; these results are a dated snapshot.
The Spell application's audit report adds two runtime dependencies, pinned exactly and installed
through the Socket firewall: @react-pdf/renderer 4.9.0 (MIT, published 2026-08-27) and exceljs
4.4.0 (MIT, published 2023-10-19). Their 182 new lockfile entries are MIT, ISC, Apache-2.0 or
BSD-3-Clause (png-js declares none in its manifest; its LICENSE file is MIT), except big-integer
(Unlicense), chainsaw (MIT/X11) and buffers 0.1.1, which declares no licence at all (reached through
exceljs → unzipper → binary, used when reading workbooks, not writing them). No existing entry's
version changed. They load only in the browser, when a person asks for a file.
npm audit --omit=dev adds one moderate advisory through exceljs: its uuid 8.3.2
(GHSA-w5hq-g745-h8pq, a missing bounds check in v3/v5/v6 when a buffer is passed). exceljs calls only
v4() without a buffer, and its browser build bundles its own copy, so the path is not reachable from
the report. No override was added; reassess if exceljs is used beyond writing the report.
Exact pins move to Next and @next/env 15.5.27 (all seven manifests that pin Next) and concurrently 9.2.5
(previously ^9.1.0 in the root and main manifests). The lockfile resolves follow-redirects 1.16.1, sharp 0.35.5,
source-map-js 1.2.2 and vite 8.3.3. These bring along the packages they pin or require: sharp's @img/* binaries
(0.35.5, libvips 1.3.4), Next's @next/swc-* 15.5.27, shell-quote 1.12.0 (pinned exactly by concurrently 9.2.5),
and rolldown 1.2.11 (vite 8.3.3 requires ~1.2.11; 1.2.11 keeps @oxc-project/types at 0.151.0). No other entry
changed. Every new version was published at least 14 days before this change.
After this change, npm audit --omit=dev still reports Next below 15.5.28 (critical: Image Optimization with SVG,
and a Server Actions denial of service). 15.5.28 was published on 2026-10-14 and is not yet 14 days old. It also
reports dompurify, body-parser, zod, fast-uri and ip-address (fixes available, not part of this set) and the
exceljs → uuid entry assessed above.
Phase 2 imports Olympus's adapters (from 0xRetro/olympus at ab62641) as source workspaces under
integrations/adapters-*. Production does not depend on them (the production firewall), and
npm run check:production-closure still matches its baseline. Their third-party dependencies are pinned to the
versions Olympus resolved: @noble/hashes 2.2.0 (nested under three adapters; the root keeps 1.3.2), and for
adapters-google jszip 3.10.1 and xlsx 0.18.5. The lockfile gains 12 third-party entries, resolved with
--before 14 days back, all MIT or Apache-2.0 apart from jszip (MIT or GPL-3.0-or-later). None has an install
script, and no existing entry changed. The production install puts them on disk, because it installs every
workspace, although nothing in production imports them.
Olympus's adapters-google also used google-auth-library. Its dependency tree included gcp-metadata, which
satisfied production mongodb 6.21.0's optional peer gcp-metadata ^5.2.0: npm placed gcp-metadata 5.3.0 at the
root, so production code could load a package it could not load before. The production-closure check does not
follow optional peers, so it did not report this. The adapter now makes its two OAuth calls (refresh-token and
authorization-code exchange) with fetch instead, and gcp-metadata is no longer in the tree. Treat any new
dependency that matches an optional peer of a production package the same way.
npm audit adds two high advisories through xlsx 0.18.5: prototype pollution (GHSA-4r6h-8v6p-xvw6, fixed in
0.19.3) and a regular-expression denial of service (GHSA-5pgg-2g8v-p4x9, fixed in 0.20.2). SheetJS no longer
publishes to the npm registry, so no fixed version is available there. adapters-google uses it only to read
workbooks exported from Drive (integrations/adapters-google/src/gdrive/xlsx.ts). It is kept for now because it is
source-only, but it is a blocker for merging Phase 2 to main: replace it with exceljs (already used by the Spell
application) or the SheetJS CDN build first. (Resolved: xlsx was replaced by exceljs; see the next section.)
xlsx replaced by exceljs (November 10, 2026)adapters-google (integrations/adapters-google/src/gdrive/xlsx.ts) and the ontology's import scripts (ontology/scripts/read-workbook.ts, for
import-settlements.ts --from-xlsx and import-dr-comparison.ts) now read workbooks with exceljs 4.4.0, the
version the Spell application already ships, pinned exactly (a dependency of adapters-google, a devDependency of
the ontology). xlsx 0.18.5 and seven packages only it used (adler-32, cfb, codepage, frac, ssf, wmf,
word) left the lockfile, and npm ls xlsx is empty. No new package entered it: npm dedupes both new
dependents onto the existing exceljs. Neither workspace is a production root, so the production closure is
unchanged (1,063 packages across 19 roots). npm audit drops from 11 high to 10 (32 to 31 in all); the two xlsx
advisories are gone.
This uses exceljs beyond writing the audit report, so the uuid assessment above was redone. Reading a workbook
(Workbook.xlsx.load) unzips it with jszip, not unzipper (only the streaming WorkbookReader, which nothing
here uses, loads unzipper). exceljs calls uuid only as v4() without a buffer, when it writes a conditional
formatting extension, so GHSA-w5hq-g745-h8pq is still not reachable. The readers run only in source workspaces
(workers and operator scripts), never in a production application.