TrustedRouter (Lore-Hex): strong TDX & tls-exporter core, plus 18 verified control-plane, enclave, desktop & SDK bugs
TrustedRouter (Lore-Hex) markets itself as an open-source, enclave-attested drop-in alternative to OpenRouter—claiming “a public source-to-binary trail” and “continuous audits of every PR on the very TLS connection.” On 1 December 2026, we ran a $0.00, zero-account, read-only audit across 14 public Lore-Hex repositories plus live probes of api.trustedrouter.com and trust.trustedrouter.com. Unlike stacks that ship pure TEE theater, TrustedRouter's core GCP Intel TDX gateway and RFC 9266 tls-exporter Go/Node/Python transports are genuinely strong—earning it a Top 6 slot on our 21-Provider TEE Scorecard. Yet auditing the full ecosystem uncovered 18 concrete bugs and trust-boundary gaps across its payment/OAuth/XSS/earnings control plane, enclave media/deidentify endpoints, macOS/Electron desktop apps, Rust/Java SDKs, on-prem gateway, and alpha confidential GPU stack.
Executive Summary — Eighteen Verified Findings (1 December 2026, Exact repo/file:line & Live Receipts):
- CRITICAL — Merchant PayPal API Path Traversal, Cross-Workspace Fraud-Guard Bypass & GET-CSRF (
quill-router):GET /console/credits/paypal/capture?token=...passes an unvalidatedorder_idinto_paypal_post("/v2/checkout/orders/{order_id}/capture", {})with TrustedRouter's merchant PayPal Bearer token (skippingfetch_paypal_orderon established workspaces), allowing RFC 3986 dot-segment normalization onto other PayPal v2 POST routes such as capture refunds—plus captures execute before workspace ownership checks, omitrequire_manager, and mutate state onGET(§1). - CRITICAL — Static Safety Approval Bypasses in
QuillCodeAuto Mode: Four independent static policy flaws inQuillCodeSafety(unscopeduserTypedURLMatches, leftover blanketcommonDiagnosticTriggers → shell.run, newline/&omission inStaticSafetyReadOnlyShellPolicy, and inline interpreter/wrapper gaps inStaticSafetyShellCommandSafety) allow unintended silent shell auto-approval without user confirmation (§4). - HIGH — Stored DOM XSS on Primary Origin (
trustedrouter.com/chat) + Report-Only CSP:importSharedChatFromHash()persists unvalidated#share=JSON intolocalStorageandmakeModelDropdown()interpolatesslot.paramsunescaped intodd.innerHTMLwhile CSP is deployed asContent-Security-Policy-Report-Only(chat.js:3751–3789, 989–1088,middleware.py:419–422) (§1). - HIGH — OAuth 2.0 Scope Escalation via Token Endpoint Confusion (
POST /auth/keys): Narrow RFC-conformant/oauth/authorizecodes can be redeemed at legacyPOST /auth/keys(ACAO: *), which skipsclient_id/redirect_urichecks, ignorescode.scopesto mint full["inference", "profile", "balance:read"]keys, and unconditionally returnsenriched_identity_payloadPII (routes/oauth_keys.py:261–310) (§1). - HIGH — Workspace
admin→ownerTakeover & Unauthenticated AWS SNSTopicArnEmail-Suppression Bypass: Any workspaceadmincan evict or demoteworkspace.owner_user_idor delete the workspace (routes/workspaces.py:94–206). Separately, publicPOST /internal/ses/notificationschecks AWS's RSA signature but never validatesTopicArn, letting any AWS account auto-confirm a topic and permanently block email delivery for arbitrary victim addresses (ses_notifications.py:46–225,sns_verify.py:71–153) (§1). - HIGH — Tenant-Controlled
secret_ref: "env://<VAR>"Dereferenced viaos.Getenv()Inside the Enclave:PUT /v1/byok/providers/{provider}accepts caller-suppliedenv://<VAR>refs forwarded toproviderAPIKeyForRouteinsidequill-cloud-proxy, which callsos.Getenv()and transmits the value as the upstream API key (byok.py:93–168, 225,settlement.go:265–271) (§2). - HIGH — Enclave Image-Fetcher SSRF Bypass (
ip.Unmap()Missing) + AWS Nitro Control-Plane Image Handling:allowedImageIPinmultimodal_direct.go:65–117omitsip.Unmap()(missing IPv4-mapped IPv6), misses Azure metadata168.63.129.16/32and CGNAT100.64.0.0/10, skips private IPs instead of failing closed on mixed DNS, and permits plainhttp://+ redirects even onconfidentialroutes. On AWS Nitro,multimodal_aws.go:10–60routes raw user image URLs & up to 10 MiB of image prompt bytes through unattested Cloud Run (fetch_image.py:1–146), and legacy/chat-proxy/v1/chat/completionsremains mounted (§2). - HIGH — Unauthenticated Enclave DoS on 2-Slot Rampart De-Identification Worker Pool & 5-Conn
/attestationQueue: Both/v1/chat/completionsand/v1/messagesrunprepareDeidentified(spawning 256 MB Node/ONNX subprocesses capped at 2 global slots) beforetrGateway.Authorizevalidates the Bearer token (main.go:1049–1051, 1300–1306, 2670–2676,worker.go:33–62); and unauthenticated/attestationqueues at most 5 requests (attestation_gcp.go:65, 90–110) (§2). - HIGH — Zero OCI SLSA/Cosign Provenance (
404), Admin-Bypass PAT & Unsignedtrust.trustedrouter.comPins: No “continuous audit of every PR on the very TLS connection” exists; GitHub Artifact Attestations returns404for livesha256:dde41595...;deploy-enclave-gcp.yml:232–236pushes digests to protectedmainwith an admin-bypass PAT (TRUST_PUSH_TOKEN,enforce_adminsoff) andpublish-trust-gcp.ymlFulcio-signs any push tomain; and Go/JS/Python/Rust/Java SDKs default to trusting unsignedtrust.trustedrouter.com/trust/gcp-release.json(§3). - HIGH — Persisted KMS-Wrapped ACME TLS Private Key & Zero Terraform IaC Visibility for IAM/KMS/WIF/DNS:
quill-cloud-infra/envs/gcp-prod/main.tf:34–38explicitly excludes KMS keys, secrets, IAM, and LBs; a GCP org/project admin can alter KMS/Deny/WIF policies (or Cloud DNS) to MITM every non-tls-exporterclient—which includes default SDKs, OpenAI/Anthropic SDKs, CLIchat, browsers,QuillCode, andconfidential-cowork-desktop(§3). - HIGH —
QuillCode&confidential-cowork-desktopZero Attestation + Updater & Shell/Browser Bypasses: Both desktop apps send all inference over plain WebPKI HTTPS with zero attestation ortls-exporterbinding (TrustedRouterLLMClient.swift:129–175,confidential-bridge.ts:113–120);QuillCodedefaults to unsigned tester manifests acceptingad-hocsignatures (skippingspctl) and falls back to plaintext on-disk secrets readable by its own Seatbelt shell sandbox (PlatformSecretStore.swift:13–19,ShellProcessSandbox.swift:171); andconfidential-cowork-desktopskipspermission.assertwhenever shell parsing yields 0 commands (bare redirections &export/declarebuiltins,shell.ts:129–145) and allows encoded%2e%2etraversal pastfileURLWithin(policy.ts:16–40) while leaving non-TEEwebsearchregistered in confidential mode (§4). - HIGH — Official Rust & Java SDKs Lack Default Attestation &
tls-exporterBinding + Unoverridable Unsigned Receipt Pins: Neithertrusted-router-rustnortrusted-router-javaverifies attestation by default or binds RFC 9266tls-exporter; Java silently passes whentlsCertificateDer == nulland follows redirects on JWKS fetches (AttestationVerifier.java:126–132, 275–293); and Rust'sverify_receipt()hardcodes an unverified HTTPS fetch ofgcp-release.jsonwith no local digest pinning override (receipts.rs:872–914) (§5). - HIGH —
trustedrouter-onpremCross-Identity Batch/Files IDOR & Unauthenticated Org-Wide Usage: All Batch and Files routes discardidentity_idand scope only by defaultorganization_id = "local"(batch/plane.py:117–240,management.py:112), letting any virtual key enumerate batches and download plaintext prompts/outputs of all other identities; omittingAuthorizationon/usagereturns organization-wide telemetry unauthenticated (server.rs:288–294) (§5). - HIGH — Cross-Workspace Personal Creator Earnings Drain via Workspace-Scoped Management API Keys (
quill-router):GET /v1/earningsandPOST /v1/earnings/transferaccept workspace-scoped Management API keys (ManagementPrincipal), pivot toapi_key.creator_user_id, and ignoreprincipal.workspace.id—allowing any teammate or service holding a shared-workspace management key to read and drain 100% of the creator's personal account-wide earnings into that workspace or any other workspace the creator belongs to (routes/earnings.py:20–101,routes/keys.py:193–197) (§1). - HIGH — 100% Credit Refund After Irreversible Upstream Media Generation on Client Disconnect (
quill-cloud-proxy): On Gemini/OpenAI/FAL/xAI images, TTS speech, and Whisper/GPT-4o transcriptions, disconnecting mid-flight or even after the upstream provider returnserr == niltriggers an unconditional 100% credit refund (499 client_closed) while burning TrustedRouter's non-refundable upstream balance (images.go:239–242, 277–280, 378–381, 402–405,speech.go:98–102,transcription.go:120–124) (§2). - HIGH — Pre-Auth Outbound Venice Video Quote Calls & Pre-Auth 2-Slot Semaphore Exhaustion on
/v1/videos&/v1/audio/transcriptions: Random unauthenticated Bearer strings passCheckCredential's negative cache, acquire the 2 enclave-widevideoLargeRequestSlotsortranscriptionSlots, and fire live authenticatedPOST api.venice.ai/api/v1/video/quotecalls using TrustedRouter'sVENICE_API_KEYbeforeAuthorizeVideo/ValidateKeyvalidates the token (video.go:28, 161–170, 255–264,transcription.go:24, 32–46) (§2). - MEDIUM — Alpha
trustedrouter-confidential-stack(trcs) & Control-Plane Policy/Race Gaps:trcs lint-manifests --mode cocoexits0with missingcc_init_data, leaves weights unpinned and vLLM/SGLang prefix caching ON, checks TCP listeners only while still serving hardware-signed attestations during violations, and passes SGLang--api-keyvia argv (lint.go:178–180,server.go:166–171, 224–293); orchestration presets silently overwrite callerprovider.jurisdiction: "eu"to"us"andallow_fallbacks: false/usage: "byok"(provider_routing_policy.go:7–15,fusion.go:3390–3411); phone verification resend cooldown has a non-atomic TOCTOU race enabling SMS/voice pumping (routes/notify.py:174–203,phone_verification.py:242–277); andPOST /mcpskills/getallows 32× uncached outbound GitHub fetches per request (routes/mcp.py:204–215,mcp_skills.py:125–137) (§6). - MEDIUM — Upstream KV-Cache, Dynamic Release, Disabled-Account & Internal
fastpathGaps:chutes&near-aiomitcache_salteven onconfidentialroutes (chat_preparation.go:82–98);tinfoildynamically fetches the latest GitHub release every 10 min with zero GPU quote check;maple-transportdynamically trusts vendor-signed GitHub PCR0 history;/v1/messagesomits confidential prohibition ondeidentify: true; hostedweb_searchignoresreq.Models& workspace privacy policies; closed accounts retain/provider/*portal access (provider_portal.py:45–66); internalfastpathHTTP has no auth and relays arbitraryOwnerstrings (frontdoor/peers.go:141–147); billable Veriff sessions run pre-debit (identity_verify.py:93–114); and console credit/earnings/BYOK mutations omit_same_origin(§6).
Fair credit — What TrustedRouter genuinely gets right (verified clean):
- Real same-socket TLS 1.3 RFC 9266
tls-exporterchannel binding: Go (trusted-router-go/session.go:81–162), Node.js (trusted-router-js/src/session.ts:74–141), and Python (trusted-router-py/_verified_transport.py:55–214) verified transports bindEXPORTER-Channel-Binding+ leaf DER + distinct fresh nonce onto the exact inference socket—genuinely defeating active TLS-terminating relay proxies even under TLS key compromise. Go'sazure_snp.go:97–182also performs direct offline AMD SEV-SNP verification without trusting MAA JWTs. - Hardened GCP Confidential Space enclave & real upstream TEE verifiers: Live GCP builds ignore the stale
QUILL_ACME_CACHE_GCS_BUCKETenv var and hardcode WIF-authenticated Cloud KMS envelope encryption (quill-cloud-proxy-acme-sealed-v1+ IAM Deny Policy), locktee.launch_policy.log_redirect="never"and 4-varallow_env_override, neutralize control-plane prompt webhooks viabroadcast.StripContent, and run real in-enclave upstream TDX + NVIDIA NRAS GPU verification forchutes&near-ai, pinned MITprivatemode-proxy, dual-source Sigstore + VCEK fortinfoil, and fail-closedconfidentialRoutesallowlists—honestly excluding Phala, Confidential.ai, and 0G. - Cleanly hardened sibling subsystems: Parameterized ClickHouse & Spanner queries everywhere (0 SQLi); strict webhook signature checks (Stripe, Adyen, Veriff, Routable, PayPal); hardened connect-time SSRF blocker in
services/safe_egress.pyfor broadcasts; strict L402 macaroon +SELECT ... FOR UPDATElocking inlightning-router; solidsidecar/TDX+NRAS verifiers, Ed25519 spend-lease/receipt verification, and per-batch KMS-wrapped DEKs inquill-cloud-proxy; and 2-runner reproducible OCI builds (qualify-release-oci.yml).
- 1. Control plane (
quill-router): PayPal path traversal,/chatDOM XSS, OAuth escalation, admin takeover & SNS bypass - 2. Enclave data plane (
quill-cloud-proxy):env://BYOK dereference, image SSRF, Nitro image leak & pre-auth DoS - 3. Provenance, TLS key custody & “continuous PR audits on TLS” claim vs. code
- 4. Desktop apps (
QuillCode&confidential-cowork-desktop): safety/shell bypasses, zero attestation & updater gaps - 5. Official Rust/Java SDKs &
trustedrouter-onpremcross-identity Batch/Files IDOR - 6. Additional Medium-severity boundaries (KV salts, dynamic Tinfoil,
fastpath, disabled sessions & CSRF)
Lore-Hex repositories audited read-only alongside live api.trustedrouter.com TDX attestationsha256:dde41595...QuillCode, confidential-cowork-desktop) verifying enclave attestation or tls-exporter1. Control plane (quill-router): PayPal path traversal, /chat DOM XSS, OAuth escalation, admin takeover & SNS bypass
- CRITICAL — PayPal API path traversal, cross-workspace fraud-guard bypass & GET-CSRF (
routes/console/credits.py:512–527,services/paypal_billing.py:198–226,services/paypal_topup_guard.py:452–488, 600–612):capture_paypal_order_for_workspaceinterpolatesorder_idunvalidated intof"/v2/checkout/orders/{order_id}/capture"with TrustedRouter's merchant PayPal Bearer token andjson_body={}. On established workspaces (wherecheck_paypal_captureskips callingfetch_paypal_order), query parametertokenonGET /console/credits/paypal/capturecan contain dot-segments and a fragment normalized byhttpxonto other PayPal v2 POST routes (such as capture refunds, whichlatch_after_paypal_adverseexplicitly excludes from auto-latching). Furthermore, captures run before verifyingexpected_workspace_id(allowing an established workspace to capture an order belonging to an abuse-paused workspace so PayPal's webhook credits it), and the console handler omitsrequire_manager(ctx)while performing financial state changes onGET. - HIGH — Stored DOM XSS on primary origin
https://trustedrouter.com/chat(static/chat.js:3751–3789, 989–1088,middleware.py:419–422):importSharedChatFromHash()writes untrusted#share=JSON straight intoSTATE.chatsandlocalStoragewithout validating numeric types onslot.params;makeModelDropdown()then interpolatesslot.params[key]unescaped intodd.innerHTML, while CSP is set toContent-Security-Policy-Report-Only. Same-origin script execution ontrustedrouter.comsatisfies_same_originchecks and can access console CSRF tokens and API key management. - HIGH — OAuth 2.0 scope escalation via token endpoint confusion (
routes/oauth_keys.py:261–310,scopes.py:26–30,templates/auth/oauth_consent_registered.html:32–38): Codes minted by narrow RFC-conformantGET /oauth/authorizeshare the same table as legacy/authcodes and can be exchanged atPOST /auth/keys(Access-Control-Allow-Origin: *), which omitsclient_idandredirect_urichecks, ignorescode.scopesto mint fullDEFAULT_DELEGATED_SCOPES(["inference", "profile", "balance:read"]), and unconditionally returnsenriched_identity_payloadPII. - HIGH — Workspace
admin→ownertakeover & deletion (routes/workspaces.py:94–206,storage_gcp.py:2186–2212): Neither routes nor storage protectworkspace.owner_user_id—any workspaceadmincan remove the owner via/members/remove, overwrite the owner's role tomembervia/members/add, or delete the workspace viaDELETE /v1/workspaces/{id}. - HIGH — Cross-workspace personal creator earnings drain via workspace-scoped Management API keys (
routes/earnings.py:20–101,routes/keys.py:193–197): Unlike/oauth_appsand/payouts(which require a browser session),GET /v1/earningsandPOST /v1/earnings/transferaccept workspace-scopedManagementPrincipalAPI keys, pivot toapi_key.creator_user_id, and ignoreprincipal.workspace.id—allowing any teammate or service holding a shared-workspace management key to read and drain 100% of the creator's personal account-wide earnings into that workspace (or any other workspace the creator belongs to). - HIGH — Unauthenticated AWS SNS
TopicArnbypass → arbitrary victim email suppression (routes/ses_notifications.py:46–225,sns_verify.py:71–153,infra/control_lb_url_map.tf:118–120): Publicly exposedPOST /internal/ses/notificationsverifies AWS's RSA signature on the SNS message but never validatesTopicArnagainst TrustedRouter's AWS account or topic—allowing any external AWS account to auto-confirm a subscription and publish signed bounce/complaint notifications that callblock_email_sending(email=...)for arbitrary victim emails.
2. Enclave data plane (quill-cloud-proxy): env:// BYOK dereference, image SSRF, Nitro image leak & pre-auth DoS
- HIGH — Tenant-controlled
secret_ref: "env://<VAR>"dereferenced viaos.Getenv()inside enclave (quill-router/routes/byok.py:93–168, 225,quill-cloud-proxy/cmd/enclave/settlement.go:265–271): Authenticated BYOK endpoints allow caller-suppliedenv://<VAR>refs that the enclave resolves viaos.Getenv()and forwards as upstream API keys, creating an enclave env-var existence oracle on GCP and direct secret exfiltration in deployments holding secrets inos.Environ. - HIGH — Image-fetcher SSRF filter bypass + AWS Nitro unattested control-plane image prompts (
internal/llm/multimodal_direct.go:65–117,multimodal_aws.go:10–60,quill-router/routes/internal/fetch_image.py:1–146,chat_proxy.py:90–228): Unlikeegress_guard.go:215,allowedImageIPomitsip.Unmap()(missing IPv4-mapped IPv6 on dual-stack sockets), misses Azure platform VIP168.63.129.16/32, CGNAT100.64.0.0/10, and0.0.0.0/8, skips private IPs instead of rejecting mixed DNS answers, and allows plainhttp://+ 3 redirects even onconfidentialroutes. On AWS Nitro builds, userimage_urls and up to 10 MiB of raw image prompt bytes are fetched through unattested Cloud Run (contradictingcontrol_plane_prompt_access: false), and legacy unattested/chat-proxy/v1/chat/completionsremains mounted. - HIGH — Pre-authentication DoS on global 2-slot Rampart/Video/Transcription pools & outbound Venice calls (
cmd/enclave/main.go:1049–1051, 1300–1306, 2670–2676,video.go:28, 161–170, 255–264,transcription.go:24, 32–46,internal/deidentify/worker.go:33–62,internal/attestation/attestation_gcp.go:65, 90–110):CheckCredentialonly checks a local negative cache;/v1/chat/completionsand/v1/messagesinvokeprepareDeidentified(spawning 256 MB Node/ONNX subprocesses across a 2-slot semaphore),/v1/videosacquiresvideoLargeRequestSlots(2 slots) and fires live authenticatedPOST api.venice.ai/api/v1/video/quotecalls using TrustedRouter'sVENICE_API_KEY, and/v1/audio/transcriptionsacquirestranscriptionSlots(2 slots)—all before authenticating the Bearer token. Separately, anonymous/attestationqueues at most 5 concurrent requests (newTokenQueue(4)), saturating launcher token minting. - HIGH — 100% credit refund after irreversible upstream media generation on client disconnect (
cmd/enclave/images.go:239–242, 277–280, 378–381, 402–405,speech.go:98–102,transcription.go:120–124): Across Gemini/OpenAI/FAL/xAI image generation, TTS speech, and Whisper/GPT-4o transcription, disconnecting mid-flight or even after the upstream provider completes witherr == niltriggers an unconditional 100% refund (499 client_closed) instead of settling the hold—allowing zero-cost burning of non-refundable upstream media balances.
3. Provenance, TLS key custody & “continuous PR audits on TLS” claim vs. code
- No “continuous audit of every PR on the very TLS connection”: Neither
quill-cloud-proxy/.github/workflows/norquill-cloud-infra/.github/workflows/runs PR security audits or binds PR audit metadata to TLS. Livehttps://api.trustedrouter.com/attestationbinds leaf DER, bootdeviceBlobhash, RFC 9266tls-exporter, and caller?nonce=—which is strong session binding, but requires explicit opt-in viaVerifyGatewaySession/VerifiedTransportand is off by default for OpenAI/Anthropic SDKs, default TrustedRouter SDKs (auto/zdr), CLIchat, and browsers (binding: "none"). - Zero GCP OCI SLSA/Cosign provenance (
404), admin-bypass PAT & unsigned trust-release JSON (deploy-enclave-gcp.yml:232–236,publish-trust-gcp.yml:18–99,trusted-router-go/attestation.go:240–281): GitHub Artifact Attestations returns404for live imagesha256:dde41595...; release digests are pushed to protectedmainwith an admin-bypass PAT (TRUST_PUSH_TOKEN,enforce_adminsoff) andpublish-trust-gcp.ymlFulcio-signs any push tomain. DefaultPolicyFromTrustRelease()in Go, JS, Python, Rust, and Java trusts unsignedhttps://trust.trustedrouter.com/trust/gcp-release.json, and GCP attestation relies on Google's online RS256 oracle rather than offline TDX DCAP quotes. - Persisted KMS-sealed ACME TLS key & unverified IaC IAM boundary (
quill-cloud-infra/envs/gcp-prod/main.tf:34–38,docs/runbooks/gcp-tls-cache-cutover.md:63–64): While live GCP builds safely ignore staleQUILL_ACME_CACHE_GCS_BUCKETin favor of WIF + KMS envelope encryption onquill-cloud-proxy-acme-sealed-v1, Terraform explicitly omits KMS keys, secrets, IAM, and load balancers. As TrustedRouter's own runbook candidly acknowledges, a GCP org/project IAM admin can alter KMS/Deny/WIF policies (or Cloud DNS) to MITM every non-tls-exporterclient.
4. Desktop apps (QuillCode & confidential-cowork-desktop): safety/shell bypasses, zero attestation & updater gaps
- CRITICAL — Four static auto-approval bypasses in
QuillCodeSafety(StaticSafetyPolicy.swift:106–132, 366–369, 421–427,StaticSafetyReadOnlyShellPolicy.swift:36–55, 137–166,StaticSafetyShellCommandSafety.swift:23–28, 68–77): (1)userTypedURLMatchesapproves any tool (includinghost.shell.run) whenever any URL from the user prompt appears in the arguments without restricting command structure; (2) leftovercommonDiagnosticTriggersblanket-allowsshell.runwith zero command inspection; (3)isSingleReadCommandandisLsCommandomit newline/&checks; and (4)isWorkspaceScopedSafeCommanduses a small executable denylist that omits inline interpreter evaluation, wrapper executables, and env-var paths. - HIGH — Zero enclave attestation in BOTH desktop apps +
QuillCodeunsigned updater & Seatbelt secret read: BothQuillCode(TrustedRouterLLMClient.swift:129–175) andconfidential-cowork-desktop(confidential-bridge.ts:113–120) send all inference over plain WebPKI HTTPS with zero attestation ortls-exporterverification.QuillCodedefault builds (build-macos-app.sh:34–40, 211–214) target thetesterchannel with unsigned manifests acceptingad-hocsignatures (skippingspctl), and fall back to plaintext on-diskFileSecretStore(PlatformSecretStore.swift:13–19) readable by its own macOS Seatbelt shell policy ((allow file-read*),ShellProcessSandbox.swift:171); Computer Use also defaults to.unrestrictedapp policy (ComputerUseToolExecutor.swift:16–30). - HIGH —
confidential-cowork-desktopshell approval bypass,%2e%2ebrowser traversal & confidential-modewebsearch:ShellTool(packages/core/src/tool/plugin/shell.ts:129–145) only callspermission.assertwhenparsed.commands.length > 0; bare redirections and shell declaration builtins (export,declare,unset) produce emptyparsed.commandsand bypass strictaskmode completely (parse.ts:185–226,scan.ts:352–367). In the embedded browser pane,fileURLWithin(policy.ts:16–40) callsdecodeURIComponentwithout normalizing dot-segments or symlinks, allowing encoded%2e%2etraversal outside workspace roots; andConfidentialConfig(confidential.ts:38–49) omitswebsearch: false, leaving non-TEE third-party search providers registered in confidential mode.
5. Official Rust/Java SDKs & trustedrouter-onprem cross-identity Batch/Files IDOR
- HIGH —
trusted-router-rust&trusted-router-javalack default attestation,tls-exporter& local receipt pinning: Both default to plain WebPKI HTTPS; Rust usesreqwestwithout TLS cert/exporter access (AttestationBinding::None,attestation.rs:369–420) and hardcodes an unsigned HTTPS fetch ofgcp-release.jsoninverify_receipt()with no local digest pin override (receipts.rs:872–914). Java's opt-in verifier checks only leaf DER (nottls-exporter), silently succeeds whentlsCertificateDer == null, omitsnbf, and uses a redirect-following OkHttpClient for JWKS (AttestationVerifier.java:126–132, 275–293). - HIGH —
trustedrouter-onpremcross-identity Batch & Files IDOR + unauthenticated org-wide usage (exp/runtime/gateway/batch/plane.py:117–240,management.py:112,native/src/server.rs:288–294): Every Batch and Files handler discardsidentity_idand scopes solely by defaultorganization_id = "local", allowing any valid virtual key to list all batches and download plaintext prompt/output files belonging to other identities. Separately, omittingAuthorizationon/usageand/usage.jsonbypasses per-identity scoping and returns organization-wide telemetry unauthenticated.
6. Additional Medium-severity boundaries
- Upstream KV-cache & verification gaps (
quill-cloud-proxy):chutesandnear-aiomitcache_salteven onconfidentialroutes (chat_preparation.go:82–98), andtinfoilhas no random/fail-closed fallback whenProviderCacheScopeis empty;tinfoilsidecar dynamically fetches the latest GitHub release every 10 min with zero NVIDIA GPU quote check (sidecar/main.go:27–41);maple-transportdynamically trusts Maple's GitHub PCR0 history (maple-transport/src/lib.rs:25–27);/v1/messagesomits the confidential/provider-pin prohibition ondeidentify: true(main.go:2670–2710); hostedweb_searchignoresreq.Modelsfallback lists and workspace privacy policies (responses_web_search.go:708–757);trustedrouter/zdrrelies on the unattested control plane; BYOK decryption on GCP uses plain GCE Metadata SA instead of WIF (byok_cache_other.go:7–15); JSUint8Arraybodies bypassneedsVerifiedInference(verified-inference.ts:6–9); and SDKs ignoreenv_overridewhile accepting legacyGCP_AMD_SEV. - Control-plane policy overrides, races, internal
fastpath, disabled sessions &trcsalpha stack: Orchestration presets silently overwrite callerprovider.jurisdiction: "eu"to"us"andallow_fallbacks: false/usage: "byok"totrue/"credits"(provider_routing_policy.go:7–15,advisor.go:407,fusion.go:950, 3390–3411); phone verification resend cooldown has a non-atomic TOCTOU race enabling concurrent SMS/voice pumping and omitssms_consenton/v1/notify/phone/start(routes/notify.py:174–203,phone_verification.py:242–277);POST /mcpskills/getforcesentry(force=True)across 32-call JSON-RPC batches for 32× uncached outbound GitHub fetches (routes/mcp.py:204–215,mcp_skills.py:125–137); closed/disabled accounts retain 30-day session access on/provider/*(provider_portal.py:45–66); internalfastpathHTTP has no auth/mTLS and relays arbitraryOwnerstrings (frontdoor/http.go:43–48,peers.go:141–147);POST /v1/auth/identity/sessioncreates billable Veriff sessions before checking/debiting available credits (identity_verify.py:93–114); console mutations for credit transfers, earnings, BYOK, broadcast, and settings omit_same_origin; liveQUILL_USAGE_HEARTBEAT+ 400-day ClickHousehttp_referer/user/session_idflow to the unattested control plane; and in alphatrustedrouter-confidential-stack(trcs, verified clean on path logging),lint-manifests --mode cocoexits0with missingcc_init_data(lint.go:178–180), model weights default to unpinnedrevision: "", vLLM/SGLang prefix caching stays ON, listener audits scan TCP only while continuing to serve hardware-signed attestations during violations (server.go:166–171, 224–293), SGLang passes--api-keyvia argv, and 1 GiB full-body heap buffering lacks shim memory limits.
Audit boundaries: All findings on this page were verified strictly from $0.00, zero-account, read-only inspection of 14 public Lore-Hex GitHub repositories and public unauthenticated attestation endpoints on 1 December 2026. No active exploitation, credentialed testing, or intrusion was performed. Exact repo/file:line citations are provided throughout so maintainers can verify and remediate every issue directly.
More standalone audits & live reference implementation
Side-by-side audit of Tinfoil, Maple AI, Privatemode, Confer, Confidential.ai, TrustedRouter, Oasis ROFL, LibertAI/Aleph, OpenGradient, Phala, 0G, Secret AI, Nillion, Proton Lumo, Darkbloom, Marlin Oyster, Targon SN4, NEAR, Chutes & Venice.
AWS KMS offline seed decryption without passwords, zero-PCR0 host key injection, classifier blinding, untrusted-repo symlink reads & claims vs. code.
Verify a live AMD SEV-SNP quote, E2EE per-token receipts, and real Hopper/Blackwell SPDM + signed NVIDIA RIMs 100% in-browser.
Dynamic Cosign/Helm keys outside RTMR3, zero attestation checks in official E2EE SDK/proxy, and 97.8–99.5% Try-1 KV bleed.