WORKSPACE/SECURITY
//PHASE 02 / CONTEXT ISOLATION
Small bridge. Strong boundary.
Challenge the boundary with untrusted payloads. A secure bridge exposes one named capability, validates an exact schema, and rejects everything else.
ACCEPTED REQUESTS
00validated
REJECTED REQUESTS
00blocked
EXPOSED CAPABILITIES
01getStatus
ENGINE VIEW / 02SIMULATED ENVIRONMENTValidated signalIsolated boundarySimulated pipeline
>_ event stream
0 events
PAYLOAD CHALLENGE
Can you cross the bridge?
Only { "operation": "getStatus" } is accepted. Try adding a field or another operation.
READY · Input is parsed as JSON. Never executed.
Policy: one exact field · 512 character limit · no arrays or unknown operations.
The architecture, decoded.
LEARN BY BREAKING THINGS01 /
The bridge is not a sanitizer
Context isolation separates JavaScript worlds. It does not make untrusted data safe by itself.
02 /
Validate at the authority boundary
Main must check the sender, operation, types, and exact schema before performing privileged work.
03 /
Return data, never execution
The accepted operation returns a small status object. No arbitrary paths, channels, or source code pass through.