SWE-AF icon indicating copy to clipboard operation
SWE-AF copied to clipboard

Limitation: a verifier can read parent operator notes with SWE_FENCE enabled

Open AbirAbbas opened this issue 3 weeks ago • 0 comments

What happened

On 2026-11-11 with SWE-AF main 2587bc2dffbc and SWE_FENCE enabled, the verifier read operator specifications and previous run context above its checkout. The recorded tool calls establish read access. They do not establish that these reads changed the verification grade or exposed a credential.

Replication

Place a harmless marker outside the shared workspace root and another in a sibling build directory. Run a fixed read command through the actual fence launcher from the allowed build directory. The current fence hides the sibling build while leaving the parent marker visible. No model is needed.

Where

go/internal/fence/fence.go: ScopeFor identifies the shared workspace root and allowed build. On Linux, Command retains the host root, overlays the workspace root with an empty filesystem, then binds the allowed build back in. go/internal/harnessx/run.go: fenceCodeAF enables this launcher. The package describes sibling-build isolation; it does not implement a general host sandbox.

The fix

Offer protection for operator context outside the workspace root, or clearly expose this read-scope limitation in node configuration and documentation.

Acceptance

Through the actual fence launcher, a configured protected operator marker must be unreadable while the allowed build and required toolchain remain usable. Retain sibling-build isolation.

AbirAbbas avatar Nov 12 '26 11:11 AbirAbbas