Enterprise-Grade Privacy for GitHub Copilot
GitHub Copilot transmits code context to Microsoft Azure OpenAI. Pretense ensures proprietary identifiers never leave your environment unprotected.
How to Protect GitHub Copilot in 3 Steps
One environment variable. No code changes. No workflow disruption.
Install Pretense
Run npm install -g pretense. The proxy starts on localhost:9339.
Point VS Code at Pretense
Add github.copilot.advanced.debug.overrideProxyUrl to your VS Code settings.
Audit Everything
Every Copilot completion request is logged and mutated. Export SOC2/HIPAA compliance reports.
What GitHub Copilot 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 GitHub Copilot
Set OPENAI_BASE_URL=http://localhost:9339 in VS Code settings
Frequently Asked Questions
Is this compatible with GitHub Copilot Enterprise?
Yes. Pretense works at the HTTP proxy layer, compatible with all Copilot tiers.
What about Copilot Chat?
Copilot Chat goes through the same API endpoint. Pretense protects all Copilot traffic.
Can my security team audit Pretense?
Yes. Pretense provides full documentation of the mutation algorithm and audit log schema for enterprise security review.
Explore Other Integrations
Protect GitHub Copilot 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.