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

72 lines · 4997 bytes Raw Blame History Rendered
1# Corrective branch qualification
2
3Scope: #669, with bounded compiler-input and test-verdict checks relevant to #671/#624.
4This receipt does not close #673, qualify a sandbox, or approve release.
5
6Threat model: source input can require a branch beyond its encoding range. The protected asset
7is control-flow integrity of the emitted program, and accurate acceptance/refusal by the compiler.
8The demonstrated defect was wrong branch encoding, not demonstrated data theft or host compromise.
9Enforcement is `seed/omc/omc.om:disp19`, consumed by `patch19` and `blo`, on Linux AArch64.
10The corrected backward unsigned boundary is2^64-1048576. Both exact signed extrema are accepted;
11both adjacent out-of-range values and both alignment controls refuse24. Current callers either
12use that guard or the documented aligned8MiB imm26 capacity invariant.
13
14`native-gate6.log`, `.err`, `.exit`, `source-identities.txt`, and `native-gate6-identities.txt`
15are the final author result for this slice. `native-gate6-artifacts.tar.gz` retains every generated
16source, compiler/probe/program binary, parameter fixture, decoder output and child diagnostic.
17The numeric filenames are linked to raw commands in the log. Source identities include the gate,
18helpers, om4, rebuilt compiler source, runner binary and external decoder. Platform/version files
19identify the actual native host and decoder. The archive is synthetic and contains no private data.
20
21Properties tested: self-rebuild equality; eight exact encoder boundaries; real backward array fill;
22small and maximum forward programs decode to the marker and execute0; oversized if, nested if,
23while and trap-site programs refuse24 with empty output; a compiled range-bypass mutant emits
24the wrong target, which the external decoder plus checker rejects61. That malformed program is
25never executed. Seven decoder-text controls cover a valid marker, malformed target, wrong register,
26duplicate marker, absent marker, wrong target and mnemonic-prefix confusion. Empty input refuses62.
27
28Supervisor controls in `control-*.log`, `.err` and `control-exits.txt` exercise ordinary wrong exit,
29self-signal and deadline overrun; all returned99. Signals/timeouts are reported INVALID within the
30failed run, not PASS. The child wait low byte9 is recorded for signal/deadline controls. There is no
31process-tree or kernel resource isolation claim.
32
33Independent review found an overly permissive marker/target parser. The final source adds token
34delimiters and an exact pinned-format x1 marker, with the review reproducers in the native corpus.
35The independent final review is recorded separately and must match these source identities.
36
37Failed author attempts remain in this directory. Initial mutator/checker builds failed16,12,17;
38gate builds failed13,3,18,7. These are failed development attempts, not security passes. The first
39probe run mistakenly executed empty failed-build outputs through Bash, producing misleading0s.
40`probe-results.txt` and initial probe files are INVALID and excluded. Subsequent execution requires
41successful compilation and ELF inspection, and the native coordinator independently checks ELF
42magic before execution. Gate attempt1 failed105 in fixture-byte narrowing; attempt4 failed99 when
43the array fixture did not compile. Both were corrected and rerun. Other earlier passes are
44superseded by final-source gate6, not silently substituted for it.
45
46Historical preservation: the seven `evidence/SEED-0/omc` files replaced by the initial candidate
47are restored exactly from f0499f41. DeepSeek's replacement bytes remain separately under
48`deepseek-gate5-preserved`. The retired shell669 gate remains as historical text, as well as in
49its original Git commit. Its existing report and crash-inclusive log remain historical evidence
50and are not the authority for this corrected slice.
51
52Residual assumptions: trusted Linux kernel, GNU decoder and filesystem; no concurrent source or
53artifact modification by another process under the same account; same-lineage checker/runner;
54fixed synthetic input families; no complete language proof, diverse compilation, timing-channel,
55device-isolation or arbitrary-native-code sandbox claim. Existing seed reconstruction still uses
56historical shell tooling. Closure requires the compiler/release owners' integrated review.
57
58Raw invocation for the final author run:
59
60```text
61build/security673-correction1/stage2 < seed/qualification/security673/gate669.om > build/security673-correction1/gate669 2> evidence/SECURITY-673/correction1/gate-build10.err
62exit 0
63readelf -h build/security673-correction1/gate669
64exit 0
65chmod +x build/security673-correction1/gate669
66exit 0
67build/security673-correction1/gate669 > evidence/SECURITY-673/correction1/native-gate6.log 2> evidence/SECURITY-673/correction1/native-gate6.err
68exit 0
69```
70
71Gate child commands and every actual exit are in the raw log; supervisor-control commands use
72the same executable path followed by0,1,2, with fresh scratch and respective logs. They exited99.