Skip to content
SkilledDragonEngineering Intelligence
MinilabKeylessOctober 21, 2026

Four nono proxy profiles kept the real token out of the sandbox in 130 of 130 checks

nono credential-proxy profiles for gh, npm, gcloud and Gemini, each with a test that runs the real nono binary, hunts for the token inside the sandbox and probes the endpoint allowlist.

By David Discua

Measured in the lab

130/130
checks passed
4
profiles
39/39
refused probes
16
real nono sandbox runs
ghrefused; 5 allowed reached upstream10
npmrefused; 6 allowed reached upstream10
gcloudrefused; 6 allowed reached upstream11
geminirefused; 4 allowed reached upstream8
  • Sandbox token is a per-session phantom in all 4 profiles
  • DELETE /repos/acme/app refused with 403, upstream hits 0
  • https://example.com through the proxy gets CONNECT 403
  • Direct socket to the upstream port is blocked
  • Real token absent from nono's session files and sandbox output

From reports/keyproxy-profiles.json · run on October 21, 2026. nono 0.80.0 (8bb041356d48) on macOS x86_64, keyless mode with loopback mock upstreams; generated_at converted from generated_at_unix

How it is wired

requestreal tokenSandboxed agentphantom token onlynono proxyendpoint allowlistUpstream APIallowlisted routes

01/03Your agent runs inside nono's sandbox with a phantom token.

Agents need tokens for gh, npm, gcloud and model APIs, and those tokens usually sit in the agent's environment, where a prompt injection can read them. nono's credential proxy hands the sandbox a phantom token and swaps in the real one outside the sandbox, only for requests the profile allows. This pack ships nono profiles for gh, npm, gcloud and Gemini, plus a test per profile that runs the real nono binary and tries to find the real token. All 130 checks passed across 16 sandbox runs. The catch is that the keyless runs hit loopback mock upstreams and use curl, not the real tool CLIs.

The catch

In keyless mode, the only change from the shipped profile is each route's upstream, pointed at a local mock that records every request. Real API behavior is covered by optional live checks, which ran once for the gh, gcloud and Gemini profiles, each returning 200 for its allowed read and 403 from nono for each refused probe. The npm live path was not run in this lab.

The gh and gcloud CLIs do not accept a plain-HTTP base URL for their default endpoints, so they cannot use these reverse-proxy routes as-is. The npm CLI requests scoped packages as @scope%2fname, which nono refuses, so scoped installs through the npm profile are expected to fail; we measured that 403 with curl. Local runs were on macOS (Seatbelt). The Linux (Landlock) path, including the /proc process scan, had not run when the report was written. Allowed endpoints are still capabilities. An agent with the gh profile can post issue comments, and one with the Gemini profile can send prompt text.

What we ran (keyless)

cargo install --locked nono-cli --version 0.80.0
git clone https://github.com/SkilledDragonCorp/keyproxy-profiles.git
cd keyproxy-profiles
cargo run --locked --bin kpp -- verify all
bash scripts/report.sh

From reports/keyproxy-profiles.json, run on October 21, 2026 with nono 0.80.0:

ProfileRoutesRulesAllowed reach upstreamRefused by nonoSandbox runs
gh1115/510/104
npm166/610/104
gcloud286/611/114
gemini154/48/84
total16, 130/130 checks

Each verify mints a random 256-bit token, writes it into the tool's credential file under a private $HOME, and passes it to nono only through the environment. Inside the sandbox, the secret variable equaled nono's per-session NONO_PROXY_TOKEN, the credential files were unreadable, and a sweep of every readable file under $HOME, the workdir and $TMPDIR found no copy. Refused probes included DELETE /repos/acme/app, npm publish, setIamPolicy and Gemini file upload. Each got 403 from nono, and the mock saw 0 hits.

The run also recorded how nono 0.80.0 behaves at the edges. With env_var and the env deny list both removed, an env:// route put the real GH_TOKEN into the sandbox environment. nono passes the parent environment through unless the profile sets environment.deny_vars. With credential routes and an empty domain allowlist, https://example.com was reachable through the proxy, and listing each upstream in allow_domain fixed that with CONNECT 403. Only a Bearer prefix or a bare value works for the phantom.

How it is wired

Each profile maps one or more routes to an upstream, names the environment variable and header for the credential, and lists endpoint rules with one explicit method each and no /** catch-all. kpp lint enforces those rules statically. kpp run <tool> -- <cmd> refuses to start if the real secret appears in any workdir file, strips the other pack secrets, and execs nono run under the profile.

Minilab (open source)

The profiles target nolabs-ai/nono (4,662 stars, Apache-2.0, Rust, as of October 24, 2026) at v0.80.0. Edit a profile in profiles/, run cargo run --locked --bin kpp -- verify <tool>, and check that failed in reports/keyproxy-profiles.json stays 0.

Run it yourself

SkilledDragonCorp/keyproxy-profiles

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

cargo install --locked nono-cli --version 0.80.0 && cargo run --locked --bin kpp -- verify all

SkilledDragon is not affiliated with nolabs-ai, nono, GitHub, npm, Google or Anthropic. Numbers are from our own keyless lab run against mock upstreams; re-run the verifier before relying on them. Marks belong to their owners.

All labs