Skip to content

Releases

Wirepane 0.10.0: secrets kept from Claude

Choose a tag to compare

@legostin legostin released this 01 Nov 17:00

Secrets kept from Claude

Claude can debug your traffic without seeing your tokens, passwords or keys. The tools show Claude a fingerprint in place of each secret. You still see everything in the pane. Hiding is on by default.

authorization: Bearer ‹hidden JWT 812 chars #a1b2c3, exp 2026-10-30T12:00:00Z, 3 min before the request›
cookie: session=‹hidden 64 chars #9f04e1›; theme=dark
{ "email": "ann@example.com", "password": "‹hidden 12 chars #77c2d0›" }

What is hidden

Kind Default Covers
headers on Authorization and Proxy-Authorization (the scheme stays), cookie values, and headers named like a token, key, secret or session
fields on JSON keys, form fields and query parameters named like password, token, client_secret or api_key, at any depth. Numbers stay as they are (max_tokens: 1024)
tokens on JWTs, Bearer/Basic credentials, AWS, GitHub, GitLab, Slack, Stripe, OpenAI, Anthropic, Google and npm keys, PEM private keys, and URL passwords. They are found in any text: bodies, WebSocket messages, server-sent events and errors
personal off e-mail addresses, phone numbers and card numbers (checked with Luhn)
  • Fingerprints. #a1b2c3 is an HMAC of the value, keyed per install. A token keeps the same fingerprint across requests and days, so Claude can tell whether it changed. A value hidden once is hidden everywhere it appears again.
  • JWTs show their expiry against the request's time, for example "expired 3 min before the request". The other claims stay hidden.

Claude can still use the values

  • When Claude leaves a hidden header out, replay_request and resume_request send it as it was.
  • A placeholder Claude passes back goes out as the real value. This works in a URL, a header, a body or JSON. It also works in send_ws_message. For example, Claude can replay a login with a new user name and the password it never saw.
  • A fingerprint this session doesn't know is refused, with the reason.
  • search_requests can find a fingerprint. It never matches a hidden value by its text, so search can't be used to spell one out.
  • export_har hides values the same way. To write the real values, type /proxy export --with-secrets [file] yourself.

Only you can turn it down

  • /proxy secrets (or p in the list) opens the Secrets view. There you can:

    • turn hiding on or off, and each kind;
    • add names to hide, and names Claude always sees;
    • see what Claude was spared this session;
    • hide headers that look like tokens but aren't hidden yet, one button each.
  • /config has the same settings: hideSecrets, secretKinds, alsoHide, neverHide. alsoHide also takes re:<regex>.

  • A file for the team: <project>/.claude/wirepane-secrets.json. It can only add to what is hidden. A cloned repository, or Claude editing the file, can't reveal what /config hides.

    { "hide": ["x-my-app-token", "re:kz_[A-Za-z0-9]{32}"], "kinds": ["personal"] }
  • In the request detail, each header Claude doesn't see is marked hidden from Claude.

The recordings on disk

~/.claude/proxy-mod/flows keeps the real values. While hiding is on, Wirepane refuses Claude's own Read, Grep, Glob and Bash calls that reach that folder. The refusal points Claude to the Wirepane tools. The CA certificate and the log stay readable.

The Bash check reads the command's text, so it is a best effort, not a sandbox. For a second lock that holds even without the plugin, add this to ~/.claude/settings.json:

"permissions": { "deny": ["Read(~/.claude/proxy-mod/flows/**)"] }

A binary WebSocket message that couldn't be decoded is checked byte by byte. If its bytes hold a secret, Claude sees ‹base64 withheld: the bytes hold hidden values› in place of the base64.

Upgrading

  • Hiding is on as soon as you update, so Claude sees placeholders where it used to see values. To get the old behaviour back, turn it off in /proxy secrets or set hideSecrets to false in /config.
  • Updating your settings or recordings isn't needed. The fingerprint key is created on first use and stays in the plugin's store.

Install

/plugin install wirepane --marketplace legostin/wirepane

If it's already installed, update it:

claude plugin update wirepane@wirepane

131 tests pass (24 new unit tests for the redactor, and 4 end-to-end tests through the tools and the pane). Design notes are in the 0.10 section of docs/design.md.

🤖 Generated with Claude Code

https://claude.ai/code/session_01URyBbJZZr9Xd4rTzC5RgF7