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
omega-mv / evidence / SECURITY-673 / hostile1 / REPORT.md
| 1 | # Bounded source ingress qualification |
| 2 | |
| 3 | Threat: external source text exceeds supported syntax, numeric or storage limits, or consumes |
| 4 | pathological parsing work. Protected assets are compiler acceptance/refusal accuracy, emitted |
| 5 | program semantics and bounded resources for this finite campaign. Enforcing code is the existing |
| 6 | `seed/omc/omc.om` lexer, `tok_num`, `rdval`, `pushb`, function/name tables, pool limits and input |
| 7 | read bound. No compiler production change was needed for these selected source cases. |
| 8 | |
| 9 | Author final command: `/usr/bin/time -v build/security673-hostile/gate 3`, stdout `gate5.log`, |
| 10 | stderr/resource record `gate5.err`, exit0. The gate was compiled by exact existing seeded compiler |
| 11 | 6b5d9403 with successful build and ELF inspection before execution. Source/compiler/runner/tool |
| 12 | and every generated fixture identity are in `identities.txt`; `artifacts.tar.gz` retains them all. |
| 13 | All individual generated commands, exits, expected exits and elapsed nanoseconds are in the log. |
| 14 | The independent eighteen-row result and raw archive are in `../independent671`. |
| 15 | |
| 16 | The oracle is the preexisting language profile, integer bounds and Boolean-negation parity, not |
| 17 | a copy of the parser. Cases include20 accepted versus21/million-digit refused decimals;1000, |
| 18 | 1021 and1022 Boolean negations versus1023 refusing value-depth capacity;512/513 nested blocks; |
| 19 | million-byte literal;511/512 auxiliary functions; NUL; oversized global pool; unterminated quote; |
| 20 | unknown name; million spaces; and input exceeding8MiB. Eight accepted fixed-compiler programs |
| 21 | execute with predicted results, including odd/even Boolean outcomes; ten refusals produce empty |
| 22 | output. Expected refusals are6,14,16,23,22 or3 as specified in the raw table. |
| 23 | |
| 24 | Meaningful compiled negative control: an exact-once transform changes only `if gt ndig 20` to21. |
| 25 | That compiler incorrectly admits a21-digit zero literal, emitting an ELF216 bytes long. The |
| 26 | fixed compiler refuses the same bytes with6 and empty output. The violation is the profile's |
| 27 | numeric token limit, independently documented before the experiment. The mutant ELF is retained |
| 28 | and format-inspected but not executed. No build failure, crash or timeout counts as mutant success. |
| 29 | |
| 30 | Observed author wall time was recorded by GNU time, including0.09seconds and8160KiB maximum |
| 31 | resident set in the prior final-profile run; use `gate5.err` for the final exact observation. |
| 32 | Independent final replay similarly observed0.09seconds/8160KiB. These are finite host observations, |
| 33 | not enforced memory/CPU limits or universal complexity guarantees. The existing30-second direct- |
| 34 | child deadline remains in the coordinator. Native Linux AArch64 only, no device execution. |
| 35 | |
| 36 | Failed attempts remain: generator error13 came from an overlong developer identifier; the first |
| 37 | deep-expression fixture incorrectly used two bare literals (11), and its successor attempted an |
| 38 | unsupported bool-to-int conversion (9). Both gate attempts failed99 and are excluded. The final |
| 39 | fixture is a valid Boolean condition, with results derived from parity. No production bug is |
| 40 | inferred from those invalid development fixtures. Initial and superseded log files are historical. |
| 41 | |
| 42 | Residual obligations for #671: other source/import, manifest/receipt/RPC/trace/device parsers; |
| 43 | authentication/canonicalization equivalence; complete systematic truncation/mutation fuzzing; |
| 44 | kernel resource isolation; cross-platform and compiler-independent semantic proofs. This slice |
| 45 | does not close #671 or #624 and does not qualify an untrusted-workload sandbox. |