Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.
[Codex Security] Unvalidated argus.lock content is evaluated as shell syntax by GNU make
openeb0e50a79088fd5d #9 · opened 2026-11-15 17:10 UTC
Imported from GitHub drakestapleton/omega-mv#9, by drakestapleton
Base 91f88c287d7831784a808c5b054818fd9055afb5 · Head dedfb9188cafd84dadb69fae9e91eff176a9b486
drakestapleton wrote on 2026-11-15 17:10 UTC
The patch validates argus.lock as data before GNU make can derive or execute any ARGUS command.
A fixed awk parser accepts exactly one lowercase 40-hex commit; trailing bytes and malformed representations fail make parsing.
ARGUS_COMMIT and ARGUS_SHORT are override-protected parser outputs, and the archive revision is quoted and option-delimited.
This breaks the contributor-controlled lock-to-shell path before arbitrary commands can run with developer, CI, or gate authority.
The original ARGUS commit remains pinned, canonical final-newline handling remains supported, and copied-Makefile fixtures receive the required lock.
Static Verification Checks
Strict lock parsing (Passed) — Makefile ARGUS_LOCK_FIELDS accepts one lowercase 40-hex line and excludes every other lock byte from shell expansion.
Protected archive revision (Passed) — Makefile ARGUS_COMMIT and ARGUS_SHORT are override-protected parser outputs, preserving pinned archive selection without attacker-controlled syntax.
Gate path closure (Passed) — tests/gates/run.sh quotes the first field, while Makefile rejects the complete malformed file before ARGUS shell sinks.
Malformed input coverage (Passed) — tests/argus_lock_validation.sh asserts whitespace, extra fields, options, newlines, comments, and metacharacters are refused without payload execution.
Legitimate pin preservation (Passed) — argus.lock retains the original commit, and source assertions accept canonical content with or without its final newline.
Fixture compatibility preserved (Passed) — tests/aienos_lock_source/run.sh copies argus.lock into its Makefile fixture, preserving unrelated lock-source behavior under strict parsing.
Finding: acf_d908322d5e74752a52568ec815fc1d4e
Patch: arp_278019b86ba27a93f64c6dd9d1aaf001
Base commit: 91f88c287d7831784a808c5b054818fd9055afb5