Repository navigation
Conversation
mikkel
marked this pull request as draft
October 23, 2026 07:50
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.
Summary
Close emSign trust gaps in both Rust TLS branches and update the Node/Python runtimes selected by the Docker builds. The libsql branch retains Rustls 0.22.4 and needs its own verifier fix.
0.102.9+security.emudhra.1. Preserve its API and ordinary signature, name, expiry and trust-anchor checks.Change Type
Linked Issue
This fork disables issues. Remaining legacy name-constraint/CRL advisories are explicitly documented in
vendor/PATCHES.md; this PR does not claim that entire old branch patched. Latest compatible libsql 0.9.30 and stable 0.10.0 both retain hyper-rustls 0.25, so an unqualified database API upgrade would not remove it.Official sources: SPKI distrust, root removal, Node October fixes, CPython SNI fix, certifi, wheel.
Validation
Test Strategy
User behavior: ordinary HTTPS works; compromised keys fail even under an old root or alternate cross-sign.
Risk areas: security, TLS providers, sandbox image compatibility, frontend and E2E tooling.
Tests added or updated:
What the tests prove: the actual legacy acceptance defect is reproduced and the targeted backport closes it without breaking legitimate verification. They do not establish versions in existing deployments.
Commands run:
cargo fmt --all -- --check; architecture/network/workercargo testsuites; standalone vendored verifier tests; pnpm test/typecheck/build; uv build/dependency check; actual container and TLS probes.Remaining open findings and qualification
This PR is a tested partial source remediation and must remain draft while required CI fails. No ignore/bypass is added.
Security Impact
Eight exact upstream SPKIs are blocked. Preserve
UnknownIssuerdiagnostics for compatibility. Original license notices, crate checksum, source/fixture commit hashes and all DER hashes are retained invendor/SECURITY-BACKPORT.json. Only documentation headings and whitespace in OpenSSL textual annotations are normalized; encoded PEM data is verified unchanged. Negative-test anchors never enter production default trust.Reborn Trust-Boundary Checklist
No new public policy/evidence types, enum variants, secret paths or network bypasses. Existing verifier checks remain enabled. The worker image default stays aligned with its Dockerfile; arguments and authorization boundaries are unchanged.
Database Impact
No schema, migrations or live data changes. The libsql API version is unchanged.
Blast Radius
Rebuilt TLS clients, sandbox image and frontend/E2E tooling. Existing installations/processes remain unverified. Automatic release jobs are guarded for upstream
nearai, not this fork.Rollback Plan
Revert and rebuild the previous artifact. Removing distrust reopens compromised-key acceptance; retain isolation and updated system trust while correcting it. No database rollback or protected workload restart is needed.