Skip to content
SkilledDragonEngineering Intelligence
MinilabKeylessOctober 21, 2026

A literal string filter caught 30 of 81 synthetic leaks. Canary plus OpenAPPA caught 79.

We replayed 91 synthetic agent sessions through four exfiltration checks. Encoded and split leaks beat a literal filter, and OpenAPPA caught 66 leaks but flagged 3 of 10 benign sessions.

By David Discua

Measured in the lab

79/81
leaks caught, canary OR OpenAPPA
30/81
leaks caught, literal filter
3/10
benign flagged by OpenAPPA
91
synthetic sessions
string-filterof 81 leaks30
cc-safety-netshell commands only21
canary0 benign flagged65
OpenAPPA3 benign flagged66
canary OR OpenAPPAblocking set79
  • Literal filter caught 0 of 6 base64, hex and URL-encoded leaks each
  • Canary caught 10 of 11 split leaks
  • cc-safety-net and OpenAPPA caught 6 of 6 shell-runtime leaks
  • OpenAPPA missed all 15 leaks from the unlabeled config file
  • Bench gate floors held on this run

From reports/exfilreplay.json · run on October 21, 2026. Bun 1.4.3 on darwin-x64; synthetic corpus of 81 leak and 10 benign sessions; cc-safety-net 2.6.16 at strict, OpenAPPA v0.37.0 with this lab's policy

How it is wired

replayfindingsAgent sessionsession@1 JSONLExfilReplay4 enginesCI checkannotations + summary

01/03A recorded agent session is converted to session@1 JSONL.

ExfilReplay Gate replays recorded agent sessions through four exfiltration checks and reports, per leak technique, which one caught the leak. On a synthetic corpus of 81 leak sessions and 10 benign ones, a literal string filter caught 30 leaks, cc-safety-net 21, our canary detector 65 and OpenAPPA 66. Blocking on canary or OpenAPPA caught 79. The catch is that OpenAPPA also flagged 3 of the 10 benign sessions.

The catch

OpenAPPA decides on information flow and never looks at content. Reading a secret narrows the session to self, and every egress tool requires public, so a benign session that reads .env and then uses the network for something unrelated gets flagged. It also missed all 15 sessions where the secret came from an unlabeled config/app.local.json, because the lab's policy does not label that file. The canary detector caught nothing transformed inside a shell pipeline at runtime (0 of 6), and it misses values spelled out as words.

The translation and summarisation cases come from hand-written templates. Model-generated variants were not produced in this lab, so those rows show what each engine does with such text, not how often a model writes it. OpenAPPA replay time also grows faster than linearly with session length: 100 declared Bash steps took 2.6 s and 200 took 8.8 s, and a blocking engine that times out fails the check.

What we ran (keyless)

bun install --frozen-lockfile
bun run fetch:appa                    # pinned OpenAPPA appa v0.37.0, SHA-256 checked
bun run exfilreplay bench             # detection table over corpus/
bun run exfilreplay replay recorded   # the check over recorded sessions (exit 1 = leak)
bun run report

From reports/exfilreplay.json, run on October 21, 2026 with cc-safety-net at level strict:

EngineAll leak sessionsShell-runtimeTool-inputBenign flagged
string-filter30/81 (37%)0/630/750/10
canary65/81 (80%)0/665/750/10
cc-safety-net 2.6.1621/81 (26%)6/615/751/10
OpenAPPA 0.37.066/81 (82%)6/660/753/10
canary OR OpenAPPA79/81 (98%)6/673/753/10

By technique, the literal filter caught 0 of 6 for base64, hex and URL encoding each and 0 of 11 splits. The canary detector caught 5 of 6 for each encoding and 10 of 11 splits. cc-safety-net blocked every session that touched .env in a shell command, including all six shell-runtime cases, but it does not see Read tool calls or MCP sends, and it allows printenv. A real Claude Code 2.1.295 transcript, not committed, converted to 955 tool calls and 955 tool results with 0 orphan results.

How it is wired

Claude Code transcripts convert to exfilreplay/session@1, one meta line followed by tool calls, tool results and messages. Corpus sessions carry ground truth in meta.expect, which the engines never see. All secrets are fake canaries, sdcanary_ plus 24 characters from a public seed. In CI, replay and bench --gate write ::error annotations and a job summary, and bench --gate fails when a rate drops below the floors in exfilreplay.config.json. The check does not call the Checks API, so no GitHub token is used.

Minilab (open source)

Upstreams are archestra-ai/OpenAPPA (1,601 stars, MIT, Rust) and kenryu42/cc-safety-net (1,761 stars, MIT, TypeScript), as of October 24, 2026. Convert one of your own sessions with bun run exfilreplay convert claude-code <session>.jsonl -o s.jsonl, replay it with bun run exfilreplay replay s.jsonl, and keep sessions short or raise EXFIL_APPA_TIMEOUT_MS.

Run it yourself

SkilledDragonCorp/exfilreplay-gate

Clone, install and run the report with no API keys. The numbers above are what that run writes.

bun install --frozen-lockfile && bun run fetch:appa && bun run exfilreplay bench

SkilledDragon is not affiliated with Archestra or OpenAPPA, the cc-safety-net authors, Anthropic, Google or GitHub. Numbers are from our own keyless run on a synthetic corpus; re-run the bench before relying on them. Marks belong to their owners.

All labs