interplane.Get Omega
Read in your language

spark-connector

aien-dev/spark-connector

Brought by drakestapleton

branch main Branches Tags History

spark-connector / AUDIT_SCOPE.md

29 lines · 1503 bytes Raw Blame History Rendered
1# Audit scope
2
3For an outside, independent security review of the community runner (version 1, 2026-11-11).
4
5## What to review, in priority order
6
71. `runner/30cell.om`: the only path by which brought code runs (fork, stage files on 0..2,
8 `execpure`, wall clock, process-group kill, the close-on-exec error pipe).
92. `runner/40job.om`, `runner/20net.om`: what the runner accepts from the hub (job fields, the
10 record and its hash check), outbound HTTP(S) only, response size handling.
113. `runner/10key.om`: key generation, storage (0600, O_EXCL) and ECDSA signing (random k, blinded
12 inversion, self-verification).
134. `runner/50cmd.om`, `runner/00base.om`: the state folder, `leave` (recursive removal that never
14 follows a link), the background supervisor, the pid file check.
155. `runner/joingen.om`: the generated join script (downloads by hash, refusal on mismatch).
166. interplane-forge `community/*.om`: message parsing, signature check, order of checks, rate and
17 deny files, job issue and use, the counting rule, file serving under `/community/`.
18
19## Trust boundaries
20
21- Untrusted: published parts (run on volunteers' machines), runner messages (to the hub), the hub
22 (from the runner's side, beyond its choice of published part).
23- Trusted: the pinned compilers, the Linux kernel's Landlock/seccomp/rlimits, the operator who
24 edits the hub's deny list.
25
26## How to run every check
27
28`FORGE_SRC=... OMEGA_SRC=... sh gates/run.sh` (Linux aarch64). Its recorded output is in
29`evidence/`.