AD SPACE AVAILABLE · BRAND PARTNERS WELCOME

Does Code GPT Store or Train on Proprietary Code? Telemetry Opt-Outs, Local Model Routing, and Enterprise Privacy Controls Explained

Lee Yun-hyung · 365Finds Editorial
Indexed 88,650 Wiki articles

Put 365 Wiki to work with your AI

Copy the prompt below, paste it into the AI you already use, then ask your question.

Download full Skill

Try it with the prompt first. If you use 365 Wiki often, install the full 365Wiki Skill so you do not have to paste it again. No regular AI? Gemini or Microsoft Copilot on the web will work.

365Wiki Skill

For Chief Information Security Officers (CISOs), engineering directors, and security-conscious developers, adopting an AI coding assistant is rarely a question of productivity gains. It is a question of attack surface and intellectual property exposure. When installing the Code GPT extension inside Visual Studio Code or JetBrains IDEs, the tool requests elevated workspace permissions: reading active files, parsing repository directory trees, inspecting terminal outputs, and generating code edits.

This architecture triggers immediate compliance concerns: Does Code GPT store your proprietary source code? Does it or its upstream model providers train foundational AI models on your IP? And can a development team configure Code GPT to satisfy strict enterprise data sovereignty and zero-retention mandates?

365Finds evaluated the legal terms, data flow pipelines, local runtime configurations, and telemetry options of Code GPT. The short answer is nuanced: Code GPT does not use proprietary source code to train foundational models, but default configurations and cloud-routed indexing do process and temporarily store encrypted code metadata. For enterprises operating under regulatory compliance (SOC 2, GDPR, HIPAA, or ISO 27001), Code GPT can be hardened into an air-gapped or zero-data-retention environment—provided you explicitly disable IDE telemetry, deploy local LLM runtimes like Ollama, or enforce enterprise Bring Your Own Key (BYOK) endpoints.


The Direct Verdict: Storage and Training Policies

To separate marketing claims from technical and legal realities, enterprise security teams must distinguish between model training, cloud caching, and vector indexing.

Risk CategoryCloud / Plus Credit ModeEnterprise BYOK ModeLocal Model Mode (Ollama / LM Studio)
Model Training on User CodeNo; contractually excluded by Code GPT and major API provider commercial termsNo; governed by corporate API agreementsNo; local weights cannot retrain during inference
Source Code Storage at RestEncrypted hashes, embeddings, and Indexed Code stored on cloud infrastructureNone on Code GPT servers; provider-dependentZero data stored externally; completely on-premises
Transit Data RoutingRoutes through Code GPT cloud proxy to third-party model providersDirect or credentialed transit to customer-designated model provider100% localhost loopback (127.0.0.1); zero external transit
Telemetry & MetricsUsage metrics (token counts, prompt counts, IDE session events) collectedUsage metrics collected unless IDE telemetry is disabledMetadata blocked when IDE telemetry level is set to off
365Finds Compliance RatingSuitable for general commercial projects; unsuited for classified IPApproved for regulated teams with signed enterprise DPAsMaximum security; approved for air-gapped and defense-grade environments

1. Does Code GPT Train on Your Code?

No. According to Code GPT's Terms of Service (Section 8.2), Code GPT LLC retains no ownership rights over user content and expressly commits not to sublicense, sell, or commercialize customer code or prompt inputs. Furthermore, user code is excluded from model training datasets.

When cloud models (such as OpenAI GPT-4o, Anthropic Claude 3.5 Sonnet, or Mistral Large) are invoked, requests travel through API tiers. Under standard commercial terms for AI API providers, inputs submitted via developer APIs are not incorporated into foundational training pools, distinguishing developer IDE extensions from public consumer chat interfaces.

2. Does Code GPT Store Your Code?

Conditionally, yes—depending on the features enabled:


Deconstructing the Three Data Transmission Architectures

Security architects evaluating Code GPT must understand the three distinct network routing modes supported by the extension. Your threat model changes entirely based on which pipeline your engineering team selects.

+-----------------------------------------------------------------------+
|                       DEVELOPER WORKSTATION                           |
|  +-----------------------------------------------------------------+  |
|  |             VS Code / JetBrains IDE (Code GPT Extension)        |  |
|  +-----------------------------------------------------------------+  |
|         |                               |                      |      |
|   [Route A: Cloud]             [Route B: BYOK]         [Route C: Local]|
|         |                               |                      |      |
+---------|-------------------------------|----------------------|------+
          | (TLS 1.3)                     | (Direct TLS 1.3)     | (Loopback)
          v                               v                      v
+--------------------+          +--------------------+  +---------------+
| Code GPT Proxy     |          | Customer Dedicated |  | Ollama /      |
| & Indexing Cloud   |          | Enterprise API     |  | LM Studio     |
| (Token & Auth)     |          | (Azure / AWS)      |  | Localhost     |
+--------------------+          +--------------------+  +---------------+
          |                               |                      |
          v                               |                      |
+--------------------+                    |                      |
| Commercial Models  |                    |                      |
| (OpenAI/Anthropic) |                    |                      |
+--------------------+                    v                      v
                             [Zero Retention DPA]     [Physical Isolation]

Route A: Managed Code GPT Plus / Credits (Cloud Proxy)

In the managed model, developers authenticate with their Code GPT account and draw from bundled or metered subscription credits.

Route B: Bring Your Own Key (BYOK) Direct Cloud Routing

Code GPT allows developers to input their own API credentials for OpenAI, Anthropic, Google AI Studio, Mistral, Microsoft Azure AI, AWS Bedrock, and Groq.

Route C: Local Model Routing (Ollama & LM Studio) — Complete Data Sovereignty

For aerospace, defense, banking, and proprietary IP development, cloud routing is often prohibited by internal security policy. Code GPT natively supports local inference servers.


Guarding the Perimeter: Telemetry Opt-Out and Repository Filtering

To achieve a defensible audit posture, installing the extension is insufficient; security administrators must mandate specific client-side hardening.

1. Disabling IDE and Diagnostic Telemetry

According to Code GPT's Privacy Notice, automated analytics tools (including services like Mixpanel and Hotjar on web interfaces, alongside extension interaction metrics) record prompt volume, active usage duration, and session tokens. Furthermore, the extension hooks into Visual Studio Code's diagnostic framework.

To enforce zero diagnostic egress across developer machines, deploy the following configuration inside VS Code's global settings.json:

{
  "telemetry.telemetryLevel": "off",
  "codegpt.autocomplete.delay": 3000,
  "codegpt.autocomplete.enable": true
}

Setting telemetry.telemetryLevel to "off" instructs both the editor and standards-compliant extensions to sever analytical pings and crash telemetry reporting.

2. Creating a Mandatory .codegptignore File

Code GPT provides codebase search and indexing tools. If developers query @codebase or index local directories, sensitive configuration files could be ingested into context memory.

Every enterprise repository must place a .codegptignore file in its root directory, mirroring standard .gitignore syntax:

# Credentials and Environment Secrets
.env
.env.*
*.pem
*.key
id_rsa
id_ed25519
secrets.yaml
vault/

# Dependencies and Lockfiles
node_modules/
vendor/
target/
dist/
build/
*.lock

# Proprietary Core Algorithms / Regulatory Escrow
/src/security/crypto/
/src/proprietary/core/
database/seeds/
*.log

When Code GPT builds semantic indexes or executes repository-wide searches, it skips all paths matched by .codegptignore, preventing secrets and classified algorithms from entering context windows.


Tool Governance and Execution Privileges: Chat, Search, and Agent Modes

Privacy leakage is not limited to network transmissions; agentic execution risks unauthorized local file tampering and shell exfiltration. Code GPT establishes three profile modes:

  1. Chat Mode: Read-only, context-isolated conversations. The assistant only sees code explicitly highlighted or pasted by the engineer. Internal tools are disabled.
  2. Search Mode: Read-only repository exploration. The extension can read directory trees, inspect file contents, and locate symbol references, but cannot execute file writes or shell commands.
  3. Agent Mode: Full autonomous operational capability. The model can create, edit, and delete files, as well as execute terminal commands (e.g., executing test suites, installing CLI dependencies, running scripts).

365Finds Institutional Governance Recommendation

365Finds strongly advises enterprise security teams not to enable Auto-Approve mode for Agent tools.

Code GPT enforces a safety backstop requiring re-confirmation after 20 automated tool executions. However, in unattended automation, an adversarial prompt injection or a hallucinated model output could execute terminal scripts that package files or communicate with unauthorized endpoints.

Enforce "Enabled" (manual confirmation) mode for all file system modifications and terminal executions across all engineering seats.


Step-by-Step Hardening Guide: Setting Up an Offline, Air-Gapped Pipeline

For organizations requiring total isolation, follow this reference pipeline to deploy Code GPT with Ollama on local workstations.

Step 1: Install and Initialize Ollama

Download and install the runtime from ollama.ai. Pull an instruction-tuned coding model matching your workstation hardware specifications:

# For 16GB+ RAM workstations (balanced performance)
ollama pull qwen2.5-coder:7b

# For 32GB-64GB RAM / High-VRAM workstations (deep reasoning)
ollama pull deepseek-r1:14b

Verify that the local server is running by verifying the HTTP API response:

curl http://localhost:11434/api/tags

Step 2: Configure Code GPT to Route to Localhost

  1. Open the Code GPT panel in VS Code or JetBrains.
  2. Click the gear icon (Manage my AI Models).
  3. Select the Local tab and choose Ollama from the provider dropdown.
  4. Set the API URL to:
    http://localhost:11434
    
  5. Click Connect, then select qwen2.5-coder:7b as your active chat and autocomplete model.

Step 3: Hardening Verification

Disconnect your workstation from the external network (or block outbound traffic via firewall) and trigger an autocomplete prompt inside an active code file. The completion will generate locally via system GPU/CPU threads, proving zero dependency on cloud proxy endpoints.


Enterprise Audit Checklist for CISOs and Compliance Officers

Before approving Code GPT across multi-seat engineering teams, CISO review boards should execute this verification checklist:


The 365Finds Stance: Independent Market Judgment

In the current landscape of AI developer tooling, many commercial assistants force enterprises into an all-or-nothing trade-off: surrender code context to proprietary multi-tenant clouds or forgo automated assistance entirely.

365Finds rates Code GPT as an exceptionally flexible developer tool that provides enterprises with legitimate architectural escapes—provided it is deliberately configured.

Out of the box, Code GPT's default managed credit tier presents the same metadata and proxy retention risks as most commercial coding agents. However, its first-class support for local model providers (Ollama and LM Studio), combined with native BYOK routing directly into hardened enterprise cloud VPCs, gives engineering leadership a compliant path forward.

If your organization handles trade-secret algorithms, defense contracts, or strictly regulated personal data, 365Finds recommends banning managed cloud proxy credits and standardizing strictly on local runtime routing with global telemetry disabled. For standard commercial engineering teams, routing enterprise-owned BYOK keys to dedicated Azure OpenAI or AWS Bedrock clusters provides the optimal balance between frontier model intelligence and contractual zero-data-retention compliance.


References