nx_opennet_posture_gate.nx
buildroot/runtime/nx_opennet_posture_gate.nx
about
nx_opennet_posture_gate.nx -- liar-killed GATE for the open-net posture ruler (S15/O2).
Proves the security invariant DISCRIMINATES: unauth-deny surfaces PASS only on 401/403, a DENY
surface that serves 200 is caught as a LEAK (not a silent pass -- the load-bearing negative
control), public surfaces PASS only on 200, redirects on 301/302, an unreachable/parse-fail is
UNREACH (never a fabricated PASS), the HTTP-status parser handles real response lines + rejects
non-HTTP, and the sovereign-edge header check detects our stamp + rejects its absence. Exit 0
only on all-PASS.
license_tier: ORIGINAL expect_exit: 0
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_opennet_posture_core.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 12 | func p_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 14 | func p_putn(v: i64) -> i64 |
| 21 | func p_check(name: *u8, got: i64, want: i64, passp: *i64) -> i64 |
| 32 | func main(argc: i64, argv: *i64) -> i64 |