macOS menu bar app

Stop leaking your API keys to AI tools

You use ChatGPT, Claude, Cursor, or other AI tools every day. NoHack makes sure your API keys and secrets never accidentally end up in a prompt. It works invisibly in the background.

Download for macOS

Requires macOS 13+ · Free · Notarized by Apple

You paste your API key into ChatGPT...
My API key is sk-proj-a8f3...x9z2
↓ NoHack intercepts instantly ↓
ChatGPT only sees a placeholder:
My API key is [OPENAI_KEY]
↓ You copy the AI's response & paste ↓
Your real key is silently restored:
My API key is sk-proj-a8f3...x9z2
How it works

Three layers of protection

1

Type Protection

Pasting an API key into ChatGPT? NoHack catches it instantly and replaces it with a safe placeholder like [OPENAI_KEY]. The AI never sees your real key.

2

Clipboard Masking

Copy-pasting secrets between apps? NoHack intercepts the clipboard and swaps secrets with placeholders before they reach any AI tool.

3

Silent Restore

When the AI gives you code with placeholders, just copy and paste it — NoHack silently puts your real keys back. Zero friction.

Detection

Secrets we catch

OpenAI
sk-proj-...
🤖
Anthropic
sk-ant-...
💳
Stripe
sk_live_...
🐙
GitHub
ghp_...
AWS
AKIA...
🔎
Google
AIza...
💬
Slack
xoxb-...
🔑
Generic
api_key=...
Security

Your keys never leave your Mac

All secrets are stored in the macOS Keychain, encrypted and locked to your device. NoHack runs entirely offline — no accounts, no cloud, no telemetry. Your keys never leave your Mac. Ever.

Download NoHack