Mendora
Documentation · Security model

Security model

ThreatControl in this repositoryRemaining risk
Hostile archivesstream-limited gzip, no absolute paths, traversal, links, special files; file-type allowlist; per-file, total and ratio limits; files written by handbugs in Python's tar reader
Hostile codeFirecracker microVM per case-trial; without it, fail closed. The trusted demo mode runs only allowlisted repository samples and is labeled as not an isolation boundaryhypervisor or kernel exploits (production)
Programs reading the answerthe case is the program's only input; references and world specs stay on the validatorside channels on the host (production)
Leaking private casespublic endpoints serve published rounds and disclosed cases only; private bundles live under var/private; no source maps in production buildsstaff or validator leaks
Cross-tenant accessevery customer query filters by tenant; other tenants' jobs return 404misconfigured roles
CSRFSameSite cookies plus a required client header on cookie-authenticated state changes—
Session theftHttpOnly cookies; tokens stored as SHA-256 only; 12-hour expiryXSS in future code
Replaysubmission signatures bind the round; attestation nonces are unique; equivocation is recorded—
Two controllersjob leases with fencing tokens checked under a per-job advisory lock at every decision—
Chain misuseno write methods; startup refuses MENDORA_MAINNET_WRITES_ENABLED—

Demo accounts share one password and exist only in the local demo (/api/auth/demo-accounts returns 404 elsewhere). Report security issues privately to the repository owner.