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 / renames1 / REPORT.md

51 lines · 2318 bytes Raw Blame History Source

Rename packed-list ingress for Omega #671

Date: 2026-10-23. Parent tracker: #673. Branch: fix/security673-qualified. Platform: Linux AArch64, native execution.

Threat and protected property

renames accepts a packed list and must consume exactly two nonempty path records before calling renameat2. A truncated record, extra record, empty path, embedded zero or trailing byte must trap before a kernel rename. The protected assets are the caller's filesystem namespace and the correspondence between the supplied records and the two paths actually renamed.

Enforcement is the existing hpack lowering in seed/omc/omc.om (line 2533), which is shared with execprog and the other packed-list words. The test consumer is a normal compiler output.

Cases and results

renames-corpus.om writes the packet; renames-consumer.om creates build/security673-native/ren-src, then calls renames pkt 0 n 0. Exit 0 means the rename succeeded; exit 103 is trap 3 before the rename.

ModePacketExpectedObservedSource after
0exactly ren-src, ren-dst00renamed to ren-dst
1one record103103remains
2three records103103remains
3empty first record103103remains
4empty second record103103remains
5valid pair plus one trailing byte103103remains
6embedded NUL in first path103103remains

Mode 0 is the positive control: the source disappears and the destination exists. Every malformed mode leaves the source in place, so the trap occurred before the kernel rename.

Executed gates

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

Raw output is gate-renames.log; identities.txt binds the compiler, corpus, consumer, gate and log.

Residual limits