AstrLink 中 / EN GitHub Download
Security

The privacy check runs on your own computer

AstrLink filters keys and personal details out of your requests.

How it works

What AstrLink does with a request

Your computer
Claude Code
AstrLink
Model provider
What Claude Code sendsWhat the model receivesThe tool call the model returnsThe command Claude Code runs

Deploy with this key: ‹API_KEY_1›, and email ‹EMAIL_1› if it fails

01Detect

Built-in rules and a local model find keys, email addresses, names and the like in the request.

02Handle

Depending on your settings, it swaps what it found for placeholders, warns you, or blocks the request.

03Send

The model gets placeholders such as ‹API_KEY_1›.

04Restore

When the reply comes back, the placeholders turn back into the originals. Tool arguments are restored too, before the agent runs the tool.

What it finds

What AstrLink can recognize

The built-in rules work as soon as you install. To detect names and addresses, download the AstrLink Guard privacy model in the app.

API keys and tokens
sk-live-9f2c…e71a‹API_KEY_1›
Protected by default
Email addresses
[email protected]‹EMAIL_1›
Phone numbers
+1 415 555 0132‹PHONE_1›
Account and card numbers
6200 0000 0000 0047‹CARD_1›
IP addresses and URLs
10.0.3.12‹IP_1›
Names
Jane Cooper‹PERSON_1›
Needs the local model
Addresses
27 Wucheng Road…‹ADDRESS_1›
Needs the local model
Your own rules
EMP-20391‹EMPLOYEE_ID_1›
Written as regular expressions, and can replace just part of a match
About AstrLink Guard →
Rules

You decide what happens

For each kind of information, choose how it's handled and how you hear about it.

Claude Code sends

Deploy to production with sk-live-9f2c…e71a

The model gets

Deploy to production with ‹API_KEY_1›

Security · Policy
KindActionNotify
API keys and tokensDefaultRedactNotification
Private keysBlockNotification
Email addressesRedactLog only
Phone numbersRedactLog only
Card numbersBlockNotification
IP addressesWarnLog only
NamesNeeds the local modelRedactLog only
Allowlist:*.qtnous.comlocalhostexample.comValues on it stay as they are
Trusted provider:Company New APIRequests to it aren't checked or replaced

An agent wants to read an original

“Claude Code” is asking to see the unfiltered original of a request record.

POST /v1/messages · 14:02:31 · 2 items replaced
Only this requestAll requests until the screen locks
Deny Approve with Touch ID Approved for this request
Stored originals

Originals stay encrypted on your computer

Encrypted with your passphrase

AstrLink encrypts the original requests and replies before writing them to disk, and never stores your passphrase.

Unlocked with Touch ID

To read an original, you verify your fingerprint or enter the passphrase. When the computer locks, AstrLink locks the originals again.

You approve agent access

Approve once, or until the screen locks. You can revoke it from the tray menu at any time.

Told when the key is reset

If something outside AstrLink resets the key for the originals, the app asks you to confirm. Without a passphrase, AstrLink doesn't keep originals of new requests.

Request records

Every request's result is on record

The request records show how many items were replaced in each request and which provider it went to. If the check itself fails, AstrLink doesn't send the request.

Checked1,284Last 7 days
With private data866.7%
Replaced214items
Restored209Text 171 · Tools 38
14:02
Claude Code · Deploy script

Replaced 2 items before sending to the model.

Redacted
13:47
Pi · CI setup

Private data found, so the request wasn't sent to the model.

Blocked
13:31
Codex · Internal service

Private data found, and the request went to the model as is.

Warned
13:12
OpenCode · Company repo

Went to a trusted provider without a privacy check.

Trusted
12:58
DeepSeek Harness · Reading docs

Nothing in it needed replacing.

Clean
Playground

Try it on some text

The app's security page has a playground. Paste in some text to see what would be replaced and what would be left alone.

Checks as you type
After · Policy: RedactBuilt-in rules only
Send the error to ‹EMAIL_1› and cc [email protected]. The staging key is ‹API_KEY_1›; pay with 4242 4242 4242 4242. On-call phone ‹PHONE_1›, server at ‹IP_1›.
4 found, 2 ignored [email protected]: on the allowlist4242…: a public test card number

This demo runs in your browser with a few of the built-in rules, and your text isn't uploaded. To detect names and addresses, turn on the local model in the app.

Good to know

A few things to keep in mind

Detection isn't perfect

Rules and models can miss things or flag the wrong ones. Set anything especially sensitive to block, and try it in the playground first.

Trusted providers get the original

With trust on, AstrLink doesn't check or replace requests to that provider. Only turn it on for services you trust.

Providers follow their own terms

AstrLink only decides what can be sent. Once it's sent, the model provider you chose handles it under its own terms.

Download AstrLink

Free and open source, for macOS, Windows and Linux.