For engineering leaders, Application Security (AppSec) directors, and enterprise compliance teams evaluating AI development assistants, connecting a proprietary code repository to any third-party AI platform triggers immediate red flags. Unlike simple autocomplete plugins that evaluate small isolated buffers, Mutable.ai indexes an entire software repository to construct living architectural wikis ("Auto Wiki"), generate visual dependency diagrams, and deliver whole-repository semantic chat.
This repository-wide ingestion raises critical questions: Does Mutable.ai train foundation models on your private algorithms? Where do semantic embeddings and structural "Language Maps" reside? Can IDE telemetry leak internal API keys? And what infrastructure guarantees exist between multi-tenant cloud tiers and private cloud deployments?
At 365Finds, our institutional judgment is straightforward: Mutable.ai does not train public foundation models on customer codebases under its commercial service agreements, and its shift from naive vector RAG to structured Language Maps narrows certain hallucination risks. However, trusting legal clauses alone is insufficient for tier-one intellectual property. Teams handling sensitive proprietary logic, regulated user data, or strict audit requirements must treat the public multi-tenant SaaS tier with caution, enforce strict client-side telemetry disabling, and restrict enterprise usage to isolated single-tenant or Virtual Private Cloud (VPC) deployments.
Below is a comprehensive technical breakdown of Mutable.ai's data retention, telemetry controls, encryption lifecycle, and enterprise isolation boundaries.
1. The Core Policy: Does Mutable.ai Train Models on Your Code?
The short answer is no. Mutable.ai does not use private customer code, repository metadata, or prompt histories to train, fine-tune, or improve global public foundation models.
Legal Constraints and Commercial Boundaries
Mutable.ai's commercial agreements and enterprise Data Processing Agreements (DPAs) establish clear boundaries regarding user IP:
- Zero Model Training Clause: Code ingested for indexing, documentation generation, and developer queries remains the exclusive property of the customer. It is strictly used as contextual grounding during active sessions.
- No Shared Model Pools: Your code snippets, pull request summaries, and internal symbols are never fed into shared weights or transferred to other tenants.
- Corporate Ownership & Acquisition Context: Following Mutable.ai's late 2024 acquisition by Alphabet (Google), enterprise security teams have raised legitimate questions regarding data custody. Enterprise contracts signed under commercial terms maintain standard commercial isolation: repository data processed by the platform is legally bound to the specific service instance and cannot be mixed into consumer-facing Google Gemini or Alphabet public training pipelines without explicit organizational consent.
However, a legal guarantee is merely the outer perimeter of enterprise security. AppSec officers must understand the technical data pipeline that handles the code behind those legal terms.
2. Ingestion Architecture: How Mutable.ai Indexes Your Code
To evaluate data leakage risks, you must understand how Mutable.ai processes a codebase.
From Naive Vector Embeddings to "Language Maps"
Most traditional AI code assistants split source files into arbitrary token chunks, compute high-dimensional vector embeddings, and store them in a vector database for similarity matching. Early in its development, Mutable.ai found that naive vector RAG regularly pulled irrelevant context—such as pulling out-of-context mock functions from test suites—leading to inaccurate conclusions.
Mutable.ai shifted its core architecture toward structured Language Maps and living Auto Wiki artifacts:
- Abstract Syntax Tree (AST) & Dependency Parsing: The ingestion engine scans repository structures, mapping function definitions, call graphs, class hierarchies, and cross-file dependencies.
- Citation-Backed Documentation Synthesis: Instead of relying solely on raw vector retrieval, the system builds an intermediate structured knowledge layer (the Auto Wiki) that pairs explanations with exact line-and-file citations back to the source code.
- Contextual Grounding: When a developer queries the repository or uses codebase chat, the LLM retrieves structured context from this Language Map rather than guessing from disconnected vector fragments.
What Gets Ingested
When granting repository access (via GitHub OAuth or direct integration), the ingestion pipeline touches:
- Source code files (e.g., Python, TypeScript, Go, Rust, Java, C++).
- Project configuration and build manifests (e.g.,
package.json,pom.xml,go.mod). - Documentation and README files.
AppSec Risk Point: If your repository contains hardcoded secrets, .env files committed by mistake, internal API tokens, or proprietary mathematical formulas, the ingestion pipeline will process them unless explicitly excluded before indexing.
3. Data Retention and Embedding Storage Lifecycle
How long does your data stay on Mutable.ai servers, and how is it destroyed?
In-Transit and At-Rest Encryption
- Data in Transit: All communications between developer machines, source control repositories, and Mutable.ai processing nodes are encrypted using Transport Layer Security (TLS 1.3 / TLS 1.2 over HTTPS/WSS).
- Data at Rest: Repositories, extracted ASTs, Language Maps, and generated wiki documents are stored in dedicated cloud infrastructure (such as AWS S3 buckets and secure database clusters) with AES-256 encryption. Access within Mutable.ai's infrastructure is restricted by role-based access control (RBAC), multi-factor authentication (2FA), and audit logging.
Storage Lifecycle and Purging Policies
Understanding data lifecycles allows compliance teams to satisfy SOC 2, ISO 27001, and GDPR retention audits:
| Data Type | Public SaaS Retention | Enterprise / Dedicated Retention | Deletion Mechanism |
|---|---|---|---|
| Raw Source Code | Retained during active indexing and cached for rapid wiki regeneration | Configurable; can be transient in memory or customer-managed | Hard delete upon repository disconnection or workspace deletion |
| Language Maps & ASTs | Stored for the duration of the active subscription/workspace | Encrypted within dedicated tenant environment or customer VPC | Purged upon repository removal; manual purge requests processed within 30 days |
| Generated Auto Wiki | Retained while repository is active; mapped to GitHub access permissions | Retained within tenant boundary; exportable as static Markdown/HTML | Deleted immediately upon repository unlinking or tenant teardown |
| Codebase Chat History | Session logs retained temporarily for continuity | Transient or customer-controlled audit log destination | Discarded on session termination or account deprovisioning |
When a repository is removed from Mutable.ai or a user deletes their organization account, the platform initiates a deletion pipeline that invalidates access tokens and purges stored artifacts from active storage tiers.
4. IDE Extension Audit: Telemetry Toggles and Client-Side Hardening
For developers using the Mutable.ai extension in Visual Studio Code or Open VSX-compatible editors (such as Cursor, Windsurf, or VSCodium), client-side telemetry represents an operational vector that must be audited.
Understanding Extension Telemetry vs. Code Payload
A critical distinction must be drawn between two data streams:
- Diagnostic Telemetry: Event pings, feature invocation counts (e.g., number of Auto Edits run), latency metrics, and extension crash stacks.
- Code Context Payloads: The actual code buffer snippets and cursor context sent to the inference endpoint when requesting completions or inline refactoring.
While Mutable.ai separates diagnostic telemetry from raw code content, corporate compliance policies frequently require complete termination of all diagnostic reporting.
Step-by-Step: Hardening Your IDE Environment
Step 1: Disabling Core VS Code Telemetry
The Mutable.ai extension respects VS Code's centralized telemetry framework. To disable telemetry reporting globally across VS Code and compliant extensions:
- Open Settings (
Ctrl+,on Windows/Linux,Cmd+,on macOS) or open the Command Palette (Ctrl+Shift+P/Cmd+Shift+P). - Search for Telemetry: Telemetry Level or open
settings.json. - Set the telemetry level to
off:"telemetry.telemetryLevel": "off" - Disable experimental telemetry features:
"workbench.enableExperiments": false
Step 2: Controlling .vscode/settings.json Workspace Pollution
A documented behavior of the Mutable.ai extension is its tendency to verify and auto-inject necessary workspace configurations (such as "editor.tabCompletion": "on" and "diffEditor.codeLens": true) directly into the local project's .vscode/settings.json.
For enterprise repositories where local configurations should never be committed to shared Git branches:
- Configure these properties in your User Settings (global) rather than workspace settings so the extension does not find missing keys.
- Add
.vscode/settings.jsonor.vscode/to your project's.gitignorefile to ensure IDE-level adjustments remain local to the developer's workstation.
Step 3: Workspace-Level Activation Guardrails
The Mutable.ai extension defaults to an inactive state until explicitly enabled for a specific workspace.
- Keep the extension disabled globally, activating it only inside authorized project folders.
- Ensure extension authentication tokens are stored using VS Code's native SecretStorage API rather than unencrypted environment variables or plain text config files.
5. Architectural Comparison: Public SaaS vs. Private Cloud & AWS VPC
Enterprise risk appetite varies significantly. Mutable.ai provides two distinct operational models, summarized below:
| Security Dimension | Public Multi-Tenant SaaS | Private Cloud / Dedicated AWS VPC |
|---|---|---|
| Tenant Isolation | Logical isolation via application-layer access controls | Physical and network isolation; dedicated VPC infrastructure |
| Model Training Risk | Zero training by contract; vendor-managed cloud boundary | Zero training by architecture; traffic constrained to VPC boundaries |
| Data Residency | Vendor-managed multi-tenant cloud (primarily AWS US regions) | Customer-selected cloud region or customer-owned AWS VPC |
| Inference Routing | Shared inference API gateway | Dedicated inference endpoints (e.g., private Azure OpenAI or Bedrock) |
| Access Governance | GitHub OAuth permissions; standard account controls | Enterprise SSO (SAML 2.0 / Okta); SCIM provisioning; granular RBAC |
| Compliance Readiness | Suitable for open-source or non-critical commercial repos | Required for defense, fintech, healthcare, and high-IP proprietary code |
365Finds Institutional Evaluation: When to Upgrade to VPC
If your team is working on standard open-source libraries, utility tooling, or public frameworks, the Public SaaS tier provides sufficient protection under standard commercial terms.
However, if your repository contains:
- Core proprietary algorithms (e.g., proprietary trading logic, core AI model architectures, patented processing pipelines),
- Regulated consumer or patient information subject to HIPAA, PCI-DSS, or GDPR,
- Strict contractual non-disclosure agreements (NDAs) that prohibit uploading source code to third-party multi-tenant SaaS platforms,
365Finds strongly advises against using the public SaaS tier. For these environments, the only acceptable enterprise architecture is a dedicated single-tenant instance or a private AWS VPC deployment with a signed enterprise DPA and customer-managed KMS encryption keys.
6. Enterprise AppSec Checklist for Deploying Mutable.ai
Before approving Mutable.ai across engineering teams, AppSec leaders should execute this five-point compliance pipeline:
flowchart TD
A["Pre-Deployment Review"] --> B["1. Contract & DPA Validation"]
B --> C["2. Repo Scope Minimization"]
C --> D["3. Secret Scanning & Git Hygiene"]
D --> E["4. Client-Side IDE Hardening"]
E --> F["5. Deployment Tier Selection"]
F -->|"Open / Standard Code"| G["Public SaaS with Strict Exclusions"]
F -->|"Core IP / Regulated"| H["Enterprise AWS VPC Single-Tenant"]
- Contract & DPA Execution:
- Request and execute a formal Data Processing Agreement containing explicit "Zero Model Training" and "No Secondary Data Use" clauses.
- Verify post-acquisition legal entity designations to ensure data isolation policies apply across all Alphabet subsidiaries.
- Fine-Grained GitHub App Scoping:
- Never grant organization-wide GitHub permissions to the entire repository pool.
- Use GitHub's "Only select repositories" option to whitelist strictly the projects authorized for automated documentation and codebase chat.
- Pre-Index Secret Sanitization:
- Run automated secret scanners (e.g., Gitleaks, TruffleHog) across the repository history before linking it to Mutable.ai.
- Verify that
.gitignorecorrectly ignores environment files (.env,.env.local), certificate bundles, private keys, and developer credential caches.
- Enforce IDE Telemetry Policies via MDM:
- Use enterprise configuration profiles or Workspace Recommended Settings to enforce
"telemetry.telemetryLevel": "off"across developer workstations. - Provide standardized
.gitignorerules that prevent.vscode/settings.jsonpollution in repository pull requests.
- Use enterprise configuration profiles or Workspace Recommended Settings to enforce
- Establish Deprovisioning and Teardown Protocols:
- Document a formal decommissioning procedure: unlinking the repository from the Mutable.ai dashboard, requesting stored Language Map cache purges, and revoking GitHub OAuth permissions when a project is archived or sunset.
7. The Bottom Line
Does Mutable.ai train AI models on your codebase? No. Both contractually and architecturally, Mutable.ai is built around real-time codebase comprehension, structured Language Maps, and citation-backed Auto Wiki generation rather than harvesting customer repositories to train foundational models.
Nevertheless, enterprise security cannot rely on vendor trust alone. Full-repository indexing expands your data exposure footprint. By implementing fine-grained repository scoping, auditing client-side IDE telemetry, and insisting on private AWS VPC deployments for mission-critical intellectual property, engineering organizations can harness Mutable.ai's architectural documentation capabilities without compromising code sovereignty.