Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mcp/blob/main/evidence/trust-gate.json # omega-mcp aien-dev/omega-mcp Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mcp / evidence / trust-gate.json` 241 lines ยท 8564 bytes Raw Blame History 1 { 2 "server": "/home/drakestapleton/work/wsp/c-omega-mcp/build/omega-mcp", 3 "rows": [ 4 { 5 "gate": "read", 6 "case": "canary + state dir", 7 "server": "sandbox", 8 "seconds": 0.05, 9 "want": "exit 0: canary and ~/.local/state both invisible, secret absent from stdout", 10 "observed": { 11 "compile_ok": true, 12 "exit": { 13 "kind": "normal", 14 "code": 0 15 }, 16 "stdout": "", 17 "stdout_bytes": 0, 18 "isolation": "bwrap+prlimit: no network, no host files, cleared environment, cpu/as/fsize/nproc limits, server wall clock" 19 }, 20 "leftover_processes": [], 21 "pass": true 22 }, 23 { 24 "gate": "read", 25 "case": "canary + state dir (control)", 26 "server": "noiso", 27 "seconds": 0.01, 28 "want": "exit 10 and the secret on stdout (the gate sees a leak)", 29 "observed": { 30 "compile_ok": true, 31 "exit": { 32 "kind": "normal", 33 "code": 10 34 }, 35 "stdout": "omega-mcp-canary-`a55ec10831a887cd`\n", 36 "stdout_bytes": 34, 37 "isolation": "OFF (--test-only-no-isolation): ran on the host with the server environment and no limits except the wall clock" 38 }, 39 "leftover_processes": [], 40 "pass": true 41 }, 42 { 43 "gate": "forkbomb", 44 "case": "unbounded bomb", 45 "server": "sandbox", 46 "seconds": 3.06, 47 "want": "stopped by a limit or the wall clock within 15 s; mid-run the sandbox's bwrap, its reaper and 1..5 bomb processes seen (most bomb processes in any 0.1 s sample <= 5); none left", 48 "observed": { 49 "compile_ok": true, 50 "exit": { 51 "kind": "limit", 52 "limit": "wall_clock", 53 "timeout_ms": 3000 54 }, 55 "stdout": "", 56 "stdout_bytes": 0, 57 "isolation": "bwrap+prlimit: no network, no host files, cleared environment, cpu/as/fsize/nproc limits, server wall clock" 58 }, 59 "leftover_processes": [], 60 "pass": true, 61 "mid_run_processes": [ 62 "`2477437` /usr/bin/bwrap --unshare-all --unshare-user --disable-userns --die-with-parent --new-session --clearenv --block-fd 0 --info-fd 1 --ro-bind /home/drakestapleton/work/wsp/c-omega-mcp/build/omega-mcp /r --ro-bind /tmp/omega-mcp-`be8c22a6d033c081`/bin /p --ro-bind /tmp/omega-mcp-`be8c22a6d033c081`/in /i --bind /tmp/omega-mcp-`be8c22a6d033c081`/out /o --bind /tmp/omega-mcp-`be8c22a6d033c081`/err /e --size `16777216` --tmpfs /w --chdir /w --remount-ro / /r reap /p", 63 "`2477451` /usr/bin/bwrap --unshare-all --unshare-user --disable-userns --die-with-parent --new-session --clearenv --block-fd 0 --info-fd 1 --ro-bind /home/drakestapleton/work/wsp/c-omega-mcp/build/omega-mcp /r --ro-bind /tmp/omega-mcp-`be8c22a6d033c081`/bin /p --ro-bind /tmp/omega-mcp-`be8c22a6d033c081`/in /i --bind /tmp/omega-mcp-`be8c22a6d033c081`/out /o --bind /tmp/omega-mcp-`be8c22a6d033c081`/err /e --size `16777216` --tmpfs /w --chdir /w --remount-ro / /r reap /p", 64 "`2477513` /r reap /p", 65 "`2477530` /p", 66 "`2477531` /p", 67 "`2477533` /p" 68 ] 69 }, 70 { 71 "gate": "forkbomb", 72 "case": "count 20 forks", 73 "server": "sandbox", 74 "seconds": 0.05, 75 "want": "at most 5 forks succeed (nproc 5)", 76 "observed": { 77 "compile_ok": true, 78 "exit": { 79 "kind": "normal", 80 "code": 2 81 }, 82 "stdout": "", 83 "stdout_bytes": 0, 84 "isolation": "bwrap+prlimit: no network, no host files, cleared environment, cpu/as/fsize/nproc limits, server wall clock" 85 }, 86 "leftover_processes": [], 87 "pass": true 88 }, 89 { 90 "gate": "forkbomb", 91 "case": "count 20 forks (control)", 92 "server": "noiso", 93 "seconds": 0.01, 94 "want": "all 20 forks succeed without the limit", 95 "observed": { 96 "compile_ok": true, 97 "exit": { 98 "kind": "normal", 99 "code": 20 100 }, 101 "stdout": "", 102 "stdout_bytes": 0, 103 "isolation": "OFF (--test-only-no-isolation): ran on the host with the server environment and no limits except the wall clock" 104 }, 105 "leftover_processes": [], 106 "pass": true 107 }, 108 { 109 "gate": "loop", 110 "case": "wall clock 2 s", 111 "server": "sandbox", 112 "seconds": 2.03, 113 "want": "killed at the 2 s wall clock", 114 "observed": { 115 "compile_ok": true, 116 "exit": { 117 "kind": "limit", 118 "limit": "wall_clock", 119 "timeout_ms": 2000 120 }, 121 "stdout": "", 122 "stdout_bytes": 0, 123 "isolation": "bwrap+prlimit: no network, no host files, cleared environment, cpu/as/fsize/nproc limits, server wall clock" 124 }, 125 "leftover_processes": [], 126 "pass": true 127 }, 128 { 129 "gate": "loop", 130 "case": "cpu limit (wall 30 s)", 131 "server": "sandbox", 132 "seconds": 10.17, 133 "want": "killed by RLIMIT_CPU (10 s) before the 30 s wall clock", 134 "observed": { 135 "compile_ok": true, 136 "exit": { 137 "kind": "limit", 138 "limit": "cpu_time", 139 "signal": 24, 140 "cpu_seconds": 10 141 }, 142 "stdout": "", 143 "stdout_bytes": 0, 144 "isolation": "bwrap+prlimit: no network, no host files, cleared environment, cpu/as/fsize/nproc limits, server wall clock" 145 }, 146 "leftover_processes": [], 147 "pass": true 148 }, 149 { 150 "gate": "loop", 151 "case": "cpu limit (control)", 152 "server": "noiso", 153 "seconds": 30.01, 154 "want": "without prlimit only the 30 s wall clock stops it", 155 "observed": { 156 "compile_ok": true, 157 "exit": { 158 "kind": "limit", 159 "limit": "wall_clock", 160 "timeout_ms": 30000 161 }, 162 "stdout": "", 163 "stdout_bytes": 0, 164 "isolation": "OFF (--test-only-no-isolation): ran on the host with the server environment and no limits except the wall clock" 165 }, 166 "leftover_processes": [], 167 "pass": true 168 }, 169 { 170 "gate": "write", 171 "case": "10 GiB to a file", 172 "server": "sandbox", 173 "seconds": 0.12, 174 "want": "SIGXFSZ at the 1 MiB file-size limit", 175 "observed": { 176 "compile_ok": true, 177 "exit": { 178 "kind": "limit", 179 "limit": "file_size", 180 "signal": 25, 181 "file_size_bytes": `1048576` 182 }, 183 "stdout": "", 184 "stdout_bytes": 0, 185 "isolation": "bwrap+prlimit: no network, no host files, cleared environment, cpu/as/fsize/nproc limits, server wall clock" 186 }, 187 "leftover_processes": [], 188 "pass": true 189 }, 190 { 191 "gate": "write", 192 "case": "10 GiB to stdout", 193 "server": "sandbox", 194 "seconds": 0.13, 195 "want": "SIGXFSZ; at most 1 MiB reached the host capture file", 196 "observed": { 197 "compile_ok": true, 198 "exit": { 199 "kind": "limit", 200 "limit": "file_size", 201 "signal": 25, 202 "file_size_bytes": `1048576` 203 }, 204 "stdout": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 205 "stdout_bytes": `1048576`, 206 "isolation": "bwrap+prlimit: no network, no host files, cleared environment, cpu/as/fsize/nproc limits, server wall clock" 207 }, 208 "leftover_processes": [], 209 "pass": true 210 }, 211 { 212 "gate": "write", 213 "case": "8 MiB to stdout (control)", 214 "server": "noiso", 215 "seconds": 0.05, 216 "want": "without the limit all 8 MiB are written", 217 "observed": { 218 "compile_ok": true, 219 "exit": { 220 "kind": "normal", 221 "code": 0 222 }, 223 "stdout": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 224 "stdout_bytes": `8388608`, 225 "isolation": "OFF (--test-only-no-isolation): ran on the host with the server environment and no limits except the wall clock" 226 }, 227 "leftover_processes": [], 228 "pass": true 229 } 230 ], 231 "fails": [], 232 "server_exit": [ 233 0, 234 0 235 ], 236 "server_stderr": { 237 "sandbox": "omega-mcp: ready; isolation bwrap+prlimit; compiler `3ad9f10f64309e7acf8a725082b28e23a2a4aeb07e98322fb4dc0fcd8fc93194`\nreq initialize id=1 -> ok\nreq notifications/initialized no reply\nreq tools/call id=2 tool=run compile=0 ms=12 run=1/0 ms=13 -> ok\nreq tools/call id=3 tool=run compile=0 ms=21 run=6/0 ms=3008 -> ok\nreq tools/call id=4 tool=run compile=0 ms=16 run=1/2 ms=13 -> ok\nreq tools/call id=5 tool=run compile=0 ms=11 run=6/0 ms=2004 -> ok\nreq tools/call id=6 tool=run compile=0 ms=11 run=3/24 ms=10140 -> ok\nreq tools/call id=7 tool=run compile=0 ms=11 run=5/25 ms=88 -> ok\nreq tools/call id=8 tool=run compile=0 ms=11 run=5/25 ms=98 -> ok\nomega-mcp: end of input; exiting\n", 238 "noiso": "omega-mcp: WARNING: --test-only-no-isolation is set; programs run on the host without sandbox, limits or environment clearing. Test use only; never use this flag with an agent.\nreq initialize id=1 -> ok\nreq notifications/initialized no reply\nreq tools/call id=2 tool=run compile=0 ms=2 run=1/10 ms=2 -> ok\nreq tools/call id=3 tool=run compile=0 ms=2 run=1/20 ms=4 -> ok\nreq tools/call id=4 tool=run compile=0 ms=2 run=6/0 ms=30004 -> ok\nreq tools/call id=5 tool=run compile=0 ms=2 run=1/0 ms=41 -> ok\nomega-mcp: end of input; exiting\n" 239 }, 240 "verdict": "PASS" 241 }