Skip to main content

Methodology · qURL™, ngrok, Cloudflare

How the benchmark is run

An AI coding agent operates each tool’s own CLI from its official docs. A separate checker sends single-use requests and decides every result from the app’s own request log, never from what the agent or the tool reports.

6 scored trials; 7 recorded of 30 plannedTested November 3, 2026JSON ↓CSV ↓

Who does the work, and who decides
AI agentclaude-sonnet-5, tool’s docs + CLI only
→
Tool under testqURL · ngrok · Cloudflare
→
Local app3 paths, private request log
Alice · Bob · EveReal browsers, own mailboxes
Independent checkerSingle-use requests → matched against the app’s log → sealed evidence → verdict

The task

  1. Share the app privately. The agent publishes a local Next.js app with the tool’s own CLI, so that only invited people can reach it.
  2. Let two people in, keep one out. Alice and Bob are invited. Eve, who was not, must not reach the app. All three are test identities with their own mailboxes.
  3. Remove one person. The agent removes Alice. Bob is sampled throughout, so any interruption, URL change or new sign-in is caught.
  4. Clean up. The harness deletes everything the trial created and checks the old URL: it must no longer reach the app.

Sample and scoring scope

The harness recorded 7 trial slots of 30 planned. The tables show 6 trials with agent activity or a removal attempt. A slot the agent never ran is excluded. Per-check ratios use recorded PASS or FAIL outcomes; checks not reached, inconclusive checks and second-network checks are excluded from those ratios. Removal continuity uses the harness summary: a recorded URL change or new sign-in is an interruption even if its detailed check is unscored. The exporter rejects conflicting scored verdicts or an unscored summary without this evidence. These are results for the tested configurations, not every configuration of each product. The recorded batch status is BLOCKED; the public export does not record a stop reason.

The app being shared

A synthetic Next.js app, built for production and bound to localhost. It holds no real data. It serves three paths: a page (/proof), a static file (/asset) and an API route (/api/proof). Each answers only a request that carries the current run and a new single-use value, returns a fresh marker with caching disabled, and writes a line to a private log. Every allow or deny check hits all three paths.

The checker

  • Runs as a separate process the agent has no tool to read or change.
  • Generates unpredictable single-use challenges, matches each response against the app’s log, and rejects replays.
  • A pass for access needs the app’s marker for that challenge. A pass for denial needs a healthy app and no matching request in its log.
  • Evidence is written as a hash chain and sealed at the end of each trial. The results file carries each seal.

The operator

Claude Code with only the benchmark tools (no shell, no file access). Model: claude-sonnet-5 from Anthropic. Every tool gets the same model, prompts and limits, and the agent reads copies of each tool’s official docs that were captured and hashed before the run. The prompts state requirements, not commands or policies, and nobody corrects the agent’s commands. The model spend cap was $0, and every trial recorded $0 of model spend.

Limits per trial
Agent working time per trial30 minutes
Model calls per trial45
Tool calls per trial90
Time per model request100 seconds
Wait for a sign-in email75 seconds
Output tokens per model response4,096

The tools

The Cloudflare lane used a protected Quick Tunnel with an email allowlist. Cloudflare documents the --allowed-mail flag here ↗.

ToolHow access worksHow removal worksSession limit
qURLqURL CLI 3.6.1Private review access (qurl publish --access review): each recipient verifies their email, then the publisher approves that grant.Revoke one recipient’s grant; everyone else keeps workingEnds the moment the grant is revoked
Cloudflare Quick Tunnelcloudflared 2026.10.7Quick Tunnel started with --allowed-mail for each recipient; visitors sign in with an emailed PIN.Restart the tunnel; the URL changesNot documented as configurable
ngrok (OIDC)ngrok 3.37.3Traffic Policy OIDC action against a test OpenID Connect provider, plus an email allowlist written by the agent.Restart with a new policy; visitors sign in againConfigurable maximum session

Every trial starts clean

Each trial starts with a new agent conversation, an empty workspace and new browser profiles for every recipient, with tool order shuffled from a fixed seed.

Session expiry

Where a tool documents a session limit, the agent sets it to 600 seconds. The checker samples the open session at -30, +5, +30, +60 seconds around the deadline, rejects any sample more than 10 seconds late, and accepts enforcement within 60 seconds. A fresh sign-in afterwards must work.

How results are counted

  • Each proportion uses the scored trials for that tool.
  • Time medians cover trials whose initial share worked, and say how many.
  • Bob recovering after signing in again does not pass removal without interruption.
  • A capability a tool does not offer is shown as such, never scored as a pass.

Fingerprints

Protocollayerv-agent-benchmark-v5
Plan SHA-256396fa004a25c40b2927e193038a6d8fce1cd6c1400baee90b86cd93f02c1ae35
Harness SHA-256084b2fe28479591ad819b966fed49c9fd1cd7e60be9f70e64c437bebb925aa3d

The results file is rebuilt from the harness’s artifacts by scripts/research/build-agent-sharing-benchmark.mjs, which selects trial fields, copies protocol configuration objects, and refuses to write if it finds an address, email, token or local path. See the batch →

Frequently Asked Questions

Can the AI agent see or change how it is scored?

No. The agent has a narrow set of tools: search the pinned docs, run the tool’s own CLI on resources it created, write a policy file, and stop its own processes. The checker, the app’s log and the evidence files are outside all of them.

Why use test identities instead of real users?

Alice, Bob and Eve are controlled identities with their own mailboxes and browsers, so the benchmark can sign them in, remove them and prove a denial without any real person’s account or data.

Can I check the evidence?

The plan and harness are fingerprinted with SHA-256, and each trial’s sealed evidence stream has its own hash in the results file. Raw logs stay private because they hold test credentials and network addresses.

Cite this

LayerV (2026). AI agent private-sharing benchmark, batch automated-v5-1793683081573. https://layerv.ai/benchmarks/ai-agent-private-sharing/methodology. CC BY 4.0.

Book a pilot

Tell us what to hide. We’ll scope a pilot.

Enterprise starts with a paid pilot on one application, typically 60 to 90 days, credited in full toward year one if you convert within 60 days. After that, an annual package sized to what you protect, not per seat.