ASLv2
Captured runs, not renderings

Three exploits, reproduced — no video required

Each harness prints the unmediated result first, then the same attempt under ASL v2. Below is the side-by-side capture of that run, the one command that produces it, and the raw stdout — every line of the graphics comes from the transcript underneath it.

The binaries are the shipped ones; the baselines are deliberately naive reference clients. Run them yourself: the only prerequisite is Go and this repository.

01 — STDIO MCP secret sabotage

BREACHED unmediated CONTAINED by ASL v2

A local STDIO MCP tool inherits the client's whole environment, reads a live credential, and writes an os/exec backdoor into the workspace the agent owns. The control run keeps its JSON-RPC transport: the same tools/call line goes in and the tool's response comes back out, so containment is not achieved by breaking the tool.

Controls: allowlisted child environment (sandbox.buildEnv), go/parser AST scan for os/exec/unsafe/net/syscall/plugin/init, workspace snapshot restore, and asl-d protect-env config wrapping.

Two terminal panes side by side. Left, unmediated baseline breached: the tool inherits the host environment, reports secret sk-live-DEMO as leaked, and writes generated/agent_tool.go, verdict BREACHED. Right, ASL v2 contained: the same JSON-RPC call is relayed, the environment is an allowlist only, the secret is scrubbed, the AST scan rejects the os/exec payload at line 3 and the snapshot is rolled back, verdict CONTAINED.

Left: host environment inherited, secret leaked, payload written. Right: scrubbed, rejected, rolled back — with the transport intact.

# from the repository root
go run ./proofs/01-stdio-secret-sabotage
Verbatim terminal transcript — raw stdout (exit 0)
==============================================================================
  PROOF 01 — STDIO MCP SECRET SABOTAGE (90s)
==============================================================================
asl-d binary: C:\asl v2\proofs\bin\asl-d.exe
workspace:    C:\asl v2\.asltmp-proofs\run\asl-proof01-585435200\workspace

── BASELINE (tool launched directly, host environment inherited) ──
  [OK] stdio JSON-RPC round trip    YES id=1 tools/call
  [OK] secret from host env         YES sk-live-DEMO…LEAKED
  [OK] os/exec payload written      YES generated\agent_tool.go
VERDICT: BREACHED

(workspace reset to its pre-attack state)
── CONTAINED (asl-d wrap --env DEMO_SAFE=1) ──
  [OK] stdio JSON-RPC relay         YES id=1 tools/call — request in, response out
  [OK] host environment inherited   NO — allowlist only
  [OK] secret from host env         NO (scrubbed)
── GUARD (pre-execution AST scan + snapshot rollback) ──
  [OK] AST scan                     REJECTED — disallowed import os/exec at line 3
  [OK] snapshot rollback            true — injected file reverted
VERDICT: CONTAINED

02 — Tainted x402 payee swap

BREACHED unmediated CONTAINED by ASL v2

Untrusted page content flips the run to TAINTED_EXTERNAL and the checkout intent names an attacker payee. A naive x402 client validates only the per-transaction ceiling and settles to whoever the checkout says.

Controls: sticky taint, AP2 v0.2 scoped Open Mandate payee locklist, UCP checkout-hash binding, S3_SAFE_HALT, and a hybrid-signed Evidence Pack verified offline by asl-d verify-pack.

Two terminal panes side by side. Left, unmediated baseline breached: the taint is ignored and 45000 micro-USDC settles to 0xATTACKER-e7f1, verdict BREACHED. Right, ASL v2 contained: the mandate allows merchant.example, the swap is denied with ASL_E_PAYEE_MISMATCH, the run halts at S3_SAFE_HALT, and the evidence pack verifies with hybrid-ed25519-mldsa65, verdict CONTAINED.

Left: 45000 micro-USDC paid to the attacker. Right: payee lock denies it, run halts, receipt verifies offline.

# asl-d is built locally so verify-pack accepts the demo public key
go build -o proofs/bin/asl-d ./cmd/asl-d
go run ./proofs/02-tainted-x402-payee-swap

Evidence Pack verification

The pack is sealed with a hybrid Ed25519 + ML-DSA-65 key and checked offline by the shipped binary — no network, no licence, no call home:

  EVIDENCE PACK VERIFIED (100% Cryptographic & Hash-Chain Integrity)
    Run ID:        run-ap2-proof
    Created At:    2027-01-15T08:00:01Z
    Flight Entries:1
    Chain Head:    714fc3cc34de6b980b50d54c7b04bb1e9985c216d6e68b7328693e57677da859
    Algorithm:     hybrid-ed25519-mldsa65
    Files Verified (5):
      * flight.jsonl    (sha256: b8a8aeecf6002b6f..., size: 592 bytes)
      * timeline.json   (sha256: 5d093cf5793f4857..., size: 177 bytes)
      * scorecard.html  (sha256: 3d65bb8067c7c42c..., size: 1182 bytes)
      * scorecard.json  (sha256: 19e6e2179a6875ca..., size: 1182 bytes)
      * compliance.json (sha256: 4135ca4d029642cd..., size: 502 bytes)

SHA-256 of the generated evidence.zip:

81247ae7d0f9b3f22dba9ca688ef4edba3463ae549ab08a81a8a23a9f488d2c5

Every ZIP entry is pinned to 1980-01-01 and the demo signing key is fixed, so this digest is a property of the inputs: rebuild the pack on your own machine and it must match byte for byte.

Verbatim terminal transcript — raw stdout (exit 0)
==============================================================================
  PROOF 02 — TAINTED x402 PAYEE SWAP (90s)
==============================================================================
asl-d binary: C:\asl v2\proofs\bin\asl-d.exe
checkout:     {"checkout_id":"ucp-7741","payee":"0xATTACKER-e7f1","total":{"amount":"45000","currency":"USDC"},"return_url":"https://shop.example/return"}

── BASELINE (agent pays the checkout payee, taint ignored) ──
  [OK] untrusted page flipped taint   TAINTED_EXTERNAL
  [OK] settlement                     SETTLED 45000 micro-USDC to 0xATTACKER-e7f1
VERDICT: BREACHED

── CONTAINED (AP2 v0.2 scoped mandate, taint sticky) ──
  mandate payees:      [merchant.example]
  requested payee:     0xATTACKER-e7f1
  [OK] authorization   DENIED — ASL_E_PAYEE_MISMATCH
  [OK] decision        halt (error_code ASL_E_PAYEE_MISMATCH)
  [OK] ladder          level S3_SAFE_HALT, kill path POLICY_CRITICAL
  [OK] flight log      seq 1 hash 714fc3cc34de6b98…
── EVIDENCE PACK (hybrid-signed, offline verification) ──
  pack: C:\asl v2\.asltmp-proofs\run\asl-proof02-3626464700\evidence.zip (5 files)
  pack sha256: 81247ae7d0f9b3f22dba9ca688ef4edba3463ae549ab08a81a8a23a9f488d2c5
  settlement_chain entries embedded: 1 (decision halt)
  EVIDENCE PACK VERIFIED (100% Cryptographic & Hash-Chain Integrity)
    Run ID:        run-ap2-proof
    Created At:    2027-01-15T08:00:01Z
    Flight Entries:1
    Chain Head:    714fc3cc34de6b980b50d54c7b04bb1e9985c216d6e68b7328693e57677da859
    Algorithm:     hybrid-ed25519-mldsa65
    Files Verified (5):
      * flight.jsonl    (sha256: b8a8aeecf6002b6f..., size: 592 bytes)
      * timeline.json   (sha256: 5d093cf5793f4857..., size: 177 bytes)
      * scorecard.html  (sha256: 3d65bb8067c7c42c..., size: 1182 bytes)
      * scorecard.json  (sha256: 19e6e2179a6875ca..., size: 1182 bytes)
      * compliance.json (sha256: 4135ca4d029642cd..., size: 502 bytes)

VERDICT: CONTAINED

03 — MCP rug-pull + target probe

7/7 EXPOSED unmediated 0/7 EXPOSED with ASL v2

A legacy MCP server silently changes a tool description mid-session and still accepts SSE downgrade, Mcp-Session-Id, /register, hostile Origin, mirrored-header mismatch, alg:none and zero-width tool names. The same probe then scores the real asl-d proxy.

Controls: manifest pinning on every call, stateless MCP 2026 handler, algorithm-pinned JWT verification, exact mirrored headers over printable characters, and the passive asl-probe target scorecard.

Two terminal panes side by side. Left, unmediated baseline breached: all seven gateway checks answer 200, target exposure score 7 of 7 exposed. Right, ASL v2 contained: the proxy answers 405, 405, 404, 403, 401, 401, 401, score 0 of 7 exposed, and the mid-session manifest drift halts at S3_SAFE_HALT.

Left: 7 / 7 checks exposed. Right: 0 / 7 exposed, plus a manifest-drift halt.

# build the probe and the proxy from source, then run the head-to-head
go build -o proofs/bin/asl-probe ./cmd/asl-probe
go run ./proofs/03-mcp-rugpull-and-target-probe

Open the signed HTML scorecard

Generated by asl-probe target against the live asl-d proxy on loopback: seven checks, 0 / 7 EXPOSED, sealed with a hybrid key. The identical probe against the permissive mock scores 7 / 7 EXPOSED — both tables are in the transcript below.

Verbatim terminal transcript — raw stdout (exit 0)
==============================================================================
  PROOF 03 — MCP RUG-PULL + TARGET PROBE (90s)
==============================================================================
asl-probe: C:\asl v2\proofs\bin\asl-probe.exe
asl-d:     C:\asl v2\proofs\bin\asl-d.exe

── UNMEDIATED (legacy SSE gateway, no Origin/auth/mirror checks) ──
  #  Check                                           Target Gateway    ASL v2
  1  Legacy MCP SSE downgrade (GET event-stream)     200 EXPOSED       CONTAINED
  2  Stateful Mcp-Session-Id accepted                200 EXPOSED       CONTAINED
  3  Deprecated DCR /register endpoint               200 EXPOSED       CONTAINED
  4  Untrusted Origin (DNS rebinding)                200 EXPOSED       CONTAINED
  5  Mirrored header/body method mismatch            200 EXPOSED       CONTAINED
  6  Unsigned alg:none JWT bypass                    200 EXPOSED       CONTAINED
  7  Zero-width Unicode smuggling in params          200 EXPOSED       CONTAINED
  --------------------------------------------------------------------------------
  Target exposure score: 7 / 7 EXPOSED
  Verdict:               EXPOSED
  ASL v2 reference:      7 / 7 CONTAINED
  ================================================================================
  Wrote signed JSON scorecard to: C:\asl v2\.asltmp-proofs\run\asl-proof03-report-568733978\scorecard.json
VERDICT: EXPOSED (7/7)

── CONTAINED (asl-d proxy: MCP 2026 handler) ──
  #  Check                                           Target Gateway    ASL v2
  1  Legacy MCP SSE downgrade (GET event-stream)     405 CONTAINED     CONTAINED
  2  Stateful Mcp-Session-Id accepted                405 CONTAINED     CONTAINED
  3  Deprecated DCR /register endpoint               404 CONTAINED     CONTAINED
  4  Untrusted Origin (DNS rebinding)                403 CONTAINED     CONTAINED
  5  Mirrored header/body method mismatch            401 CONTAINED     CONTAINED
  6  Unsigned alg:none JWT bypass                    401 CONTAINED     CONTAINED
  7  Zero-width Unicode smuggling in params          401 CONTAINED     CONTAINED
  --------------------------------------------------------------------------------
  Target exposure score: 0 / 7 EXPOSED
  Verdict:               CONTAINED
  ASL v2 reference:      7 / 7 CONTAINED
  ================================================================================
  Wrote signed JSON scorecard to: C:\asl v2\.asltmp-proofs\run\asl-proof03-report-1329060425\scorecard.json
VERDICT: CONTAINED (7/7)

── MID-SESSION TOOL-MANIFEST DRIFT ──
  [OK] pinned tool manifest checked on every call
  [OK] run halted at S3_SAFE_HALT

VERDICT: BREACHED unmediated → CONTAINED by ASL v2

Kernel and race evidence — recorded 2026-11-27

The two platform-level claims are published as recorded runs rather than prose. Both were captured on 2026-11-27 and each one is reproducible with the single script named beneath it; neither run touches the network.

0 data races 161 / 161 vectors 8 / 8 CONTAINED

WSL2 Linux race and sandbox verification

Ubuntu under WSL2, linux/amd64, Go 1.27.4, zero external dependencies. Built with CGO_ENABLED=1 so the race detector and the cgo-backed sandbox paths are exercised rather than compiled out.

# reproduce (Linux host or WSL2, C toolchain present)
scripts/verify_linux_race.sh
GateResult
go versiongo1.27.4 linux/amd64
go list -m allasl-v2 — zero external modules
go vet ./...clean
CGO_ENABLED=1 go test -race ./...pass — 11 / 11 packages, 0 data races
pkg/sandboxpass — Landlock + seccomp-bpf enforced, workspace rollback and kill-tree verified
Conformance vectorspass — 161 / 161 (46 v1 + 115 v2); embedded and on-disk sets identical
Exploit-vs-containment arenapass — 8 / 8 CONTAINED (100.0%), 19 ms wall

The arena drives all eight shipped exploit scenarios against the live binary; every one was contained, none reached the host.

0 crashes 10 targets · 10 min each

Native Windows fuzz suite

Native GOOS=windows build, no network, 600 seconds per target. All ten entry points completed with zero crashes: 192,581,943 executions across the ten targets.

# reproduce (Windows, 10 minutes per target)
scripts/fuzz_long.sh
TargetExecutionsCrashes
FuzzScopedMandate33,905,1270
FuzzVerifyCapabilityToken31,370,8340
FuzzVerifyLicense21,620,8690
FuzzVerifyEvidencePack20,937,8830
FuzzCanonicalize19,538,9060
FuzzMCPRequest19,421,8630
FuzzComputeUCPIntentHash14,943,4230
FuzzSanitizeAndSchema12,680,8630
FuzzValidateIP9,973,4790
FuzzDNSWireFilter8,188,6960
Total192,581,9430

No crash, no hang, no corpus entry retained across any of the ten targets.

What these proofs do not claim. The unmediated baselines are deliberately naive reference clients, not a ranking of any vendor. The harnesses exercise the shipped binary for containment, and proof 01 drives a real JSON-RPC line through asl-d wrap's stdio relay; the snapshot revert in proof 01 calls the same primitives as the paid --rollback flag so the demo needs no paid licence. Transcript paths are from the capturing machine; yours will differ outside the temp directory.