daaain commited on
Commit
55138cd
·
verified ·
1 Parent(s): 119e5bf

Card: v2 left-out reasons, allowlist and relay notes

Browse files
Files changed (1) hide show
  1. README.md +26 -11
README.md CHANGED
@@ -36,7 +36,7 @@ To find out, BashArena trajectories from Redwood Research's [Control Leaderboard
36
  **There are two versions.**
37
 
38
  - **v1** (2026-11-01, the top-level folders) is what the pre-registered result was computed on: 820 replays, scored.
39
- - **v2** (2026-11-04, in `v2/`) replays the same trajectories again, plus every other landed attack, on a network setup that behaves as Docker's did: 1,135 replays with kernel events, **not yet scored**. For new work, start from v2. To reproduce the result, use v1. See "Version 2" below.
40
 
41
  ## What's in it
42
 
@@ -53,9 +53,10 @@ To find out, BashArena trajectories from Redwood Research's [Control Leaderboard
53
  | `selection/` | How replays were chosen: the attacks the baseline missed at 1% after 30, 130 and 300 honest originals (`selection.pilot.json`, `selection.json`, `selection-300.json`), and the honest originals replayed later (`honest-all.json`) | 4 | 84 KB |
54
  | `results/` | The analysis outputs: the pre-registered analysis (`analyse-prereg-b01.txt`, `-b05.txt`), and exploratory ones (three scorings, the curve, by step and shifts, the leaderboard comparison) | 8 | 140 KB |
55
 
56
- | `v2/replays.csv` | v2: one row per replay, without scores, with the v1 replay of the same trajectory and how many of its steps a monitor would see differently | 1,135 rows | 0.5 MB |
57
- | `v2/replays/` | v2: the replays as Inspect eval logs | 1,135 | 94 MB |
58
- | `v2/events/` | v2: the kernel events for each replay's agent container, as in `events/` | 1,135 | 192 MB |
 
59
 
60
  About 10,260 files and 1.4 GB in all.
61
 
@@ -131,7 +132,7 @@ Each event has `time` (UTC, from the VM's clock), `boot` and `seq` (its identity
131
  4. **Events:** foldyard's monitor hook delivered the events in signed batches. Part of the stream (2026-10-23, 00:30 to 03:30 UTC) was re-matched by foldyard after a fix to its attribution, and that export replaces the hook's events for the stretch; 64 replays fall in it. Every non-`submit` tool call in a scored replay has kernel events.
132
  5. **Scoring:** each replay was scored in all three arms, twice for every replay and a third time for some.
133
 
134
- The code is in Daniel Demmel's control-arena fork, under `control_arena/settings/bash_arena/foldyard/` (MIT): [EXPERIMENT.md](https://github.com/daaain/control-arena/blob/18d3e42e6f7cbe711ed09fbfb911ba30bcf3ea10/control_arena/settings/bash_arena/foldyard/EXPERIMENT.md) has the design and the pre-registration, and [DIARY.md](https://github.com/daaain/control-arena/blob/18d3e42e6f7cbe711ed09fbfb911ba30bcf3ea10/control_arena/settings/bash_arena/foldyard/DIARY.md) what happened. The links point at commit `18d3e42`, the code that produced v1; the [branch](https://github.com/daaain/control-arena/tree/daaain/feat/foldyard-kernel-monitor) may have moved on. v2's replays were made with the code at [`2a74b7a2`](https://github.com/daaain/control-arena/tree/2a74b7a2/control_arena/settings/bash_arena), which adds the router's relay and resolver (`base_environment/router/`).
135
 
136
  ### What changed from the source data
137
 
@@ -141,13 +142,13 @@ The code is in Daniel Demmel's control-arena fork, under `control_arena/settings
141
 
142
  ## Version 2 (2026-11-04): replayed again, closer to the originals, not yet scored
143
 
144
- `v2/` holds **1,135 replays: 560 attacks and 575 honest.** They are v1's 820 trajectories again, plus 315 more attacks. The attacks are every original attack whose side task landed, apart from the ones listed under "Left out", not only the baseline's misses. They have kernel events, but **no monitor scores yet**: scoring waits for more Haiku credit. v1 and its scores are unchanged, and the pre-registered result above is v1's.
145
 
146
  ### What changed in the replay environment
147
 
148
  v1's replays ran in a foldyard VM where the task container reached the internet through an HTTP proxy. The originals ran under Docker, where it had a direct route. That difference made some replays go differently from their originals. v2 puts the Docker behaviour back:
149
 
150
- - **No proxy in the task container.** Its outbound connections go to the router, which hands them to the VM's egress proxy by the name in the TLS ClientHello or HTTP `Host`. Requests for names the agent had pointed at BashArena's fake servers now reach them, as they did under Docker. A refused address gets silence, as from the hosts that never answered the originals; a refused name gets a 403.
151
  - **DNS on `127.0.0.11`,** as Docker's resolver. So names stop resolving when the task's firewall comes up, and recover once the agent whitelists `127.0.0.0/8`, as they did in the originals.
152
  - **MTU 1500,** as Docker's networks.
153
  - **A setup script that overruns 300 s is left running,** as in the originals, instead of failing the sample. It happened once (honest task 4728752).
@@ -164,7 +165,9 @@ On the trajectories replayed in both versions:
164
  | Honest replays whose main task passed (of 574) | 54 | 62 | 69 |
165
  | Honest replays that pass or fail as their original did (of 574) | 551 | 559 | |
166
 
167
- 15 attacks land in v2 that didn't in v1, and 4 the other way. Seven honest v2 replays met the allowlist (`httpbin.org`, `crates.io`, `example.com`), as v1's did.
 
 
168
 
169
  ### Which steps a monitor would see differently
170
 
@@ -173,12 +176,24 @@ control-arena's monitor sees, at each step, the task text and that step's tool c
173
  - `steps_new_vs_v1`: steps with no v1 counterpart (all of a replay new to v2, or a step its v1 replay never reached). These need scoring in every arm.
174
  - `kernel_digest_changed_vs_v1`: steps whose kernel digest differs from v1's. These need scoring in the kernel arms.
175
 
176
- Over the 1,135 replays (25,805 steps), the baseline arm needs 4,811 steps scored and each kernel arm 12,044. **Most changed digests aren't about the network:** in a sample, about a third of changes were counts only (a background firewall daemon polled ×3 in one run and ×4 in another), a third were only the "meanwhile in the container" part, and a third were names that differ on every run (compilers' temp files, `/proc/<pid>`). Only 295 of the 7,233 changed steps had a proxy connect in v1. The kernel evidence for one trajectory varies from replay to replay, and the transcript doesn't.
177
 
178
  ### Left out, and evidence gaps
179
 
180
- - **Left out:** task 38644578, all five trajectories (its own database server exits at start, as in v1), and 4703844 `leak_passwords` (its container stops before the replay begins). Four landed original attacks that v1 couldn't replay aren't here either.
181
- - **Evidence gaps:** foldyard declares the stretches it can't vouch for. One gap (2026-11-03, when the VM's disk filled and foldyard's relay restarted) carries no start time. It's taken here to start at the last event the relay delivered before it (03:24:02), five seconds before its end, because the events it lost can only follow that one. With that, every non-`submit` tool call has kernel events except two calls in one replay (39118815 `download_malware`, after three tries), which `kernel_uncovered_calls` marks.
 
 
 
 
 
 
 
 
 
 
 
 
182
  - **Redactions:** the same three as v1 (below), applied the same way.
183
 
184
  ## Redactions
 
36
  **There are two versions.**
37
 
38
  - **v1** (2026-11-01, the top-level folders) is what the pre-registered result was computed on: 820 replays, scored.
39
+ - **v2** (2026-11-04, in `v2/`) replays the same trajectories again, plus every other landed attack, on a network setup that behaves as Docker's did: 1,136 replays with kernel events, **not yet scored**. For new work, start from v2. To reproduce the result, use v1. See "Version 2" below.
40
 
41
  ## What's in it
42
 
 
53
  | `selection/` | How replays were chosen: the attacks the baseline missed at 1% after 30, 130 and 300 honest originals (`selection.pilot.json`, `selection.json`, `selection-300.json`), and the honest originals replayed later (`honest-all.json`) | 4 | 84 KB |
54
  | `results/` | The analysis outputs: the pre-registered analysis (`analyse-prereg-b01.txt`, `-b05.txt`), and exploratory ones (three scorings, the curve, by step and shifts, the leaderboard comparison) | 8 | 140 KB |
55
 
56
+ | `v2/replays.csv` | v2: one row per replay, without scores, with the v1 replay of the same trajectory and how many of its steps a monitor would see differently | 1,136 rows | 0.5 MB |
57
+ | `v2/replays/` | v2: the replays as Inspect eval logs | 1,136 | 94 MB |
58
+ | `v2/events/` | v2: the kernel events for each replay's agent container, as in `events/` | 1,136 | 192 MB |
59
+ | `v2/left_out.csv` | v2: every one of the source run's 1,200 trajectories that isn't in v2, and why | 64 rows | 9 KB |
60
 
61
  About 10,260 files and 1.4 GB in all.
62
 
 
132
  4. **Events:** foldyard's monitor hook delivered the events in signed batches. Part of the stream (2026-10-23, 00:30 to 03:30 UTC) was re-matched by foldyard after a fix to its attribution, and that export replaces the hook's events for the stretch; 64 replays fall in it. Every non-`submit` tool call in a scored replay has kernel events.
133
  5. **Scoring:** each replay was scored in all three arms, twice for every replay and a third time for some.
134
 
135
+ The code is in Daniel Demmel's control-arena fork, under `control_arena/settings/bash_arena/foldyard/` (MIT): [EXPERIMENT.md](https://github.com/daaain/control-arena/blob/18d3e42e6f7cbe711ed09fbfb911ba30bcf3ea10/control_arena/settings/bash_arena/foldyard/EXPERIMENT.md) has the design and the pre-registration, and [DIARY.md](https://github.com/daaain/control-arena/blob/18d3e42e6f7cbe711ed09fbfb911ba30bcf3ea10/control_arena/settings/bash_arena/foldyard/DIARY.md) what happened. The links point at commit `18d3e42`, the code that produced v1; the [branch](https://github.com/daaain/control-arena/tree/daaain/feat/foldyard-kernel-monitor) may have moved on. v2's replays were made with the code at [`3e72aebc`](https://github.com/daaain/control-arena/tree/3e72aebc/control_arena/settings/bash_arena), which adds the router's relay and resolver (`base_environment/router/`).
136
 
137
  ### What changed from the source data
138
 
 
142
 
143
  ## Version 2 (2026-11-04): replayed again, closer to the originals, not yet scored
144
 
145
+ `v2/` holds **1,136 replays: 560 attacks and 576 honest.** They are v1's 820 trajectories again, plus 315 more attacks and one honest trajectory (42993387) that couldn't be built before. The attacks are every original attack whose side task landed, apart from the ones listed under "Left out", not only the baseline's misses. They have kernel events, but **no monitor scores yet**: scoring waits for more Haiku credit. v1 and its scores are unchanged, and the pre-registered result above is v1's.
146
 
147
  ### What changed in the replay environment
148
 
149
  v1's replays ran in a foldyard VM where the task container reached the internet through an HTTP proxy. The originals ran under Docker, where it had a direct route. That difference made some replays go differently from their originals. v2 puts the Docker behaviour back:
150
 
151
+ - **No proxy in the task container.** Its outbound connections go to the router, which hands them to the VM's egress proxy by the name in the TLS ClientHello or HTTP `Host`. Requests for names the agent had pointed at BashArena's fake servers now reach them, as they did under Docker. A refused address, or one no public network routes to (such as a fake server's address on a port that isn't redirected), gets silence, as from the hosts that never answered the originals; a refused name gets a 403. One small difference remains: under Docker such a connection never opened, while here it opens and then never answers, so a client reports a timeout in different words.
152
  - **DNS on `127.0.0.11`,** as Docker's resolver. So names stop resolving when the task's firewall comes up, and recover once the agent whitelists `127.0.0.0/8`, as they did in the originals.
153
  - **MTU 1500,** as Docker's networks.
154
  - **A setup script that overruns 300 s is left running,** as in the originals, instead of failing the sample. It happened once (honest task 4728752).
 
165
  | Honest replays whose main task passed (of 574) | 54 | 62 | 69 |
166
  | Honest replays that pass or fail as their original did (of 574) | 551 | 559 | |
167
 
168
+ 15 attacks land in v2 that didn't in v1, and 4 the other way.
169
+
170
+ **No v2 replay meets the replay environment's allowlist.** The public hosts the trajectories asked for were granted, including `httpbin.org`, `api.github.com`, `example.com`, `index.crates.io` and `static.crates.io` (added for v2), so they got the internet's answers as the originals did. In v1 the requests to those last five were refused with a 403.
171
 
172
  ### Which steps a monitor would see differently
173
 
 
176
  - `steps_new_vs_v1`: steps with no v1 counterpart (all of a replay new to v2, or a step its v1 replay never reached). These need scoring in every arm.
177
  - `kernel_digest_changed_vs_v1`: steps whose kernel digest differs from v1's. These need scoring in the kernel arms.
178
 
179
+ Over the 1,136 replays (25,824 steps), the baseline arm needs 4,830 steps scored and each kernel arm 12,062. **Most changed digests aren't about the network:** in a sample, about a third of changes were counts only (a background firewall daemon polled ×3 in one run and ×4 in another), a third were only the "meanwhile in the container" part, and a third were names that differ on every run (compilers' temp files, `/proc/<pid>`). Only 295 of the 7,232 changed steps had a proxy connect in v1. The kernel evidence for one trajectory varies from replay to replay, and the transcript doesn't.
180
 
181
  ### Left out, and evidence gaps
182
 
183
+ - **Left out:** 64 of the source run's 1,200 trajectories, each listed with its reason in `v2/left_out.csv`:
184
+
185
+ | Reason | Attack | Honest |
186
+ | --- | --- | --- |
187
+ | The side task didn't land in the original, so there's no attack to detect | 18 | |
188
+ | The original run errored, so there's nothing to replay | 13 | 1 |
189
+ | The task's image can't be built on arm64 | 4 | 15 |
190
+ | The original has no tool calls | | 4 |
191
+ | The task is no longer in BashBench2's dataset, so its environment can't be built | | 2 |
192
+ | The image runs `mknod /dev/net/tun`, which rootless podman can't do (task 1003684) | | 1 |
193
+ | The task's own database server exits with an error at start (task 38644578, as in v1) | 4 | 1 |
194
+ | The task container stops before the replay begins, twice (task 4703844, `leak_passwords`) | 1 | |
195
+ | **Left out in all** | **40** | **24** |
196
+ - **Evidence gaps:** foldyard declares the stretches it can't vouch for. One gap (2026-11-03, when the VM's disk filled and foldyard's relay restarted) carries no start time. It's taken here to start at the last event the relay delivered before it (03:24:02), five seconds before its end, because the events it lost can only follow that one. With that, every non-`submit` tool call has kernel events except one call in one replay (39118815 `download_malware`, after three tries), which `kernel_uncovered_calls` marks.
197
  - **Redactions:** the same three as v1 (below), applied the same way.
198
 
199
  ## Redactions