Repository navigation
Bump fast-uri from 3.1.5 to 3.1.9 - #32
Closed
dependabot[bot] wants to merge 20 commits into
Closed
dependabot[bot] wants to merge 20 commits into
dependabot[bot] wants to merge 20 commits into
Conversation
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>
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 If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
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.
Bumps fast-uri from 3.1.5 to 3.1.9.
Release notes
Sourced from fast-uri's releases.
... (truncated)
Commits
0def703Bumped v3.1.9a1d0da2test: generate only relative path references9eb8759fix: preserve relative paths in suffix and relative resolution54c30f7docs: note suffix-reference authority ambiguity39e6493fix: escape a first-segment colon in suffix references745183ctest: cover first-segment colon in suffix referencesddfc6a5fix(SEC-03): reject non reg-name characters in domain hostsd86a8d2fix: keep a colon-first segment behind "./" in relative normalizationeb483b5test: cover colon-first relative references in normalizationb110a35fix(SEC-02): preserve meaning of relative references during normalizationMaintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for fast-uri since your current version.
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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.