Repository navigation
Commit 49c6e6b
committed
fix(mantis): shadow proxy records from the candidate container
The SUT container bind-mounts the whole runtime read-write as the
mantis-sut UID, which included proxy-control/ — the trusted Bot API
fault rules and recorded request facts the proxy container writes.
Untrusted candidate code could rewrite its own evidence before finish
published it. An inaccessible tmpfs now shadows proxy-control inside
the SUT container (cap-drop ALL prevents unmounting), and the prompt
no longer presents SUT-co-located provider request logs as standalone
comparison evidence.1 parent 7254b65 commit 49c6e6b
4 files changed
Lines changed: 22 additions & 6 deletions
File tree
- .github/codex/prompts
- mantis-recipes
- scripts/mantis
- test/scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
119 | | - | |
120 | | - | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
121 | 122 | | |
122 | 123 | | |
123 | 124 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
904 | 904 | | |
905 | 905 | | |
906 | 906 | | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
907 | 911 | | |
908 | 912 | | |
909 | 913 | | |
910 | 914 | | |
911 | 915 | | |
| 916 | + | |
912 | 917 | | |
913 | 918 | | |
914 | 919 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1128 | 1128 | | |
1129 | 1129 | | |
1130 | 1130 | | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
1131 | 1140 | | |
1132 | 1141 | | |
1133 | 1142 | | |
| |||
0 commit comments