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 Category | Cloud / Plus Credit Mode | Enterprise BYOK Mode | Local Model Mode (Ollama / LM Studio) |
|---|---|---|---|
| Model Training on User Code | No; contractually excluded by Code GPT and major API provider commercial terms | No; governed by corporate API agreements | No; local weights cannot retrain during inference |
| Source Code Storage at Rest | Encrypted hashes, embeddings, and Indexed Code stored on cloud infrastructure | None on Code GPT servers; provider-dependent | Zero data stored externally; completely on-premises |
| Transit Data Routing | Routes through Code GPT cloud proxy to third-party model providers | Direct or credentialed transit to customer-designated model provider | 100% localhost loopback (127.0.0.1); zero external transit |
| Telemetry & Metrics | Usage metrics (token counts, prompt counts, IDE session events) collected | Usage metrics collected unless IDE telemetry is disabled | Metadata blocked when IDE telemetry level is set to off |
| 365Finds Compliance Rating | Suitable for general commercial projects; unsuited for classified IP | Approved for regulated teams with signed enterprise DPAs | Maximum 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:
- Standard Chat Interactions: Inputs and outputs are handled in memory during active sessions. However, account-level chat histories and saved agents stored within the Code GPT web platform or synced workspaces remain on cloud databases until deleted by the user or purged 12 months after account inactivity.
- Augmented Context & Codebase Indexing: Under Section 8.7 of the Code GPT Terms of Service, enabling codebase indexing grants Code GPT the right to generate and store cryptographic hashes, vector embeddings, associated metadata, and an encrypted copy of source code ("Indexed Code"). This data is encrypted in transit and at rest using industry-standard protocols, but it resides on managed cloud infrastructure to facilitate semantic search across multi-file projects.
- Local Runtime Mode: When routed to local runtimes, zero source code, embeddings, or prompts leave the developer workstation.
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.
- The Data Path: Requests from the IDE travel over TLS 1.3 to Code GPT backend proxy infrastructure, which handles rate limiting, authentication, and routing before dispatching queries to third-party LLM providers.
- The Privacy Boundary: While convenient, this model creates two data processor relationships: Code GPT LLC and the underlying LLM vendor. Both entities process prompt snippets and code context. Upstream model providers may enforce default 30-day transient logging for abuse monitoring unless specific enterprise agreements supersede them.
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.
- The Data Path: Code GPT client-side configuration directs prompt payloads using the enterprise's private API keys. By configuring enterprise endpoints (such as Azure OpenAI Service or private AWS Bedrock VPC endpoints), traffic bypasses third-party intermediary proxies.
- The Privacy Boundary: Your organization deals directly with the cloud model vendor. If your company holds an enterprise Master Services Agreement (MSA) with Microsoft Azure or AWS containing explicit Zero Data Retention (ZDR) and HIPAA/SOC 2 guarantees, Code GPT operates entirely within that compliant perimeter.
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.
- The Data Path: The extension targets a loopback URL—typically
http://localhost:11434for Ollama orhttp://localhost:1234for LM Studio. - The Privacy Boundary: The AI model runs entirely on local GPU or unified system RAM (such as Apple Silicon or NVIDIA RTX hardware). No code context, syntax trees, or developer queries traverse the local network or the public internet.
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:
- Chat Mode: Read-only, context-isolated conversations. The assistant only sees code explicitly highlighted or pasted by the engineer. Internal tools are disabled.
- 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.
- 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
- Open the Code GPT panel in VS Code or JetBrains.
- Click the gear icon (Manage my AI Models).
- Select the Local tab and choose Ollama from the provider dropdown.
- Set the API URL to:
http://localhost:11434 - Click Connect, then select
qwen2.5-coder:7bas 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:
- Contractual Exemption: Confirm that the enterprise uses BYOK with signed Zero Data Retention (ZDR) and Data Processing Addendums (DPA) from cloud providers (e.g., Azure OpenAI Service), or strictly mandates local Ollama execution.
- Cloud Indexing Toggles: Review whether team members are permitted to use Section 8.7 Codebase Indexing. If cloud indexing is disallowed, restrict developer access to local
@codebaseindexing. - Repository Guardrails: Verify that global repository templates include a standardized
.codegptignoreexcluding environment files, cryptographic keys, and internal secrets. - Global IDE Settings Enforcement: Push centralized configuration profiles through Microsoft Intune, Jamf, or workspace
.vscode/settings.jsonenforcing"telemetry.telemetryLevel": "off". - Agent Tool Privilege Isolation: Ensure that developer extension profiles maintain tool execution in manual approval mode, preventing unsupervised terminal command execution.
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
- CodeGPT - AI Coding Agent for VS Code, JetBrains and Visual Studio
- Privacy Policy | Data Protection & Security | CodeGPT
- Terms of Service | CodeGPT
- 👋 Welcome | CodeGPT Documentation
- 🤖 AI Providers | CodeGPT Documentation
- 🛠️ Features | CodeGPT Documentation
- Internal Tools | CodeGPT Documentation
- Profile Modes | CodeGPT Documentation
- Autocomplete | CodeGPT Documentation
- CodeGPT Chat | CodeGPT Documentation
- Ollama | CodeGPT Documentation
- LM Studio | CodeGPT Documentation