interplane.Get Omega
Read in your language

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

branch main Branches Tags History

omega-mv / evidence / SECURITY-673 / packet1 / REPORT.md

64 lines · 3397 bytes Raw Blame History Source

Packed-list ingress qualification for Omega #671

Date: 2026-10-23. Parent tracker: #673. Branch: fix/security673-qualified. Platform: Linux AArch64, native execution. No device, GPU or network ingress was exercised.

Threat and protected property

A caller-supplied packed list can be truncated, over-counted, padded with trailing bytes, contain an embedded zero in a path, or carry an offset/length that exceeds the actual array. The protected assets are the compiler's host-word acceptance decision and the kernel argument vector: a malformed packet must trap before execve, and a valid one must be consumed exactly.

Enforcement is the existing hpack lowering in seed/omc/omc.om (line 2533) for execprog, renames and the other packed-list words. At runtime it requires a u16 count in 1..64, a total packet of at most 4096 bytes, a u16 length plus that many bytes per record, a nonempty first record for execprog, no embedded zero, and no trailing bytes. Failures trap 3 before descriptor closure and before execve. The parser is emitted into the compiled program; the test consumer is a normal compiler output, not a copied implementation.

Cases and results

packet-corpus.om writes raw packets; pkt-consumer.om reads up to 4096 bytes and calls execprog pkt 0 n. The coordinator compiles both with the rebuilt compiler, generates each packet, and compares the consumer exit. Exit 0 means /bin/true was executed; exit 103 is trap 3.

ModePacketExpected exitObserved
0one record /bin/true00
1count 0103103
2count 65103103
3count 1, length 5, three bytes103103
4valid record plus one trailing byte103103
5first record empty103103
6embedded NUL in /bin/tr\0ue103103
7record length 4093 with 4092 bytes present103103
864 records, first /bin/true00

Mode 7 is exactly 4096 bytes on stdin; the declared record length exceeds the bytes actually present, so the parser refuses rather than reading past the packet. The accepted modes execute the real executable, so the test also proves the parser produced a usable argument vector for the kernel, not just a return value.

Executed gates

CommandResult
build/gate669-pkt (normal)exit 0, GATE669 PASS
build/gate669-pkt 3 (source campaign)exit 0, GATE671 SOURCE PASS
sh seed/host/gate.shexit 0, all host groups pass

Raw output is gate-packet.log, gate-hostile.log and host-gate.log; stderr for the gate runs is empty. identities.txt binds the compiler, corpus, consumer, gate and logs by SHA256.

Residual limits