Repository navigation
fix(deps): resolve fast-uri to 3.1.9 and move the inert 4.1.4 overrides to 4.2.3 - #21
Open
constantin-jais wants to merge 1 commit into
Open
constantin-jais wants to merge 1 commit into
constantin-jais wants to merge 1 commit into
Conversation
…es to 4.2.3 bun audit reported four fast-uri advisories on 3.1.8 (reached through ajv ^3.0.1). 3.1.9 is the first patched release of the 3.1 line. The lockfile entry is the only line changed in bun.lock. The four workspace package.json files declared an override of fast-uri 4.1.4, which is inside the vulnerable 4.x range (< 4.2.3). They had no effect in this workspace (the lock resolved 3.1.8 and a frozen install kept it); they are moved to the first patched 4.x release so that an install of a package outside this workspace does not bring the advisories back. Signed-off-by: Constantin Jais <74049135+constantin-jais@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Door: two-way
Origin: observed 2026-11-24 GHSA-w74x-v6f9-j3xg
Not-added: hosted-service, telemetry
Summary
bun auditon the served branch (b841d73, composed at generationa00daec8) reports fourfast-uriadvisories onfast-uri@3.1.8, reached throughajv@8.20.0(fast-uri: ^3.0.1). The first patched release of the 3.1 line is3.1.9(first_patched_versionofhttps://api.github.com/advisories/GHSA-w74x-v6f9-j3xg, range>= 3.0.0, < 3.1.9).bun.lockfast-uri@3.1.8, integritysha512-GZMt…fast-uri@3.1.9, integritysha512-hS/0…(the one the registry serves for 3.1.9)packages/{starter,testing,ui,web-platform}/package.jsonoverrides"fast-uri": "4.1.4""fast-uri": "4.2.3"The four
overridesentries are in the vulnerable 4.x range (>= 4.0.0, < 4.2.3). They never took effect in this workspace: the lockfile resolved 3.1.8 with them present, and a frozen install kept 3.1.8. They are moved to the first patched 4.x release so that an install of one package outside this workspace does not bring the advisories back. This part changes no resolution here.Release age, against
minimumReleaseAge = 259200(3 days,bunfig.toml):3.1.9published2026-10-19T23:05:26.357Z,4.2.3published2026-10-19T22:51:36.634Z(curl -s https://registry.npmjs.org/fast-uri | jq '.time["3.1.9"], .time["4.2.3"]'). Both are older than the floor on 2026-11-24.The lockfile diff is one line (
git diff origin/migrate/recover-code -- bun.lock,1 insertion, 1 deletion).bun installwas not run in this clone: it rewrites thefile:../<sibling>entries of the lock, so the line was edited by hand with the registry integrity and proved on the composed tree below. There is nopackage-lock.json(git ls-files | grep package-lockreturns nothing).Evidence
Composition used for the proof.
run-composition.py --phase prepareoflibre-ai/project-governance@a00daec8for targetapplication-development-toolkit, revisionb841d73;bun install --frozen-lockfile --ignore-scriptsinproject-governance,schemas-and-contracts, then the toolkit; the five edited files were then copied over the prepared toolkit.bun install --frozen-lockfile --ignore-scriptsbun.lockbyte-identical to the committed one after install (cmp)bun auditfast-uri >=3.0.0 <3.1.9viaworkspace:@libre-ai/ui › ajvNo vulnerabilities foundnode_modules/fast-uri/package.json.versionThe base column is the neutralisation of the change: the unedited lock stays red on the same command.
bun run --cwd packages/web-platform test: 15 pass, 0 fail.bun run --cwd packages/testing test: 23 pass, 0 fail. Both under this branch's tree on the composition.Class sweep.
git grep -n 'fast-uri' -- . ':!bun.lock'returns the four manifests, all moved.git grep -n 'fast-uri' bun.lockreturns three lines: theajvdependency range^3.0.1(a range, left), the resolution line (moved).git grep -n -i 'fast_uri\|fast-uri@'returns only the resolution line, so no other spelling exists.Not run locally.
bun run checkandbun run check:e2e(UI build and Playwright browsers); the CI checkcomposition / validateis the reference. The unavailable-Actions state is reported asunavailable, not green.Review evidence
Self-check of the diff after
git add(git diff --staged): five files, one line each. No sub-agent review. No owner arbitration is written by an agent. Merging is the owner's.Blast radius
Runtime dependency of
ajv(schema validation) moves from 3.1.8 to 3.1.9, a patch release of the same line. Theoverridesentries have no effect in this workspace. Reverted bygit revert <merge commit>.Not done in this pull request
check-dependency-policycopy: the repository carries none (git ls-files | grep -iE 'Cargo|\.rs$|rust-toolchain|deny\.toml|check-dependency-policy'prints nothing, exit 1;ls -A .configreports no such directory).reuseversion: the one site,.github/workflows/playwright-guid-diagnostic.yml:53(pipx install reuse==6.2.0), is left. It sits in the historical replay of composition tooling8a27b8f5(whose ownvalidate-composition.yml:98writesreuse==6.2.0), whichAGENTS.mdand the generation bump of chore(pins): move governance pins to generation a00daec8 #20 treat as a deliberate historical site. The job also runs only for head reffeat/forge-realization, so a change there would not be exercised by any CI. Moving it to 6.3.0 (libre-ai/project-governance#309) is the owner's call.