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/omega-mv/issues/1a162a7a67650f6a # omega-mv Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance. Brought by drakestapleton Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers # [OM-SEC P1] Prevent cross-client leaks through resource admission and reclamation Open · #759 · open 2026-10-25 19:05 UTC Imported from GitHub aien-dev/omega-mv#759, by drakestapleton drakestapleton wrote on 2026-10-25 19:05 UTC ## Problem A service can obey all quotas and still leak a secret through another client's success, latency or resource availability. Constant-time cryptography alone does not cover scheduling, allocation, completion, cleanup or accounting. ## Implement - Extend the existing scheduler/admission owner with information-flow labels and public resource envelopes. Reserve capacity before secret work; keep secret-dependent occupancy inside the envelope invisible to lower-security clients. - Define public admission/scheduling and reclamation rules. Secret-dependent early completion must not automatically release capacity into a public pool. Explicitly permitted disclosure is versioned and justified, not an unchecked declassification escape. - Cover CPU shares, memory, queues, stored state, logging, cleanup and error delivery for a finite declared profile. Isolate/charge supervisor and scheduler work; do not assume runtime overhead is constant. - Keep public readiness decisions from depending on secret occupancy, cancellation or errors. Model fixed-release schedules, partitioning or another proved policy; document utilization costs and policy choices. - Compose resource invariants with paired-execution observation invariants. Include a documented scheduler/interference model; fairness/liveness are separate claims. - Integrate with conserved reservations and native secrecy leaves. Preserve the existing scheduler rather than introducing a parallel authority or general daemon. ## Acceptance - Capacity 2: secret 0 retains 1 unit, secret 1 retains 2; a public request for 1 leaks the bit through accept/refuse. The baseline demonstrates it; the protected profile produces equal permitted public observations. - Reclaim-on-secret-completion, secret-dependent cancellation, per-request errors and secret-dependent supervisor work are detected by independent paired-run controls. - At a public release boundary, resources become reusable without leaked internal completion time under the declared model. Test restart semantics with durable reservation ownership. - Measure utilization, tail latency and enforcement overhead against the same workload and fixed budgets. Retain no-win results; the optimizer never trades a secrecy obligation for speed. - Declare excluded hardware/OS channels. Hardware timing measurements supplement, not replace, the logical noninterference proof. Research: https://doi.org/10.1007/978-3-030-17138-4_1 . Its formal scheduler controls allocation and reclamation but excludes important hardware/OS channels and runtime timing; Omega must supply its own implementation correspondence. ## Delivery contract Parent: aien-dev/omega-mv#673. Additive scoped work; preserve existing programme, compiler, authority/store, verifier and publication owners. Reconcile main, live branches/PRs, issue comments and applicable repository instructions before edits. One writer per shared path. New first-party implementation, test and runner logic is seeded .om; independent third-party provers/Wolfram may be development oracles outside the delivered runtime. No second compiler, scheduler, authority or store. Version semantic changes; qualify consumers before removing superseded active implementations; preserve historical evidence. Separate implementation status from assurance: formal proof, exact finite-model result, differential tests, native/emulated run and hardware qualification are distinct. Unknown/timeouts/build errors/missing evidence never establish safety. Record exact source, semantic profile, compiler, target, executable, checker, model/config/fixtures, raw commands/exits and independent final-source review. No deployment or live workload interruption is authorized by this issue. ## Linked dependencies Resource accounting: #757. Source/native secrecy: #758. Freeze shared interfaces early; complete composition after both are qualified. Consumer: aien-dev/omnet#3. No comments. Sign in to comment