Maple AI & OpenSecret: AWS KMS offline seed decryption, zero-PCR0 host key injection, default-on Kagi search & 178-PCR0 audit
Maple AI (MaplePrivacyLabs/Maple, built on OpenSecret AWS Nitro Enclaves plus downstream
GPU TEEs) positions itself as maximally verifiable private AI—claiming on its live /proof page
“No employees, no third parties, no master keys,” local client-side chat encryption, and
cryptographic proof that running code matches published source. On 1 December 2026, we ran a complete
$0.00, zero-account, read-only source & live-probe audit across 9 Maple/OpenSecret
repositories and live endpoints (enclave.trymaple.ai and i01–i03.tfinf.maple.ai).
Maple ships genuinely strong KV-cache salting, Transport V2 crypto, and Bitcoin guest billing—yet our code,
binary, and live-endpoint audit uncovered twenty-three concrete, high-impact trust gaps and security bugs that
directly contradict its strongest marketing claims.
Executive Summary — Twenty-Three Verified Findings (1 December 2026, Exact file:line & Live Receipts):
- CRITICAL — AWS KMS Policy Backdoor Enables 100% Offline Decryption of Every User's Seed & Chats Without Passwords: Production KMS policy grants AWS
rootkms:Put*/Update*/Create*(docs/nitro-deploy.md:1769–1826), letting an AWS admin strip thePCR0condition and decryptenclave_key. Becausesrc/seed_wrapping.rs:101–143, 303–379binds password wraps to the DB-stored Argon2 verifier (encrypted solely underenclave_key—never the user's raw password!) and OAuth wraps to 4 plaintext DB columns,enclave_key+ Postgres snapshot decrypts every user's BIP-39 seed and entire chat history offline (§1). - CRITICAL — Unpinned
kmstool_enclave_cli decryptLets a Compromised EC2 Host Swapenclave_key& Inject/etc/hostsWith ZEROPCR0Change: Every KMS decrypt call omits--key-idand--encryption-context(src/encrypt.rs:320–359,entrypoint.sh:323–1016), reads AWS STS credentials + ciphertexts over VSOCK3:8003from the untrusted host, and grants the EC2 hostkms:Encrypton Maple's KMS key (docs/nitro-deploy.md:1815–1823). A compromised host can substituteenclave_key,DATABASE_URL(nosslmode=verify-full), billing/flags URLs, and inject arbitrary/etc/hostsmappings via two-shot VSOCK replies without changingPCR0by a single bit (§2). - CRITICAL — Deterministic Permission Classifier Blinding & Approval Card Concealment in Maple Work / Agent: Before classifying any tool call or checking the 24 KiB escalation cap,
permissions.rs:252–306, 509–518replaces any string starting withdata:and containing;base64,with"[embedded data omitted]"—so a 1-line valid Python annotation (data: int = 0 # ;base64,) or bash snippet completely blinds the System One safety classifier AND conceals arbitrary Python code from the user approval card (§9). - HIGH — Default-On Kagi Web Search Leaks Plaintext Queries + Enables 30-Turn Autonomous Prompt-Injection Exfiltration:
LocalStateContext.tsx:71–88enables web search by default for all users, sending plaintext queries (up to 512 chars) & pasted URLs to non-TEE Kagi (src/kagi.rs:13) with a joinable CloudWatchtrace_id(tools.rs:100–104). Worse, the enclave runs up to 30 autonomous tool turns with zero user approval, auto-inserting Kagi search results intoallowed_urls(tools.rs:214) so indirect prompt injection can exfiltrate ~15 KB viaweb_searchor poisonopen_urlsviasite:attacker.example(§3). - HIGH — Closed-Source Non-TEE Metadata Pipeline + Live Unauthenticated
flags.opensecret.cloud: Every chat emits plaintextUsageEventJSON to AWS SQS (src/sqs.rs:29–48), closed-source non-TEEbilling.opensecret.cloud(usageApi.ts:58–70), Postgres (schema.rs:413–559), and CloudWatch (openai.rs:3521–3567)—including plaintexttool_calls.nameand plaintext platform emails on error (platform_users.rs:31–33). Live probe confirmedGET https://flags.opensecret.cloud/v1/users/<uuid>/flagsreturnsHTTP 200 OKwith zero authentication (§4). - HIGH — Single Key + 178-Entry
PCR0Rollback + Unsigned Live EIF (PCR8 == 0) + Static-Key Sigstore Unused by Clients: Maple's ownsecretspec/README.md:3–7, 111–113admits dev & prod share one key signing only rawPCR0hex with no environment tag and no commit/build provenance; liveenclave.trymaple.aihasPCR8 == 0000...0000(unsigned EIF); liveattestations.maple.ai/<PCR0>.jsonuses a static MaplepublicKey(not GitHub OIDC Fulcio) and is checked by 0 clients (§5). - HIGH — Binary Autopsy of 14.4 MB
continuum-proxyProves Closed-Source Outdatedcontrast v1.21.0+ Zero GPU Attestation: ExtractingGo buildinfofromservices/opensecret/continuum-proxyreveals it was compiled from Edgeless's closed-sourcegithub.com/edgelesssys/continuum/privatemode-proxywith-tags=contrast_unstable_api, outdatedcontrast v1.21.0(5 minor releases behindv1.26.2), zerovcs.revision, and launched inentrypoint.sh:981with no--manifestpin. Meanwhiletinfoil-rsverifies CPU SEV-SNP only (0 NVIDIA GPU quotes; TDX returnsUnsupportedFormat), and livei01–i03.tfinf.maple.aiserve bare 1,184-byte CPU-onlyv2quotes (§6). - HIGH — Zero Padding on Requests & Per-Token SSE Chunks (Whisper-Leak Traffic Analysis):
transport_v2/framing.rs:104–112, 148–160andgateway.rs:545–628seal unpadded ChaCha20Poly1305 chunks with a 4-byte length prefix andx-accel-buffering: no—exposing exact per-token byte lengths (plaintext.len() + 21B) and timings to Cloudflare, AWS ALB & the EC2 host alongside 1-hour plaintextx-session-idlinkage (§8). - HIGH — Literal
// TODONo-Op Logout, Permanent Admin Tokens, Apple Verified-Email Spoofing & Process-Wide DoS: Both logout routes literallydrop(refresh_token)with// TODOcomments (login_routes.rs:365–376,platform/login_routes.rs:468–480), so platform admin JWTs survive password resets forever; Apple native sign-in falls back to unverified clientrequest.emailand marks itemail_verified = true(oauth_routes.rs:1509–1516, bypassing@maple.aidev spend gates);/login,/register& paid Kagi/TTS/Whisper routes have zero rate limiting; and 16 unauthenticated Transport V2 sessions can exhaust globalReplayBudgetcausing 1h site-wide503(§8). - HIGH — Maple Work / Agent Plaintext Release SQLite, Unconditional Claude/Codex Auto-Approval,
read_imageSSRF & GNOME Screenshot D-Bus Backdoor: Release builds disable SQLCipher (host.rs:1145);external_agents/machine.rs:1259–1269unconditionally auto-approves every Claude Code & Codex command even inReadOnlymode;read_image.rs:316–444makes direct local-IP HTTP(S) fetches with syntactic-only host checks (DNS-rebinding SSRF); and GNOME Wayland CUA installs a persistent unauthenticatedorg.cua.WinRectsD-Bus extension allowing any local process silent screenshots bypassing Wayland portals (§9). - HIGH — Standalone
maple-proxyCSRF/DNS-Rebinding Credit Theft & Live Zero-CSP/XFO/HSTS Web App: Standalonemaple-proxyomits browser-blocking middleware (Origin/Sec-Fetch-Site/Host) when usingMAPLE_API_KEY(proxy/src/proxy.rs:195–199);scripts/ci/pages_deploy.py:48, 56–57deploysapp.maple.aiwithheaders=None(live probe confirmed zero CSP, zeroX-Frame-Options, and zero HSTS acrossapp.maple.ai,auth.maple.ai, andenclave.trymaple.ai);/proofisn't bound to the active session; and Android release builds bypass Nitro attestation forhttp://10.0.2.2(§10). - HIGH — Org
Admin→OwnerPrivilege Escalation & Missing AEAD Context Binding (AAD) Row-Substitution: Any OrgAdmincan mint arole: "owner"invite and readinvite.codedirectly from the response (invite_routes.rs:69–97, 120–128), accept it on a second unverified account (invite_routes.rs:321–332; reusable signup codes inplatform_invite_codes.rs:48–56), and take over or delete the org. Separately,platform_users.password_encandorg_project_secrets.secret_encuse empty-AAD AES-GCM under the globalenclave_key(encrypt.rs:40–85,project_routes.rs:449–453)—letting a DB adversary copy their own ciphertext into a victim Org Owner or Project row (§11). - HIGH — Missing Multi-Tenant
project_idIsolation,/v1/responsesBilling Fail-Open & 5 GiB Enclave OOM: Maple product routes never verify the caller belongs to Maple's project (third-party OpenSecret project users can enroll on Maple'siroh-relayfleet for free,relay.rs:109–131);POST /v1/responsesfails OPEN to unmetered free-tier inference on billing errors/timeouts (handlers.rs:8057–8115, 6330); suspendedproject.statusis never enforced; and unvalidated 50 MiB metadata blobs ×limit=100decrypt ~5 GiB per request inside the enclave (conversations.rs:396–402) (§11). - HIGH — Mobile Plaintext WebView
localStorageTokens + AndroidallowBackup=true+ Persistentauth.maple.aiTokens: Neither iOS nor Android uses Keychain or Android Keystore (keyringcompiles on Windows only);AndroidManifest.xml:11–15omitsandroid:allowBackup="false"(backing up plaintext WebViewaccess_token/refresh_token/cache_namespace_rootto Google Auto Backup /adb backup); andauth.maple.ainever clearslocalStorageon handoff, cancel, or timeout (HostedCallback.tsx:52–59) with onlyCSP: frame-ancestors 'none'(§12). - HIGH — Host
credential_requester.pyUnauthenticatedVMADDR_CID_ANYVSOCK Listener (IMDSv2 Bypass) & Unboundednitro-toolkitDaemons: Runs--privilegedasrootand bindsVMADDR_CID_ANYwith zero peer CID verification or secret allowlist (credential_requester.py:77–78, 121–195)—letting any local host process/container fetch EC2 IAM credentials and arbitrary Secrets Manager secrets on port8003, alongside unbounded threads/timeouts incloudwatch_logger.py,traffic_forwarder.py, andvsock_helper.py(§12). - HIGH — Untrusted-Repo Project Trust Bypass (
AGENTS.mdSymlink Read) & ACPFullAccessFail-Open: Even when a user rejects Project Trust,pi-coding-agent/src/resources.rs:93–145unconditionally readsAGENTS*.md/CLAUDE.mdacross ancestor directories with zero size cap and follows symlinks directly into the system prompt; ACP tasks omitpermissionModeand fail open toFullAccess(store.rs:84–97,types.rs:389–395); approval cards hide secondary tool fields likecontent/edits(permissions.rs:509–518); MCP stdio processes inherit the full host environment with an incomplete blocklist and feed untrustedtool_descriptioninto the classifier; and release builds honorORT_DYLIB_PATH(§9). - HIGH — Missing AEAD AAD & Domain Separation Across ALL User E2EE Columns: Every user-encrypted column (
messages.content_enc,user_instructions.prompt_enc,conversation_projects,conversations.metadata_enc, and/protected/encrypt) uses the same rawuser_keywith empty AEAD AAD (encrypt.rs:40–85,storage.rs:229–374,instructions.rs:95–490)—allowing an untrusted DB to transplant encrypted message/tool-output ciphertexts into privileged system instructions or swap message roles (§11). - HIGH — Unvalidated External Billing Redirects on Zero-CSP Frontend & Tauri Desktop Proxy / Capability Gaps: Non-TEE billing URLs (
checkout_url,portal_url) are assigned directly towindow.location.href(and fall back towindow.openon Tauri opener rejection) without scheme/origin validation on zero-CSPapp.maple.ai(billingApi.ts:266–382,ApiCreditsSection.tsx:154–193,pricing.tsx:714–743); Tauri desktop proxy lacksHostvalidation, permits0.0.0.0binds with saved keys, and leavesopener:allow-open-urlwide open viahttps://*(§7, §10). - HIGH — Untrusted-DB Platform Reset-Code Replay + Guest
/registerGlobal Inference DoS + Incomplete SDK X.509/COSE Checks:platform_password_reset_requests.encrypted_codeuses unboundencrypt_key_deterministic(main.rs:2477–2481, 2558–2597), letting an untrusted DB copy a known reset ciphertext onto another platform user's row; unthrottled guest/registerfills the non-evicting 10,000-slotrate_limits.inferencetable before billing checks for global503DoS (rate_limit.rs:188–195); and Rust/TS Nitro verifiers use heuristic EC point scanning while omitting COSEalg/digestchecks (§8, §11). - HIGH — Arbitrary-
audThird-Party JWT Signing With OpenSecret's Global ES256K Key: Any authenticated user—including an unverified guest in any project without a customTHIRD_PARTY_JWT_SECRET—can callPOST /protected/third_party_tokenwith an arbitrary caller-chosenaudand receive a valid 1-hour JWT signed by OpenSecret's global ES256K key withrole: "authenticated"and no per-project audience allowlist (protected_routes.rs:1029–1062,jwt.rs:397–455) (§11). - HIGH — Pre-Validation Whisper GPU Exhaustion, 4-Slot Global DoS & Unvalidated
TTSRequestPassthrough: Compressed audio (MP3/Opus/OGG/FLAC) up to 39 MB skips local duration checks (audio_seconds = None), uploads multi-hour audio to Continuum's GPU backend before checkingseconds > 1200.0, and holds all 4 global transcription slots with zero rate limiting or credit debits (transcription.rs:226–242, 505–524,openai.rs:3721–3755);/v1/audio/speechforwards arbitrary unvalidated JSON keys verbatim and both TTS/embeddings use unboundedres.bytes().await(openai.rs:502–580, 4040, 4132) (§8). - MEDIUM — Unbounded File/Line Reads & Uncapped Spill-File Growth in
pi-coding-agentTools:read,edit, andgrepread entire files or single lines into RAM with no size/file-type cap (OOM on multi-GB files or FIFOs/devices even inReadOnlymode), andOutputAccumulator::write_to_filewrites unbounded subprocess output to disk (read.rs:41–43,grep.rs:144–149,output.rs:251–258) (§9). - HIGH — Direct Marketing Contradictions on Live
/proof&/aboutPages: Verbatim claims of local client-side chat encryption, “no master keys”, “no third parties”, and source-to-running-code proof are directly contradicted by Maple's own server code and internalsecretspec/README.md(§13).
Fair credit — What Maple AI genuinely gets right (verified clean):
- Best commercial KV-cache & media-cache isolation audited: Completions fail closed (
400) if the client omits its 32-byteCacheNamespaceRoot(src/web/openai.rs:96–105); the enclave derives provider-separatedHMAC-SHA256salts (src/provider_cache.rs:133–161), strips callercache_salt/user_cache_secret, and strips vLLM multimodal media-cacheuuids &priority(src/maple_inference.rs:100–155). - Clean ephemeral Transport V2, sanitized chat Markdown, hardened
irohremote pairing & updater: Current SDKs/proxy enforce per-session ephemeral X25519 Transport V2 with AWS Nitro Root CA DER pinning and fail-closednsm-hwrngpreflight; chat Markdown/KaTeX usesRehypeSanitizewith zerodangerouslySetInnerHTML/evalsinks; OAuth refuses email auto-linking to password accounts; zero cross-user conversation IDORs and parameterized SQL everywhere;irohremote control uses CPace Ristretto255 PAKE + QUIC peer-key pinning; andmaple-agent-updaterenforces pinned minisign signatures + macOScodesign --strict. - Anonymous billing & real downstream GPU TEEs: Supports email-less guest accounts paid via Bitcoin/Lightning (Zaprite); all production LLM/STT/TTS routes exit to real TEEs (
i01–i03.tfinf.maple.aiconfirmed live AMD Turin SEV-SNP post-EntrySignucode=97,debug=0,smt_plat=0; Tinfoil; Continuum)—no secret fallback to non-TEE OpenAI/Anthropic for inference.
- 1. AWS KMS root policy & offline decryption of every user's seed & chats without passwords
- 2. Unpinned
kmstool_enclave_cli& host-injectedenclave_key//etc/hosts(zeroPCR0change) - 3. Default-on Kagi search, CloudWatch join key & 30-turn autonomous prompt-injection exfiltration
- 4. Closed-source non-TEE metadata pipeline & live unauthenticated
flags.opensecret.cloud - 5. Single P-384 key, 178-entry
PCR0rollback, unsigned live EIF (PCR8 == 0) & static-key Sigstore - 6. Binary autopsy of 14.4 MB closed-source
continuum-proxy& zero NVIDIA GPU attestation - 7. Web CDN trust (live zero-CSP/XFO/HSTS on
app.maple.ai), unpinned/proof& Android release bypass - 8. Unpadded SSE traffic analysis, literal
// TODOno-op logout, Apple email spoofing & global DoS - 9. Maple Work / Agent: classifier blinding (
is_embedded_data), Claude/Codex auto-approve, SSRF & GNOME D-Bus - 10. Standalone
maple-proxyCSRF/DNS-rebinding & CI/CD supply-chain gaps - 11. Platform Org
Admin→Ownerescalation, missing AEAD AAD row-substitution, multi-tenant gaps & 5 GiB OOM - 12. Mobile (iOS/Android) plaintext tokens +
allowBackup=true,auth.maple.ai& hostnitro-toolkitVSOCK bypass - 13. Verbatim marketing claims vs. verified code reality
PCR0s (back to Apr 2025) accepted forever by all clients under one single P-384 keycontinuum-proxy) copied verbatim from git into the Nitro EIF without source buildtinfoil-rs (live i01–i03 serve CPU-only v2)1. AWS KMS root policy & offline decryption of every user's seed & chats without passwords
Maple's live /proof page tells users that chat history is encrypted locally with a credential-derived key and that there are “no master keys” (proof.tsx:506–510, 766). In reality, user seeds and stored chats are encrypted server-side inside the Nitro enclave under an AWS-KMS-wrapped master key (enclave_secrets['enclave_key']), and two code facts combine into a complete offline decryption chain:
- AWS root retains
kms:Put*/kms:Update*/kms:Create*on the enclave KMS key: Maple's documented production key policy foralias/open-secret-prod-enclave(Maple/services/opensecret/docs/nitro-deploy.md:1769–1826) conditions EC2 role decryption onkms:RecipientAttestation:ImageSha384(PCR0), but grantsarn:aws:iam::{{ACCOUNT}}:rootfullkms:Put*(PutKeyPolicy),kms:Create*(CreateGrant), andkms:Update*. An AWS account administrator, compromised IAM admin, or compelled operator can overwrite the KMS policy, remove thePCR0condition, and decryptenclave_keydirectly. seed_wrapping.rsnever mixes the user's raw password into the wrapping key: InMaple/services/opensecret/src/seed_wrapping.rs:101–143, 303–379(called fromsrc/main.rs:1574–1665):- For password users (
compute_password_auth_binding, lines 101–122), the HKDF wrapping key derives fromenclave_key+auth_binding(project_id, user_uuid, decrypted_password_verifier)—wheredecrypted_password_verifieris the Argon2id hash stored in Postgresusers.password_enc, itself encrypted solely underenclave_key! - For OAuth users (
compute_oauth_auth_binding, lines 124–143),auth_bindinghashes four plaintext Postgres columns (project_id,user_uuid,provider,provider_user_id).
- For password users (
Consequence: Given enclave_key (via KMS policy update) plus a Postgres snapshot (Neon), an attacker or subpoena can unwrap user_seed_wrappings.seed_enc offline for every password and OAuth user, recover their BIP-39 master seed, and decrypt 100% of stored conversations, messages, reasoning traces, tool calls/outputs, summaries, memory blocks, embeddings, and KV entries—without knowing a single user password.
2. Unpinned kmstool_enclave_cli & host-injected enclave_key / /etc/hosts (zero PCR0 change)
In AWS Nitro Enclaves, PCR0 hashes only the EIF image—never runtime bytes sent from the untrusted EC2 parent host over VSOCK. At boot and runtime, Maple's enclave fetches AWS STS credentials and KMS ciphertexts over VSOCK 3:8003 from the untrusted host (entrypoint.sh:185–375, src/aws_credentials.rs:117–141, src/main.rs:2920–2954) and passes them to kmstool_enclave_cli decrypt with no --key-id and no --encryption-context:
// Maple/services/opensecret/src/encrypt.rs:320-346
let output = Command::new("/bin/kmstool_enclave_cli")
.args([
"decrypt",
"--region", &aws_credentials.region,
"--proxy-port", "8000",
"--aws-access-key-id", &aws_credentials.access_key_id,
"--aws-secret-access-key", &aws_credentials.secret_access_key,
"--aws-session-token", &aws_credentials.token,
"--ciphertext", &encrypted_b64,
])
.output()
Identical unpinned calls appear in entrypoint.sh:323–328, 388–394, 955–961, 1010–1016, while the EC2 host is explicitly granted kms:Encrypt on Maple's KMS key (docs/nitro-deploy.md:1815–1823). With zero PCR0 change, a compromised EC2 host (using either its own kms:Encrypt permission or attacker-owned AWS STS credentials over VSOCK 3:8003) can substitute:
enclave_secrets['enclave_key'](src/main.rs:3046–3060): Forces the enclave to use a host-known 32-byte root key to encryptjwt_secret, new user seeds,users.password_enc, OAuth tokens, and project secrets.opensecret_prod_database_url+ two-shot/etc/hostsinjection:setup_db(src/db.rs:3543–3558) does not enforcesslmode=verify-fullor pinned DB certs; meanwhileentrypoint.sh:415–421extractsDB_HOSTNAMEfrom the first host-supplied URL and appends127.0.0.1 $DB_HOSTNAMEto/etc/hostsbefore all hardcoded entries, whilesrc/main.rs:3942makes a second independent VSOCK request.billing_server_url,os_flags_base_url& 10+ other DB secrets (src/main.rs:3579–3775), plus selective provider degradation by withholdingmaple_inference_prod_api_keyor blackholing VSOCK ports8050–8052to shift traffic from dedicated nodes onto shared Tinfoil.
3. Default-on Kagi search, CloudWatch join key & 30-turn autonomous prompt-injection exfiltration
While Maple's /about page states “No data is used for training models nor shared with third parties, not even us” (about.tsx:68–69), Maple Research turns web search ON by default for every user:
// Maple/apps/maple-research/frontend/src/state/LocalStateContext.tsx:71-88 // Web search is on by default for all users, but respects the user's explicit preference. return true;
Every web_search and open_urls call exits the Nitro enclave over VSOCK 3:8026 (entrypoint.sh:509, 661) in plaintext HTTPS to Kagi (https://kagi.com/api/v1/search and /extract, src/kagi.rs:13, 199–285, src/web/responses/tools.rs:83–107, 245–271)—a non-TEE third party. Production runs with RUST_LOG=info,opensecret=debug streamed to AWS CloudWatch Logs (entrypoint.sh:120–146, 1047), and tools.rs:100–104, 263–268 logs Kagi's x-kagi-trace ID alongside user_uuid and timestamps—creating a direct join key between Maple's CloudWatch logs and Kagi's server-side plaintext query/URL logs.
Autonomous 30-turn prompt-injection exfiltration (handlers.rs:104–105, 7222–7388): Inside POST /v1/responses, the enclave executes up to 30 autonomous tool turns (5 free) with zero user approval. An indirect prompt injection from an opened page, document, or image can:
- Exfiltrate ~15 KB of E2EE chat secrets via
web_search:execute_kagi_searchaccepts arbitrary model-generated queries up to 512 chars (tools.rs:83–120, 680–689) and fires them immediately to Kagi. - Poison
open_urlsallowlist to hit an attacker's domain: Every URL returned by Kagi search is automatically added toallowed_urls(tools.rs:214:allowed_urls.insert(normalized_url))—so a prompt injection callingweb_search("site:attacker.example ...")populatesallowed_urlswith attacker URLs and immediately triggersopen_urlswith zero user interaction. (Additionally,collect_kagi_allowed_urls_from_promptattools.rs:337–403auto-authorizes up to 512 URLs found in user-pasted emails/logs.)
4. Closed-source non-TEE metadata pipeline (billing, flags, SQS, CloudWatch, Postgres)
Despite claiming “Both our client and server code are public” (proof.tsx:613–631), Maple clients and the enclave continuously report granular usage and identity metadata to closed-source, non-TEE servers and plaintext AWS services:
| Non-TEE Destination | Open Source? | Exact Plaintext Data Observed in Code |
|---|---|---|
AWS SQSsrc/sqs.rs:29–48 (VSOCK 8016) |
Non-TEE | Plaintext UsageEvent JSON on every chat/embedding: event_id, user_id, input_tokens, output_tokens, cached_input_tokens, estimated_cost, chat_time, is_api_request, provider_name, model_name, client_app (chat/work/proxy). |
billing.opensecret.cloudusageApi.ts:58–70 · billingApi.ts:39–55 |
Closed-source Non-TEE | Per-request time, model, source, client_app, pool, uncached_input_tokens, cached_input_tokens, output_tokens, credits, stripe_customer_id, payment_provider. |
flags.opensecret.cloudfrontend/src/services/flags.ts:177–195 |
Closed-source Non-TEE | Unauthenticated GET /v1/users/${userId}/flags directly from every client on session start—exposing plaintext userId UUID, client IP, and timestamps outside the TEE. Live probe (1 Dec 2026): public unauthenticated GET with nil UUID returned HTTP 200 OK ({"user_uuid":"0000...","flags":{"responses_compaction":false}}). |
AWS CloudWatch Logsentrypoint.sh:1047 · openai.rs:3521–3567 · platform_users.rs:31–33 |
Non-TEE (debug on) |
Per-completion user.uuid, model, provider, token counts, cost; audio sizes & durations; Kagi trace_id; tool_name; API key names; and plaintext platform emails on DuplicateEmail error (platform_users.rs:31–33). |
Neon PostgreSQLsrc/models/schema.rs:1–704 |
Encrypted blobs / Plaintext metadata | Plaintext users.email/name, responses.model/temperature/tool_choice/timestamps, token_usage, tool_calls.name, tool_outputs.error, plus schema columns for plaintext agent_schedules.description and notification_events.fallback_title/fallback_body. |
5. Single P-384 key, 178-entry PCR0 rollback, unsigned live EIF (PCR8 == 0) & static-key Sigstore
Maple's /proof page tells users “The cryptographic proof on this page confirms the running code matches the published source” (proof.tsx:530–531). Yet grepping the entire Maple/sdk/, Maple/proxy/, and Maple/apps/ tree for sigstore or attestations.maple.ai returns zero matches—MaplePrivacyLabs/sigstore-browser is completely unused! Instead, every client verifies a single hardcoded Maple-controlled P-384 public key (sdk/src/lib/pcr.ts:24–25, sdk/rust/src/pcr.rs:22–23) against a GitHub JSON array. Maple's own internal documentation admits the gap verbatim:
# Maple/services/opensecret/secretspec/README.md:3-7, 111-113 "Both dev and prod use that same key. It signs PCR0 text only, not the environment. Separate histories are not separate cryptographic authorities. ... the signature does not authenticate a commit or the artifact's build provenance."
- 178-entry unbounded historical rollback:
pcrProdHistory.jsonholds 178 signedPCR0s from 3 April 2025 to 21 November 2026 (39 post-Sep-2026 Transport-V2 builds + 139 older builds). Both TS and Rust SDKs accept any entry with zero revocation, zero minimum timestamp, andPCR1/PCR2/PCR3/PCR8ignored (pcr.ts:432–445: “Only check if PCR0 matches - we don't care about PCR1 or PCR2”). An operator or AWS attacker can boot older signed EIFs predating theCVE-2026-89743NSM fix or eMudhra CA removal and pass every client check silently. - Live production EIF is unsigned (
PCR8 == 0) & liveattestations.maple.aiuses a static key: Decoding the live 1 Dec 2026 COSE attestation fromenclave.trymaple.ai(PCR0 = 1441e85e...9cb8da05) confirmsPCR8 = 0000...0000(unsigned Nitro EIF). Fetchinghttps://attestations.maple.ai/1441e85e...jsonconfirms even Maple's unused Sigstore v0.3 bundle signssource.commitwith a static Maple-controlledpublicKey(verificationMaterial.publicKey)—not keyless GitHub Actions OIDC Fulcio provenance. - Cross-environment key reuse: Because the same P-384 key signs all 186 dev builds in
pcrDevHistory.jsonwithout signing an environment field (pcr_sign.js:61–101), GitHub write access alone suffices to copy any devPCR0intopcrProdHistory.jsonwithout touching the signing key.
6. Binary autopsy of 14.4 MB closed-source continuum-proxy & zero NVIDIA GPU attestation
- Binary autopsy proves closed-source, outdated
contrast v1.21.0with no manifest pin: Inspecting the embeddedGo buildinfoofMaple/services/opensecret/continuum-proxy(14,418,082B,sha256:e87aaefe...57ec, stripped static ARM64 Go ELF committed 8 September 2026 in5aa24fc9and never updated) reveals:path github.com/edgelesssys/continuum/privatemode-proxy # CLOSED-SOURCE repo (NOT privatemode-public!) dep github.com/edgelesssys/contrast v1.21.0 # 5 minor releases behind v1.26.2 build -tags=contrast_unstable_api -trimpath=true # ZERO vcs.revision / vcs.time embedded
flake.nix:600–605literally copies this opaque binary verbatim intoeif-prodwithout building from source, andentrypoint.sh:981runs/app/continuum-proxy --port 8092 --apiKey ...with no--manifestpin—inheriting dynamic CDN trust and Contrast's 48h revoked NVIDIA OCSP grace while handling plaintext prompts, image descriptions, and audio forglm-5-3(99%),glm-5-3-flash(100%), andwhisper-large-v3(100%). - Zero NVIDIA GPU attestation & unimplemented TDX:
services/opensecretpinsMaplePrivacyLabs/tinfoil-rs(f0fef79), whose verifier (tinfoil-rs/src/verifier/attestation/mod.rs:96–112) verifies AMD SEV-SNP CPU reports only (TdxGuestV2returnsErr(UnsupportedFormat)) and has zero NVIDIA GPU SPDM/NRAS/RIM code in its dependency tree. Our live 1 Dec 2026 probes of Maple's dedicated GPU nodes (i01,i02,i03.tfinf.maple.ai/.well-known/tinfoil-attestation) confirm all three serve bare 1,184-bytesev-snp-guest/v2CPU-only quotes (zero GPUdevice_evidence). - GPU container config gaps: None of Maple's 4
inference-*tinfoil-config.ymlrepos pass--disable-log-requestsor--disable-uvicorn-access-logon vLLM;inference-kimi-k3-1-proandinference-penclawpass--trust-remote-code; and bothinference-deepseek*configs omitread_only: true.
7. Web CDN trust (live zero-CSP/XFO/HSTS on app.maple.ai), unpinned /proof & Android release bypass
- Source-verified & live-confirmed zero CSP / X-Frame-Options / HSTS on
app.maple.ai:scripts/ci/pages_artifact.py:53forbids_headersin build archives andscripts/ci/pages_deploy.py:48, 56–57, 442–446setsAPP_DESTINATION.headers = None(with no CSP<meta>inindex.html). A liveGETprobe on 1 Dec 2026 confirmedhttps://app.maple.ai/returnsContent-Security-Policy: None,X-Frame-Options: None(clickjackable),Strict-Transport-Security: None(HSTS absent onapp.maple.ai,auth.maple.ai, andenclave.trymaple.ai), andAccess-Control-Allow-Origin: *—while long-livedaccess_tokenandrefresh_tokensit in plaintextlocalStorage(sdk/src/lib/transportV2/auth.ts:44–60) and OAuth Transport V2 keys sit in plaintextsessionStorage(runtime.ts:405–424). Desktop Tauri also setsscript-src 'self' 'unsafe-inline', permitsconnect-src https://raw.githubusercontent.com, exemptsopensecret.cloudfrom macOS ATS (tauri.conf.json:60, 95), writes plaintext proxy API keys on macOS/Linux with a0o644→0o600TOCTOU window (src-tauri/src/proxy.rs:1045–1087), and grants renderer JSfs:allow-read-file/write-fileover$APPCONFIG/**(capabilities/default.json:11–26). - Unvalidated external billing URLs on zero-CSP frontend & Tauri opener wildcard: Unlike
openValidatedCheckoutUrl,createCheckoutSession,createZapriteCheckoutSession,purchaseApiCredits, andportalUrl(billingApi.ts:266–382,ApiCreditsSection.tsx:154–193,pricing.tsx:714–743) pass external non-TEE billing URLs directly towindow.location.href(and fall back towindow.openif Tauri's opener rejects them) with zero scheme or hostname validation—a direct XSS /localStoragetakeover vector if the external billing service is compromised. Separately,capabilities/default.json:32–58appends{"url": "https://*"}toopener:allow-open-url, nullifying its domain allowlist, andonnxruntime.rs:40–42, 80–87honorsORT_DYLIB_PATH(plus bare relative library fallbacks) in release builds. - Unpinned
/proofpage, Android release bypass & incomplete Nitro verifier checks:routes/proof.tsx:569–573fetches/attestation/${nonce}in a standalone request withoutx-opensecret-routing-key(decoupled from the user's active chat session). In Rust SDK release builds,http://10.0.2.2bypasses all Nitro attestation on Android (cfg!(target_os = "android"), notdebug_assertions,sdk/rust/src/transport_v2/client.rs:452–457); both Rust and TS Nitro verifiers omitBasicConstraints(CA:TRUE),KeyUsage(keyCertSign), and COSEprotectedheaderalg == -35checks; and Rust'sattestation.rs:620–639uses heuristic byte scanning for EC points while skippingdoc.digest == "SHA384".
8. Unpadded SSE traffic analysis, literal // TODO no-op logout, Apple email spoofing & global DoS
- Zero padding on requests, responses & per-token SSE chunks (Whisper-Leak side channel): Transport V2 uses ChaCha20Poly1305 with zero padding, prefixes every encrypted chunk with its exact 4-byte length (
transport_v2/framing.rs:104–112, 148–160), and flushes every SSE frame immediately withx-accel-buffering: no(gateway.rs:545–581, 625–628)—letting Cloudflare, AWS ALB, and the EC2 host observe exact per-token byte lengths (plaintext.len() + 21B) and timings, linked across requests by plaintextx-session-idandx-opensecret-routing-keyheaders for a full hour. - Logout is a literal
// TODOno-op; platform admin tokens survive password resets forever:// src/web/login_routes.rs:365-376 (& identical in src/web/platform/login_routes.rs:468-480) // TODO actually delete the refresh token drop(logout_request.refresh_token);
Refresh tokens have nojti/revocation and roll infinitely (30-day TTL). Worse, platform admin JWTs carry noauth_bindingor credential epoch (src/jwt.rs:581–590), so changing or resetting a compromised admin password never invalidates stolen platform tokens; and OAuth user refresh tokens cannot be revoked without deleting the account. - Arbitrary verified email spoofing via Apple native sign-in:
src/web/oauth_routes.rs:1509–1516skipsclaims.email_verified, falls back to unverified client-suppliedrequest.emailwhenclaims.emailis absent, and unconditionally writesemail_verified = true(src/main.rs:1896–1897)—allowing spoofed verified emails in prod and bypassing the@maple.ai/@opensecret.cloudinternal spend gate in Dev (dev_spend_gate.rs:37–48). Applenonceverification is also skipped whenever clientrequest.nonceis omitted. - Missing auth rate limits, blocking KDF on Tokio workers, unconsumed invite codes & process-wide DoS:
POST /login,POST /platform/login,POST /register, and/protected/delete-account/requesthave zero rate limiting (rate_limit.rs:248–262);password_auth::generate_hashblocks Tokio async workers directly in 5 handlers;PlatformInviteCode::validate_codeonly runsSELECTand never consumes invite codes (platform_invite_codes.rs:48–56); 16 unauthenticatedPOST /v2/sessioncallers can exhaust the single process-wideReplayBudget(16_777_216IDs) causing site-wide503for 1 hour (gateway.rs:54–59,session.rs:31–78); 4,096 unauthenticated OAuth starts lock out all OAuth logins globally for 10 minutes (oauth.rs:25–27, 156–158); and paid Kagi (/v1/web/*), Voxtral TTS (/v1/audio/speech), and Whisper STT (/v1/audio/transcriptions) endpoints have zero rate limits or usage debits (Whisper even works when a paid user's quota is 100% exhausted,openai.rs:3892). - Pre-validation Whisper GPU exhaustion, 4-slot global DoS & unvalidated
TTSRequest/embeddingsbuffering: On/v1/audio/transcriptions,MAX_AUDIO_BYTES = 39_000_000(sized for 20 min uncompressed WAV) is applied to compressed MP3/Opus/OGG/FLAC withaudio_seconds = None(transcription.rs:226–242, 505–524), uploading 3–5+ hours of audio to Continuum's GPU backend before checkingseconds > 1200.0while holding all 4 global permits (MAX_CONCURRENT_TRANSCRIPTIONS = 4,openai.rs:3721–3755) with zero rate limiting or usage debiting. MeanwhileTTSRequestuses#[serde(transparent)]to forward arbitrary unvalidated JSON fields verbatim to Tinfoil,/v1/embeddingsomits input array/char caps, and both buffer upstream responses via unboundedres.bytes().await(openai.rs:502–620, 4040, 4132). - Remote relay replay & unvalidated
image_url:src/web/remote/types.rs:8–18Ed25519 device registrations contain no timestamp/nonce (replayable indefinitely to extendiroh-relayaccess) and accept arbitrary HTTPS relay URLs with no domain/IP allowlist (remote/mod.rs:174–185);/v1/chat/completionsforwards arbitrary remotehttp:///https://image_urls upstream (openai.rs:407–417).
9. Maple Work / Agent: classifier blinding (is_embedded_data), Claude/Codex auto-approve, SSRF & GNOME D-Bus
- CRITICAL — Deterministic permission classifier blinding & approval card concealment: Before sending any tool input to the System One classifier or checking the 24 KiB escalation cap,
apps/maple-agent/crates/maple-agent/src/agent/permissions.rs:252–306, 509–518replaces any string matchingis_embedded_data(starts withdata:and contains;base64,) with"[embedded data omitted]":// apps/maple-agent/crates/maple-agent/src/agent/permissions.rs:290-296 if text.get(..5).is_some_and(|scheme| scheme.eq_ignore_ascii_case("data:")) && text.contains(";base64,") { return true; }A 1-line valid Python annotation (data: int = 0 # ;base64,) or bash snippet completely blinds the safety classifier (reducing arbitrary RCE to{"code":"[embedded data omitted]"}) AND conceals the actual Python code on the user's approval card (permissions.rs:509–518)! - Unconditional auto-approval of Claude Code & Codex commands (even in
ReadOnlymode): Althoughexternal_agents/claude.rs:9claims “we never set --dangerously-skip-permissions”, bothclaudeandcodexset"approvals": "agent"(catalog.json:9, 27,self.gated = false), causingexternal_agents/machine.rs:1259–1269to unconditionally replyAllowOnce/PermissionResponse::Allow/{"decision":"accept"}to every tool/command/file prompt without consulting the user—even when Maple's task mode isReadOnly. - Plaintext SQLite & OAuth tokens in all release builds:
apps/maple-agent/app/src/host.rs:1145setspassword_settings_available = cfg!(debug_assertions)—leaving all local chat histories, tool outputs,access_token,refresh_token, and attachments in plaintext on disk in every shipped release (store/schema.rs:41–42,docs/local-store-encryption.md:4–24). read_imagedirect-IP egress, DNS-rebinding SSRF & unconfined workspace reads:tools/read_image.rs:316–334, 423–444fetches plainhttp://andhttps://URLs directly from the user's own IP (even inReadOnlymode with zero approval!) using purely syntacticvalidate_public_host(zero DNS/IP resolution → trivial DNS-rebinding SSRF to127.0.0.1/169.254.169.254);path_utils.rs:22–59permits arbitrary absolute paths/..traversals across file tools; andpythonis unsandboxed native CPython.- Persistent unauthenticated GNOME Wayland screenshot D-Bus backdoor (Linux): Enabling CUA installs
winrects@cua(cua/gnome_helper.rs:66–108,resources/gnome-helper/extension.js:683–692, 856–927), exportingorg.cua.WinRectson the session D-Bus with zero caller authentication—letting any local process silently capture full-screen PNGs viaCaptureAsync(bypassing Wayland portal consent/indicators) and enumerate all window titles/PIDs even when Maple is closed. - Project Trust bypass via untrusted
AGENTS.md/CLAUDE.mdsymlink read & ACPFullAccessfail-open: Even when a user declines Project Trust (project_trust = false),pi-coding-agent/src/resources.rs:93–145unconditionally readsAGENTS.override.md,AGENTS.md, andCLAUDE.mdfromcwdand every ancestor directory up to/with no size cap and following symlinks, injecting them verbatim into the system prompt (system_prompt.rs:166–185). Separately, ACP tasks omitpermissionModeandAgentPermissionMode::from_saved(None)fails open toFullAccess(store.rs:84–97,types.rs:389–395), bypassingPermissionGate::checkcompletely. - Approval card parameter omission, MCP environment/classifier leaks, unbounded file reads & IPC DoS: Whenever a tool input contains
command,path,file_path,url, orquery,card_action(permissions.rs:509–518) hides all other fields (such as filecontent,edits, or HTTPbody) from the user approval card. Stdio MCP servers inherit the full host environment without.env_clear()whileDISALLOWED_ENVIRONMENTomits common execution/proxy variables (mcp.rs:66–98,connection.rs:646–660); untrusted remote MCPtool_descriptiontext is fed directly into the permission classifier state (permissions.rs:264–267);pi-coding-agent'sread,edit, andgreptools read entire files/lines without size or FIFO/device checks andOutputAccumulator::write_to_filewrites uncapped spill files (read.rs:41–43,grep.rs:144–149,output.rs:251–258); Windows MCP OAuth loopback omitsSO_EXCLUSIVEADDRUSE(mcp/oauth.rs:1202–1210); and deterministic/tmp/maple-agent-{uid}(host/ipc.rs:89–95) enables local multi-user IPC DoS.
10. Standalone maple-proxy CSRF/DNS-rebinding & CI/CD supply-chain gaps
- Standalone
maple-proxycredit theft & response exfiltration via CSRF / DNS rebinding: Whenenable_cors == false(the default) andMAPLE_API_KEYis set,proxy/src/proxy.rs:195–199auto-authenticates unauthenticated requests usingdefault_api_key—yet standalonecreate_app_with_state(proxy/src/lib.rs:30–64) omits theOrigin/Sec-Fetch-Sitebrowser-blocking middleware that Maple's own desktop wrappers added, and neither standalone nor desktop wrappers validate theHostheader against DNS rebinding. Multi-tenant proxy deployments (proxy/docker-compose.yml:25, 34) also share a singlecache_namespace_rootacross all callers' API keys (proxy/src/proxy.rs:40–44). - CI/CD & release attestation gaps: Every
actions/atteststep inrelease.yml,web-build.yml,desktop-build.yml,android-build.yml, andmobile-build.ymlsetscontinue-on-error: true(silently shipping unattested releases if attestation fails);proxy/Dockerfile:2, 21uses mutable unpinned base tags andproxy-publish.ymlpublishes unsigned Docker images (sbom: false, no Cosign); and untrusted PR CI jobs inci.ymlshare third-party/custom runner labels (blacksmith-*,maple-windows-2025-16core,xcode-27) with production signing workflows inrelease.ymlandopensecret-eif-release.yml.
11. Platform Org Admin→Owner escalation, missing AEAD AAD row-substitution, multi-tenant gaps & 5 GiB OOM
- Org
Admin→Ownerprivilege escalation:POST /platform/orgs/:org_id/invites(src/web/platform/invite_routes.rs:69–97, 120–128) allows anyOrgRole::Adminto create an invite withrole: "owner"and returnsinvite.codedirectly in the HTTP response;accept_invite(invite_routes.rs:321–332) never checksemail_verified; andPlatformInviteCode::validate_code(src/models/platform_invite_codes.rs:48–56) is a pureSELECTthat never marks signup invite codes used. Any Org Admin can spin up a second unverified platform account, invite it as"owner", accept immediately, and demote or delete the legitimate Org Owner. - Missing AEAD context binding (AAD) across BOTH platform secrets AND all user E2EE columns: Although OpenSecret's own
aead_db_tamper_tests.rstreats Postgres as an untrusted adversary,platform_users.password_enc(src/main.rs:2685–2693, 2864–2883),org_project_secrets.secret_enc(src/web/platform/project_routes.rs:449–453,src/jwt.rs:354–396), and every user-level E2EE column (messages.content_enc,user_instructions.prompt_enc,conversation_projects,conversations.metadata_enc, and/protected/encrypt—storage.rs:229–374,instructions.rs:95–490,conversation_projects.rs:59–313) use empty-AAD AES-256-GCM (src/encrypt.rs:40–85) with zero domain separation. An untrusted DB can substitute password/project-secret ciphertexts across rows, or transplant an encrypted message/tool-output blob directly into privilegeduser_instructions.prompt_enc(system-prompt injection) or swap message roles. Similarly,platform_password_reset_requests.encrypted_codeuses unboundencrypt_key_deterministic(src/main.rs:2477–2481, 2558–2597), letting an untrusted DB replay a known reset ciphertext onto another platform user's row; unthrottled guestPOST /registercan fill the non-evicting 10,000-slotrate_limits.inferencemap before billing checks for global503DoS (rate_limit.rs:188–195); andlegacy_verification_htmlinterpolates project/team names unescaped into HTML email templates (email.rs:293–342). - Missing multi-tenant
project_idisolation,/v1/responsesbilling fail-open & unenforcedproject.status: None of Maple's product routes verify that the caller belongs to Maple's project—any user from a third-party OpenSecret project can enroll onto Maple'siroh-relayfleet for free (src/web/remote/relay.rs:109–131). OnPOST /v1/responses, any billing-service timeout or error fails OPEN to unmeteredModelPlan::Free(src/main.rs:1525–1556,src/web/responses/handlers.rs:8057–8115, 6330), skipping bothcan_useand the 20,000-token cap; and settingorg_projects.statusto"suspended"or"inactive"is never checked on any route (src/models/org_projects.rs:51–60). - Arbitrary-
audthird-party JWT signing with OpenSecret's global ES256K key: Any authenticated user—including an unverified or guest account in any project without a customTHIRD_PARTY_JWT_SECRET—can callPOST /protected/third_party_tokenwith any non-reservedaudiencestring and receive a valid 1-hour JWT signed by OpenSecret's global ES256K key withrole: "authenticated"and no per-project audience allowlist (protected_routes.rs:1029–1062,jwt.rs:240–314, 397–455); relying parties validating the global public key +audwithout strictly pinningazpaccept cross-project tokens. - 50 MiB/row → ~5 GiB/request enclave OOM amplification & name-based
is_maple_projectspoofing: Despite its doc comment (max 16 key-value pairs,conversations.rs:109),validate_metadata(src/web/responses/conversations.rs:396–402) enforces zero key-count or size bounds (andinstructions.rs:258–290/conversation_projects.rs:123–130allow unbounded strings up to the 50 MiB envelope cap), soGET /v1/conversations?limit=100decrypts up to ~5 GiB concurrently inside the Nitro enclave. Separately,is_maple_projectchecks the mutable display stringproject.name == "Maple"(src/email.rs:129–156), allowing external orgs to spoof Maple-branded transactional email templates, whileupdate_projectomits.validate()and leaks cross-org(org_id, project_id)existence oracles (project_routes.rs:222–303).
12. Mobile (iOS/Android) plaintext tokens + allowBackup=true, auth.maple.ai & host nitro-toolkit VSOCK bypass
- iOS & Android plaintext WebView
localStoragetokens + AndroidallowBackupdefaults totrue: Neither iOS nor Android stores sessions in iOS Keychain or Android Keystore (keyringis compiled on Windows only;native_oauth.rs:52–57). Fullaccess_token,refresh_token, andcache_namespace_rootsit in plaintext WebViewlocalStorage(sdk/src/lib/transportV2/auth.ts:146–149), andapps/maple-research/frontend/src-tauri/gen/android/app/src/main/AndroidManifest.xml:11–15omitsandroid:allowBackup="false",fullBackupContent, anddataExtractionRules—defaultingallowBackuptotrueso Google Auto Backup andadb backupexport the WebView LevelDB token store (and iOS WKWebViewWebsiteDatabacks up to iCloud/Finder). auth.maple.aileaves long-lived tokens inlocalStoragepermanently + incomplete CSP: After native OAuth callback (apps/maple-auth/src/auth-site/HostedCallback.tsx:52–59), neither approval, cancellation (HostedNativeSignInConfirmation.tsx:103–110), nor expiry clearslocalStorage, andAuthSite.tsxhas no sign-out route. Meanwhilescripts/ci/pages_auth_deploy.py:22–28sets onlyContent-Security-Policy: frame-ancestors 'none'(noscript-src/connect-src, no HSTS, nonosniff, Apple JS loaded without SRI), and/agent/startaccepts any port1..65535with plaintext query-stringhandoff_grant(desktopOAuthTransport.ts:55–57, 297–304).- Host
credential_requester.pyunauthenticatedVMADDR_CID_ANYVSOCK listener (IMDSv2 bypass) & unboundednitro-toolkitdaemons:services/opensecret/nitro-toolkit/credential_requester/credential_requester.py:77–78, 121–195bindsVMADDR_CID_ANYon port8003with zero peer CID check and zero Secrets Manager allowlist, while deployed--privilegedasroot(docs/nitro-deploy.md:2229). Any local host process or container with VSOCK access can bypass IMDSv2 hop limits to fetch live EC2 IAM credentials ({"request_type":"credentials"}) or arbitrary Secrets Manager secrets readable by the host role. The toolkit'scloudwatch_logger.py:46–108(alsoVMADDR_CID_ANY, unbatched 1 KB-per-API-callput_log_events,CloudWatchLogsFullAccess),traffic_forwarder.py:25–43, 135–157(3 threads/conn, no concurrency cap, infinite idle retention), and enclave startupvsock_helper.py:26–36(unbounded RAM buffer) share the same missing bounds and timeouts.
13. Verbatim marketing claims vs. verified code reality
| Verbatim Claim on Maple's Live App | Verified Code Reality (1 Dec 2026) |
|---|---|
“Chat history is encrypted with this key before leaving your device and stored in encrypted form on our servers... decrypted locally.”proof.tsx:506–510 |
False in current code. Maple Research makes 0 client-side chat encryption calls; plaintext travels over Transport V2 to the Nitro enclave, where the server encrypts/decrypts DB columns using enclave_key (conversations.rs:78–98), which AWS root can unwrap offline without user passwords (seed_wrapping.rs:101–143). |
“You trust the hardware (AWS Nitro) and the code (open source). No employees, no third parties, no master keys.”proof.tsx:766 |
Contradicted on all three: (1) One Bitwarden P-384 key signs all PCR0s; (2) KMS-wrapped enclave_key is a master key recoverable by AWS root & substitutable by the EC2 host; (3) Default-on Kagi search, Cloudflare Pages CDN, BetterStack iframe, and closed-source billing/flags receive user data/metadata. |
“The cryptographic proof on this page confirms the running code matches the published source.”proof.tsx:530–531 |
Refuted by Maple's own secretspec/README.md:112–113: “the signature does not authenticate a commit or the artifact's build provenance.” Zero clients check Sigstore; 178 historical PCR0s back to Apr 2025 are accepted forever; 14.4 MB continuum-proxy is not built from source; /proof isn't bound to the active session. |
“No data is used for training models nor shared with third parties, not even us.”about.tsx:68–69 |
Default-on web search sends plaintext queries & URLs to non-TEE Kagi (joinable via CloudWatch trace_id); closed-source billing.opensecret.cloud, SQS, CloudWatch, and Postgres log per-request model, tokens, timestamps, and tool_calls.name; flags.opensecret.cloud gets unauthenticated userId + IP. |
“Full infrastructure compromise yields only encrypted blobs.”proof.tsx:770–771 |
AWS root KMS policy update + Neon dump decrypts every user's seed & chats offline; EC2 host compromise swaps enclave_key with zero PCR0 change; CDN compromise replaces web JS (no SRI/CSP); and Maple Work release builds store local chats & tokens in plaintext SQLite. |
Audit boundaries: All findings on this page were verified strictly from $0.00, zero-account, read-only inspection of public Maple/OpenSecret GitHub repositories and public unauthenticated attestation endpoints on 1 December 2026. No active exploitation, credentialed testing, or intrusion was performed. Every finding includes exact repo/file:line citations so Maple engineers can verify and remediate each gap 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.
Verify a live AMD SEV-SNP quote, E2EE per-token receipts, and real Hopper/Blackwell SPDM + signed NVIDIA RIMs 100% in-browser.
Legacy KMS root-key theft, Shadow-CVM threat model, zero-timelock Ethereum/Base Safes, and live audit of inference.phala.com.
Dynamic Cosign/Helm keys outside RTMR3, zero attestation checks in official E2EE SDK/proxy, and 97.8–99.5% Try-1 KV bleed.