Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/spark-connector/blob/main/SECURITY.md # spark-connector aien-dev/spark-connector Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `spark-connector / SECURITY.md` 49 lines ยท 2861 bytes Raw Blame History Source # Security policy ## Reporting a vulnerability Report privately by email to drake@aienos.com with the subject `[spark-connector] security report`. Include the commit you tested, the component (path), steps to reproduce and what an attacker gains. Do not post proof-of-concept payloads publicly. If the report involves a secret, say where it was exposed and do not send the secret itself. This project has one maintainer; targets are best effort: acknowledgement within 3 working days, triage within 7 days, a fix or mitigation within 30 days for high and critical issues and 90 days otherwise. Fixes land on the default branch `main`. ## Threat model (version 1) Both directions are hostile. Toward the volunteer's computer: - A published part is untrusted code. It runs only inside `execpure` (Landlock: read and execute of that one program; seccomp: read(0), write(1|2), exit and its own execveat; prlimit: CPU 1 s soft / 2 s hard, 1 MiB file size, 8 MiB stack, no core, no processes, 4 descriptors, 128 MiB address space; empty environment), with a 3 s wall clock per stage. The compiler runs in the same cell. - The hub is untrusted beyond choosing which published part to rerun: the runner checks that the record's SHA-256 is the revision the job names and refuses any compiler but the pin. - The runner opens no listening socket and accepts nothing inbound. Toward the hub: - A runner is untrusted. Messages are fixed-form text of at most 4096 bytes; the hub parses and stores them and never executes, compiles or opens anything a runner sends. File names it builds from a message are lowercase hex of fixed length under its store. - Signatures are checked before any rate counter moves. Replays are refused (the replay key is the SHA-256 of the signed bytes, so the other encoding of an ECDSA signature is a replay too); a key counts once per revision; results must answer a job the hub issued to that key within the hour. - What volunteers download (the join script, the runner, the compiler) and the deny list are read by the hub from a folder bound read-only at `/community` under the sandbox's read-only root, never from its writable store, so a compromised hub process cannot change them. - The runner's folder must be named `.interplane-runner`; `leave` removes only the files it made. Independent review: a security-reviewer pass on 2026-11-11 found 3 required and 5 advisory issues; the fixes and their gate cases are in the history (see the report for the list). One design limit stays: keys are free, so many keys can use the hub's hourly quota, and one key can mark a part as disagreeing. Out of scope: a volunteer who changes their own runner (their results are theirs and show as disagreements); the Linux kernel's own Landlock and seccomp implementation. ## Supported versions Only the default branch `main`.