Stop Feeding ChatGPT Your Source Code
Every code snippet you share with ChatGPT trains OpenAI models and exposes your IP. Pretense routes your API calls through a local mutation proxy.
How to Protect ChatGPT in 3 Steps
One environment variable. No code changes. No workflow disruption.
Install and Start
npm install -g pretense && pretense start. Proxy runs on localhost:9339.
Redirect OpenAI Traffic
Set OPENAI_BASE_URL=http://localhost:9339. All OpenAI SDK calls route through Pretense.
Mutated. Safe. Reversed.
ChatGPT receives synthetic identifiers. Pretense reverses them in the response.
What ChatGPT Actually Sends to the LLM
Pretense transforms your real identifiers into synthetic tokens before transmission. The LLM sees structure and logic, not your proprietary names.
// Before Pretense mutation
async function getUserPaymentToken(userId: string) {
return await stripeClient.createToken(userId, STRIPE_SECRET);
}Your function names, secrets, and architecture are transmitted verbatim.
// After Pretense mutation (what the LLM sees)
async function _fn4a2b(_v8c3d: string) {
return await _v2f1a._fn9e4b(_v8c3d, _v7d2c);
}Structure intact. LLM quality preserved. Your IP stays private.
After the LLM responds, Pretense reverses every mutation. You receive real, working code with your original identifiers restored byte-for-byte.
Quick Setup for ChatGPT
Set OPENAI_BASE_URL=http://localhost:9339 in your environment
Frequently Asked Questions
Does this protect against ChatGPT model training?
Pretense mutates identifiers so ChatGPT never sees real function or variable names. Training data contains only synthetic names.
Does it work with the OpenAI API v1?
Yes. Pretense is OpenAI-API-compatible and supports all v1 endpoints including chat completions and embeddings.
What about the ChatGPT web interface?
The web interface does not use the API. For web chat, use our browser extension (coming soon).
Explore Other Integrations
Protect ChatGPT in 5 Minutes
No code changes. No workflow disruption. One environment variable and Pretense intercepts every request.
No credit card required. 30-second setup. Local-first, nothing leaves your machine.