Skip to content

Bump fast-uri from 3.1.5 to 3.1.9 - #32

Closed
dependabot[bot] wants to merge 20 commits into
mainfrom
dependabot/npm_and_yarn/fast-uri-3.1.9
Closed

dependabot[bot] wants to merge 20 commits into
mainfrom
dependabot/npm_and_yarn/fast-uri-3.1.9

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 29, 2026

Copy link
Copy Markdown
Contributor

Bumps fast-uri from 3.1.5 to 3.1.9.

Release notes

Sourced from fast-uri's releases.

v3.1.9

Security

This security release fixes four URI parsing and normalization vulnerabilities in fast-uri 3.x. Applications that process untrusted URI input should upgrade to v3.1.9.

  • Medium — URI scheme spoofing through percent-encoded schemes (GHSA-w74x-v6f9-j3xg, CVE-2026-110306): percent-encoded scheme input is now rejected instead of being decoded into a live scheme.
  • Medium — Host confusion during domain-host canonicalization (GHSA-wjr9-j795-jxcr, CVE-2026-110180): malformed domain hosts containing ambiguous delimiters or stripped control characters are now rejected instead of being silently rewritten.
  • Low — Incorrect relative-reference normalization (GHSA-xhq7-xmqj-769h, CVE-2026-110095): dot-segment removal now preserves the resolution semantics of relative references.
  • Low — Scheme injection in suffix references (GHSA-333x-w4r6-6crp, CVE-2026-110725): first-segment colons in path-only suffix references are now escaped so the output is not reparsed as a scheme.

Upgrade with:

npm install fast-uri@3.1.9

Thanks to @​zekth for reporting the scheme, host, and relative-reference issues, and to @​UlisesGascon for finding the suffix-reference issue and reviewing the remediations.

What's Changed

Full Changelog: fastify/fast-uri@v3.1.8...v3.1.9

v3.1.8

⚠️ Security Warning

This security release fixes the following medium-severity security advisory:

Users of the v3.x release line should upgrade to v3.1.8.

Full Changelog: fastify/fast-uri@v3.1.7...v3.1.8

v3.1.7

⚠️ Security Warning

This is a security release that fixes the following high-severity security advisories:

Users of the v3.x release line should upgrade to v3.1.7.

Full Changelog: fastify/fast-uri@v3.1.6...v3.1.7

v3.1.6

⚠️ Security Warning

... (truncated)

Commits
  • 0def703 Bumped v3.1.9
  • a1d0da2 test: generate only relative path references
  • 9eb8759 fix: preserve relative paths in suffix and relative resolution
  • 54c30f7 docs: note suffix-reference authority ambiguity
  • 39e6493 fix: escape a first-segment colon in suffix references
  • 745183c test: cover first-segment colon in suffix references
  • ddfc6a5 fix(SEC-03): reject non reg-name characters in domain hosts
  • d86a8d2 fix: keep a colon-first segment behind "./" in relative normalization
  • eb483b5 test: cover colon-first relative references in normalization
  • b110a35 fix(SEC-02): preserve meaning of relative references during normalization
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for fast-uri since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

GGeronik and others added 20 commits March 16, 2026 11:51
Embeddable AI governance framework — human-readable trust contracts,
runtime policy enforcement, and evidence-grade auditability.

Core:
- Three-valued policy engine (permit/deny/modify) with 12 operators
- Compiled evaluator for sub-millisecond decisions
- MCP tool router with fail-closed authorization
- Model binding verification, secure boot, graceful degradation
- Ed25519-signed human overrides

Contracts:
- YAML/JSON/Markdown trust contract format with AJV validation
- Contract inheritance, registry, changelog, linter
- 9 drop-in threat contracts (PII, injection, hallucination, toxicity,
  cost, leakage, bias, copyright, MCP tool abuse)
- Signed policy bundles with DSSE envelopes + BundleWatcher hot-reload
- Zero-downtime ContractWatcher for directory-based updates

Audit:
- SHA-256 hash chain with HMAC signing
- Merkle tree seals, proof bundles, distributed tracing
- Immutable content-addressed storage with tamper detection
- File, webhook, multi-sink, and OpenTelemetry audit sinks
- CSV/JSON/summary export

Security:
- WASM sandbox (memory limits, timeouts) and V8 isolate sandbox
- DSSE contract signing + RFC 3161 timestamps
- IETF RATS (RFC 9334) remote attestation
- Pluggable trust anchors (software Ed25519, TPM shell-out, SGX/Firecracker stubs)
- TLA+ formal verification spec generator

Integrations:
- OpenAI, Anthropic (Claude), and Gemini wrapper examples
- Buffer-and-release streaming interceptor for mid-stream PII redaction
- LangChain callback handler, Vercel AI SDK wrapper
- HTTP middleware, standalone REST API server (24 endpoints)
- CLI: validate, lint, evaluate, serve, audit, attest, tlaplus

Compliance:
- 6 frameworks: EU AI Act, NIST AI RMF, ISO 42001, SOC 2, GDPR, HIPAA
- Multi-tenant isolation

48 source files, 35 test files, 504 tests, 4 dependencies, Node ≥18.
- package.json: add repository, homepage, bugs, author fields
- package.json: expand keywords for npm discoverability (19 terms)
- package.json: include examples/ in published files
- package.json: prepublishOnly runs tests before build
- .github/workflows/publish.yml: auto-publish on GitHub release with provenance
- .npmignore: exclude source, tests, dashboard, charts from npm tarball
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 5.0.4 to 5.0.7.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](juliangruber/brace-expansion@v5.0.4...v5.0.7)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 5.0.7
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [postcss](https://github.com/postcss/postcss) from 8.5.8 to 8.5.25.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss@8.5.8...8.5.25)

---
updated-dependencies:
- dependency-name: postcss
  dependency-version: 8.5.25
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [fast-uri](https://github.com/fastify/fast-uri) from 3.1.0 to 3.1.5.
- [Release notes](https://github.com/fastify/fast-uri/releases)
- [Commits](fastify/fast-uri@v3.1.0...v3.1.5)

---
updated-dependencies:
- dependency-name: fast-uri
  dependency-version: 3.1.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [postcss](https://github.com/postcss/postcss) from 8.5.8 to 8.5.26.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss@8.5.8...8.5.26)

---
updated-dependencies:
- dependency-name: postcss
  dependency-version: 8.5.26
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
…8.5.26

Bump postcss from 8.5.8 to 8.5.26
…-3.1.5

Bump fast-uri from 3.1.0 to 3.1.5
…d/postcss-8.5.25

Bump postcss from 8.5.8 to 8.5.25 in /dashboard
…pansion-5.0.7

Bump brace-expansion from 5.0.4 to 5.0.7
Cut the library down to what it is: an embeddable TypeScript policy
decision point with a verifiable audit chain. Each removed module
existed so a README bullet could be true, but did not do what the
bullet said. Tests: 504 -> 267 (23 files); tsc, lint, build clean.

Removed, with the defect that made each unsafe to ship:
- src/sandbox/: vm sandbox escaped to `process` in one line; WASM modules could not read the context
- src/attestation/: signature covered [{}] instead of the claims; verifier accepted any key; TPM/SGX ops all threw
- src/compliance/tlaplus-generator.ts: generated spec was never passed to TLC
- src/compliance/reporter.ts: certified a hash chain it never verified; controls satisfied on schema-required fields alone
- src/crypto/timestamp.ts: never parsed or verified the TSA response; `timestamp` was the local clock
- src/contracts/p2t-generator.ts, markdown-parser.ts, changelog.ts: not wired into GodClause, the CLI or the server
- src/engine/human-override.ts + POST /v1/override: accepted any self-supplied public key
- src/engine/boot.ts + CLI boot + GET /v1/boot/preflight: swallowed parse errors and reported READY
- src/engine/degradation.ts + GET /v1/degradation + `degradation_tiers` schema section: the `locked` tier blocked nothing
- src/engine/cache.ts (DecisionCache): cache key ignored nested fields, so one user's decision could be served to another
- src/engine/compiled-evaluator.ts (CompiledPolicyEvaluator): passed every rule containing a rate_limit
- CLI subcommands generate, boot, tlaplus, attest; endpoints /v1/attestation/{challenge,verify,status}
- dashboard/ and its CI job; the dependabot PR surface goes with it
- docs/compliance.md; types used only by the modules above
- 12 test files covering the modules above

README and docs corrected:
- The library computes no detection signals; the host sets output.contains_pii etc. and applies obligations (examples/openai-wrapper.ts is the reference)
- "No other policy engine does this" replaced with the real differentiator: one 4-dependency package with engine + hash-chained/HMAC/Merkle audit + DSSE-signed policies
- Dropped "holds up in regulatory proceedings", "hand it to your auditor", "6 compliance frameworks", all RFC 3161 claims
- "Tampering retroactively invalidates the audit trail" softened to: each entry records the policy SHA-256
- Comparison table: OPA returns arbitrary JSON and signs bundles; Permit.io PDP and OPAL are open source; Guardrails AI has fix/filter/reask and anonymizing fixes
- Static "504 passing" badge replaced with the GitHub Actions CI badge
- CLAUDE.md, .cursorrules, copilot-instructions, docs/architecture.md, docs/evidence-grade-audit.md, CHANGELOG (Unreleased) updated; endpoint count 17, test count 267

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The hash and HMAC used a JSON.stringify replacer array, which also
filters nested objects by the top-level key names, so caller and
rule_results were effectively unhashed. Entries now hash canonical
JSON (hash_version 3); logs written by earlier versions no longer verify.

- verifyAuditEntries(entries, key?, { prevHash?, headHash? }): recompute
  hashes, require a signature when a key is given, anchor both ends
- AuditLog.verifyChain requires the first entry to link to the chain
  start and the last entry to be the live head; headHash getter added
- AuditLogOptions.headHash / GovernanceOptions.auditHeadHash resume a
  chain across restarts; FileAuditSink.lastHash reads it, skipping a
  torn last line; the REST server resumes from AUDIT_DIR/audit.jsonl
- FileAuditSink terminates a torn last line before appending, so the
  first entry after a crash is not fused onto the fragment
- Entries are normalized to plain JSON before hashing; sinks receive
  them in chain order, each its own copy, and a failing sink does not
  stop delivery to the others
- Empty auditSecretKey is rejected; empty verification key no longer
  skips HMAC checks
- GodClause and TenantScope always keep the in-memory sink, so verify,
  query and seal work with custom auditSinks
- ProofBundleBuilder.verify recomputes hashes/HMACs and rejects empty
  bundles; ImmutableAuditSink shares the hash function
- CLI audit verify: --prev-hash and --head; unreadable lines are
  reported as INVALID with a line number

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…ct README overclaims

Resolved src/index.ts (keep AuditChainAnchors, drop the deleted modules'
types) and CHANGELOG.md (keep both Unreleased sections).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
dashboard/package.json and package-lock.json stay deleted; the
dashboard was removed in 9f09f7d.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Bumps [fast-uri](https://github.com/fastify/fast-uri) from 3.1.5 to 3.1.9.
- [Release notes](https://github.com/fastify/fast-uri/releases)
- [Commits](fastify/fast-uri@v3.1.5...v3.1.9)

---
updated-dependencies:
- dependency-name: fast-uri
  dependency-version: 3.1.9
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 29, 2026
@GGeronik GGeronik closed this Nov 3, 2026
@dependabot @github

dependabot Bot commented on behalf of github Nov 3, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/fast-uri-3.1.9 branch November 3, 2026 14:45
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 javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant