Problem and evidence
In seed/omc/omc.om at 57f5f4258cebf3d5b2c22853cd062e351265c525, vs_chk validates buffer ranges, vs_fd accepts an integer descriptor, and vs_call emits Linux AArch64 read/write syscalls. These are memory checks, not a complete resource-authorization policy. This is a boundary qualification task, not a claim that ordinary descriptor I/O is itself a vulnerability.
Existing owners
Extend #636 host facilities and #649 effect/authority lifecycle; consume #659 contracts and #648 typed interfaces. Reuse the existing launcher, capability root and dispatch owner. Do not create another authority service.
Required contract
- State threat models separately: compiler-produced restricted .om, arbitrary native code, malicious dependency and compromised agent. Identify which isolation boundary protects against each.
- Inventory all ambient inputs: inherited descriptors, environment, working directory, filesystem namespace, IPC, sockets, subprocesses and device handles. Enumerate intended effects and their enforcing layer.
- Launch untrusted workloads with only explicitly assigned resources. Strip unintended inheritance and verify descriptor closure across exec/spawn and error paths.
- Bind each effect to object identity, permitted operation, requester/security domain, current grant generation, lifetime and resource budget. Numeric descriptor reuse must not resurrect old authority.
- Enforce at the actual trusted host/kernel boundary. Om typing alone cannot sandbox arbitrary machine code; document any host isolation dependency and fail closed when it is unavailable.
- Resolve authority checks and dispatch atomically or with a justified generation/fencing protocol; define revocation during queued and in-flight effects.
- Define syscall/provider coverage and bounded CPU, memory, descriptors, output and wall-time handling; loop fuel alone is not a complete denial-of-service control.
Qualification
Use disposable files and synthetic payloads only. Test unintended inherited descriptor, guessed/stale/reused handle, closed/reopened object, child delegation escalation, revoked grant, wrong scope, malicious subprocess and resource exhaustion. Include legitimate typed-pipeline use so the controls do not silently break Unix composition. Compile bypass mutants and require specific authorization failures; report unsupported threat models explicitly.
Reference: https://web.mit.edu/Saltzer/www/publications/protection/Basic.html and https://www.cs.wpi.edu/~cs557/f14/papers/confused_deputy-hardy.pdf .
Delivery and qualification
Authorized security follow-up, 2026-10-23. Reconcile current source, branches, issue comments, AGENTS.md, plan authority and worktree ownership before edits. One writer per shared compiler/runtime file; preserve existing Renda/desk review and release ownership. All new first-party implementation, runners and tests use seeded .om. Missing facilities go to the existing compiler owner; no second compiler, runtime, authority or store. Qualify replacements and consumers before removing superseded active first-party code/dependencies; preserve Git history and immutable evidence. Record exact source/seed/compiler/binary/config/fixture identities, raw commands and exits, independent review and explicit PASS/FAIL/INVALID/NOT_RUN. Emulation is not hardware qualification. A hash/signature authenticates identity, not correctness. No automatic deployment, live GPU interruption, driver changes, private-data upload or issue closure from a source-only PR.
Atomic authority and object identity follow-through
Consume #625's composed effect contract, #756 quantity/epoch rules and #757 durable reservations; integrate aien-dev/omnet#3. Preserve the qualified execprog/execpure slice and its explicit limits.
- Bind authenticated principal, resource object identity, operation, policy epoch, state version and budget to the actual effect. Checking then separately dispatching is insufficient; prove locking/fencing/provider semantics and define revocation of queued versus in-flight work.
- Reconcile #685/#686/#687 source corrections and independent native evidence before editing seed/authority/{dispatch,store,lock}.om. The inspected branch still contains read-before-lock, stale-PID read/check/unlink and unchecked release paths; existing patches are not a general lock proof.
- Distinguish object, pathname membership and content version. Open/validate/use the same object; use constrained directory-relative resolution and descriptor operations where supported. Prove the namespace assumptions for rename/unlink/publication; an fd alone does not freeze contents or authorize every hard link.
- Handle descriptor/generation ABA, malformed lock records, concurrent reclaimers, lost ownership, revocation between outcome check and reacquisition, short I/O and failed release. Define safe refusal and recovery without a permanent denial-of-service lock leak.
- Verify authority at the real kernel/provider boundary. Foreign/native/device routes cannot bypass mediation; unsupported threat profiles remain unsupported. Model platform-specific guarantees, never silently downgrade.
Acceptance: deterministic multi-process schedules exercise object replacement and revocation at every relevant boundary, including corrected stack tips and bypass mutants. Link results into #624 and omnet#3; no source-only closure.