Skip to content

build: remove vulnerable glob dependency from UI bundling - #54

Merged
siddath merged 1 commit into
mainfrom
codex/remove-vulnerable-ui-build
Oct 13, 2026
Merged

siddath merged 1 commit into
mainfrom
codex/remove-vulnerable-ui-build

Conversation

@siddath

@siddath siddath commented Oct 13, 2026 •

Copy link
Copy Markdown
Owner

The UI build included the unpatched high-severity braces advisory through an unused vite-plugin-singlefile → micromatch path. Replace that plugin with a small fixed-entry Vite inliner and remove the vulnerable dependency closure. It rejects incomplete or extra output, preserves script/link attributes and raw-text safety, and keeps both production HTML and server bundles byte-identical to main.

Validation: two real Vite build regression tests; 172 unit tests; 7 product evals; 32 browser tests plus five reliability repeats of the unit suite and 160 browser cases; complete dev+production npm audit reports zero advisories. Both hosted checks are green on 54dd06802231fc7b95fbbb4d1ed4d986341c7f28. Independent source review passed.

Native self-tests, build, validator, and local bundle-readiness passed. The broader local gauntlet retains separate failed native UI/full-screen receipts: this host's global accessibility hit lookup returns the desktop beneath the visible launcher, and a separate synthetic pointer diagnostic did not open the card. Native source is unchanged by this PR; temporary diagnostics were restored. This dependency-only merge does not claim a full native gauntlet pass, installed-native acceptance, or binary release readiness.

@siddath
siddath marked this pull request as ready for review October 13, 2026 04:20
@siddath
siddath merged commit e5a9479 into main Oct 13, 2026
2 checks passed
@siddath
siddath deleted the codex/remove-vulnerable-ui-build branch October 13, 2026 04:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant