ASLv2
Single page · copy-paste · no daemon

Operator quickstart

Two binaries, six commands. Everything below runs offline. Use ./asl-d / ./asl-probe on Linux and macOS, and asl-d.exe / asl-probe.exe on Windows.

0. Confirm the build

./asl-d version
# asl-d version 2.0.0 (windows/amd64)
# Embedded Conformance Vectors: 161 (v1: 46, v2: 115)

./asl-probe version
# asl-probe v2.0.0 (embedded vectors: 161)

1. asl-probe run — 60-second offline proof

Runs all 161 embedded vectors, then 8 live loopback exploit-vs-containment scenarios. No network, no licence.

./asl-probe run --html-out scorecard.html --json-out report.json

# Stage 1: 161 / 161 PASSED (100.0%)
# Arena Containment Rate: 8 / 8 CONTAINED (100.0%)
# The Fix: asl-d wrap --workspace <dir> -- <agent-command>

Add --evidence-out evidence.zip to also emit a signed Evidence Pack plus evidence.zip.pub.json.

2. asl-probe target — score a gateway you own

./asl-probe target --target-mcp http://127.0.0.1:8402/mcp --i-own-this-target

# 7 passive checks; exit 1 if any check is EXPOSED
# --allow-staging        permit RFC 1918 (never public/metadata ranges)
# --origin <o>           send this Origin on mutating probes (repeatable)
# --bearer <jwt>         send a test token so checks 5-7 reach the mirror layer
# --html-out / --json-out  signed scorecards

Passive only: 5-second timeout, redirects disabled, the resolved IP is classified once and every socket is pinned to it. Public, link-local and metadata addresses are refused.

3. asl-d wrap — run one command contained

./asl-d wrap --workspace . --my-agent --flag

# --env KEY=VAL     the ONLY environment the child receives (repeatable)
# --max-mem bytes   memory ceiling          --max-procs n   process ceiling
# --timeout 30s     wall-clock ceiling      --rollback      paid: snapshot revert
# --record-dir dir  paid: hash-chained flight journal

The child never inherits the host environment: pass every variable you want it to see explicitly. Exits with the child's code; a ladder kill is reported on stderr with its kill path.

4. asl-d protect-env — wrap every MCP stdio server

./asl-d protect-env --discover --workspace .
# ~/.claude.json: wrapped 2 server(s): filesystem, sqlite
# protected 2 server(s) across 1 config file(s)

./asl-d protect-env --config ./mcp.json --dry-run   # show, change nothing
./asl-d unprotect-env --discover                    # restore exact bytes

Rewrites each mcpServers entry to asl-d wrap --workspace <dir> -- <original command> <args>. Idempotent: an already-wrapped entry is never wrapped twice. A digest-checked .asl-backup.json sidecar is written once, and unprotect-env restores the original bytes byte-for-byte.

5. asl-d proxy — stateless MCP 2026 gateway

./asl-d proxy --listen 127.0.0.1:8402 --origin https://app.local

# ASL v2 Gateway listening on http://127.0.0.1:8402 (Tier: Community)
# /health  -> {"status":"ok","version":"2.0.0","tier":"community"}
# paid flags: --enable-economy --enable-swarm --record-dir --evidence-out

Rejects SSE, Mcp-Session-Id, /register and foreign Origin before any work; denies missing or alg:none tokens; enforces exact mirrored headers; halts on manifest drift with ASL_E_MANIFEST_DRIFT. Shuts down cleanly on Ctrl-C or when stdin closes.

6. asl-d verify-pack — offline evidence check

./asl-d verify-pack --pack evidence.zip --pubkey evidence.zip.pub.json

# EVIDENCE PACK VERIFIED (100% Cryptographic & Hash-Chain Integrity)
#   Run ID / Created At / Flight Entries / Chain Head / Algorithm
#   Files Verified (6): flight.jsonl, timeline.json, scorecard.html,
#                       scorecard.json, compliance.json, manifest.json

Production dist/ binaries embed the vendor key and reject an external --pubkey by design. Local source builds accept one, which is how the proof harness verifies its own pack.

Exit codes and failure posture

CommandExit 0Non-zero
asl-probe runall vectors + arena containedany vector or conformance failure
asl-probe target0 exposed1 exposed · 2 usage · 3 target refused
asl-d wrapchild exit code1 config/licence error, child code otherwise
asl-d verify-packseal + every digest valid1 any verification failure

Everything fails closed. A missing key, a malformed manifest, an unknown field or an unreadable sidecar is a denial, never a warning-and-continue.