Local machine
Real code + secrets
A model can be paused. A disclosure is permanent.
Elite teams bring credentials, API keys and customer data to AI tools every day. Pretense always swaps detected secrets, SSNs and card numbers for stand-ins at the source. Email addresses and phone numbers are swapped under every framework profile except PCI and anywhere they are labeled.
Deploy in 30 seconds
Free to start, zero billing setup
Works with the AI tools teams run
Built for the AI tools teams already run
Works with any tool that accepts a custom API base URL. Verified end to end with Claude Code, Gemini and Cursor.
Samsung engineers leaked proprietary code to ChatGPT three times in under a month (2023).
Here is the quiet truth. Developers already use AI every day. The security tools you bought were built for a different problem. They watch email and file uploads. They predate a senior engineer opening Claude at 2am to fix a release.
The industry spent 20 years building walls around the front door. The code walked out through a browser tab.
Simulated unmonitored AI traffic log. 4 sends to AI tools carried secrets: an API key to ChatGPT, a patient SSN to Claude, a source file to Copilot, a database password to ChatGPT. Result: 4 exposures, 0 logged, 0 alerts.
[09:14:02] → OUT ChatGPT
api_key=sk-prod-7f3a…
[11:42:55] → OUT Claude
patient_ssn=412-55-0199
[14:07:31] → OUT Copilot
// full auth/service.py
[23:58:10] → OUT ChatGPT
db_pass=Pr0d!9x2k
The risk is present and priced. IBM measured it in 2025.
+$670K
added to breach costs where unsanctioned AI use is high
1 in 5
organizations reported a breach tied to unsanctioned AI tools
97%
of organizations with an AI-related breach lacked proper AI access controls
Pretense sits between the developer and the AI, like a proxy on the machine. When code goes out, it always swaps secrets, SSNs and card numbers for stand-ins, and swaps email addresses and phone numbers under every framework profile except PCI and anywhere they are labeled. The AI does its work on the safe version. When the answer comes back, Pretense puts the code names back in place. Secrets and PII stay as stand-ins and are never put back.
The developer writes code the way they always have. The AI answers the way it always has. The passwords, the API keys, the tokens: all of them stay on the laptop.
Real code + secrets
Swaps secrets for stand-ins
Sees only stand-ins
← code names restored in the reply; secrets and PII stay as stand-ins
Security is built in by design. It is part of every conversation with the AI itself.

Visualize Code Protection trends over time and understand how AI interactions shape the codebase.
Real-time Code Protection trends and growth
Identify spikes and unusual activity
Filter by time range and usage patterns
10:55:10 | [SUCCESS]Success: nothing sensitive found | Prompt sent, nothing sensitive found |
|---|---|---|
Prompt sent, nothing sensitive found | ||
frontend-web by Emily Tran | src/users/service.py | |
src/users/service.py | ||
10:54:22 | [MASKED]Masked: secret replaced with a stand-in | API key replaced with a stand-in |
|---|---|---|
API key replaced with a stand-in | ||
backend-service by John Doe | src/db/connect.py | |
src/db/connect.py | ||
10:53:55 | [PROTECTED]Code protected: code names renamed | 12 code names renamed |
|---|---|---|
12 code names renamed | ||
frontend-web by Emily Tran | src/users/service.py | |
src/users/service.py | ||
10:52:46 | [MASKED]Masked: secret replaced with a stand-in | Card number replaced with a stand-in |
|---|---|---|
Card number replaced with a stand-in | ||
frontend-web by Emily Tran | src/users/service.py | |
src/users/service.py | ||
Command live Code Protection across the entire system with instant updates and status visibility.
Real-time stream of Code Protection activity
Status indicators (Success, Masked, Code protected)
Track activity by user, repo and file
Total Code Protection | Detail |
|---|---|
1542 | vs Apr 10- Apr 18 |
Top user | Detail |
|---|---|
![]() Jimmy Malhan | 28,164 Protects |
Most active repo | Detail |
|---|---|
| 5,593 Protects |
Total Code Protection | Detail |
|---|---|
Scan Proxy | 1120 (73%) 422 (27%) |
See key metrics, top contributors and overall Code Protection activity together in one verified view.
Total Code Protection and growth trends over time
Top users and most active repositories overall
Action breakdown & usage analytics across teams
Other tools redact or block the sensitive parts, which deletes the context the AI needs. Pretense preserves that context by design. It swaps instead of deletes, so the AI sees complete, working code.
Redaction: the legacy approach
The sensitive fields are stripped out before the prompt is sent. The model loses the thread and starts guessing.
# what the AI receives
patient = [REDACTED]
ssn =
record = [REMOVED]
Over a few prompts the accuracy keeps slipping.
Mutation: the Pretense approach
Secrets, SSNs and card numbers are always swapped for realistic stand-ins locally, and email addresses and phone numbers under every framework profile except PCI and anywhere they are labeled. The AI works normally. Pretense restores the code names in the response. Mutated secrets and PII, like the SSN, stay as stand-ins.
# what the AI receives
patient = "alpha_record"
ssn = "BETA-4471-XX"
record = "mrn_beta_009"
Full accuracy at full speed. Every critical value stays local.
Procurement-light and stack-ready. 4 steps to full protection.
One command. Works on macOS and Linux.
$ curl -fsSL https://www.pretense.ai/install.sh | sh
Name the team so activity and access stay in one command center.
This connects Pretense to the AI tools you already use.
Secrets, SSNs and card numbers get swapped automatically before they reach any model. Email addresses and phone numbers are swapped under every framework profile except PCI and anywhere they are labeled.
That is the whole setup. From install to first protected prompt is about 30 seconds.
Feature | Pretense | Traditional DLP | Status Quo |
|---|---|---|---|
Code Protection (preserves AI context) | |||
Deploys in 30 seconds | -Not applicable | ||
Works offline (local-first) | |||
Multi-provider (Claude + GPT + Gemini) | -Not applicable | ||
Audit trail with presets mapped to SOC 2 / ISO 27001 / CMMC L2 detector sets | |||
Starting at $0/month |
Perfect for getting started with code protection
10,000 code protections
Up to 3 seats
7-day log history
100,000 code protections
More than 3 seats
Usage CSV export
Priority support
Built for growing teams that need more power and flexibility
100,000 code protections
1–100 seats
30-day log history
Priority email support
Usage dashboard & CSV export
Dedicated support & CSM
For large organizations with advanced security needs.
Everything in Startup
50 seats minimum, up to 1,000
Dedicated support & CSM
SAML / SSO (Coming Soon)
Limits are measured over a rolling 7-day window.
Detected secrets leave only as stand-ins
Built for secure workflows
Works with existing tools
Cancel anytime seamlessly
Here's everything you need to know before getting started.
Pretense sits between developers and the AI tools they use, like a proxy on the machine. Before any code or prompt reaches an LLM, it always swaps secrets, SSNs and card numbers for realistic stand-ins and swaps email addresses and phone numbers under every framework profile except PCI and anywhere they are labeled. The AI works on the safe version. When the response comes back, the code names are restored. Secrets and PII stay as stand-ins and are never put back into the reply. Real secrets and code names stay on the machine.
Sensitive values that Pretense mutates stay on the local machine. Secrets such as credentials and API keys, SSNs and card numbers are always swapped for stand-ins before anything is sent, so the model sees a stand-in for each detected value. Email addresses and phone numbers are swapped under every framework profile except PCI and anywhere they are labeled. Without a profile, or under PCI, unlabeled email addresses and phone numbers leave the machine as written. Function, class and variable names are renamed too. Code names are restored locally when the response returns. Secrets and PII stay as stand-ins and are never put back into the reply. If a model copies a stand-in into a link, the link carries the stand-in in place of the real value.
Traditional DLP guards a different channel. It was designed for email and file uploads. Pretense is designed for the prompt. When DLP flags a prompt, it blocks or redacts the content, which strips the context the AI needs to answer. Pretense swaps sensitive values for stand-ins, so the data stays protected and every answer keeps its full quality.
Accuracy holds at full strength. That is the design. Redaction tools delete the sensitive parts, which strips the context the model relies on across a session. Pretense swaps values for stand-ins that keep the same structure, so the model keeps the context it needs to give a useful answer.
Pretense detects the sensitive parts before they reach the AI. Secrets, SSNs and card numbers are always mutated. Email addresses and phone numbers are mutated under every framework profile except PCI (SOC 2, HIPAA, GDPR, ISO 27001, CMMC L2, NIST) and anywhere they are labeled. Start the proxy with pretense start --framework <profile> to choose the profile. Each match becomes a realistic stand-in that keeps the same structure, so the code still works and the AI can still reason about it. Function, class and variable names are renamed as well. Once the response comes back, the code names are restored on the local machine. Secrets and PII stay as stand-ins and are never put back into the reply.
On the local machine. Pretense runs locally as a proxy, so the sensitive values are swapped before anything is sent. Real data stays off Pretense servers.
However you like to start, there's a way in.
Ready to evaluate
Walk through compliance coverage and audit trails with the team.
Want to try it
Install it locally in 30 seconds. Free to start.
Exploring
Watch a 2-minute walkthrough of mutation in a live codebase.