Gemini Code Assist security: data, access, and migration

What Standard and Enterprise document about code transmission, training, logs, and private indexes, plus the checks to carry into a replacement.

For existing Gemini Code Assist Standard and Enterprise deployments, Google says it does not train models on your data without permission. Source code can still leave the workstation for processing. Optional logging can store prompts and responses, and Enterprise code customization creates a private-code index. A security approval should cover each configured data flow and the actions your agent can take.

The account matters. Consumer Code Assist tiers have already stopped serving requests, while Standard and Enterprise remain available to existing subscribers under a separate transition schedule. This review covers those existing business deployments. Evaluate Google Antigravity or another replacement against its own terms and controls.

Which Gemini Code Assist are you reviewing?

Edition and lifecycle boundaries, checked October 22, 2026
Product or editionCurrent boundaryWhat to review
Code Assist for individuals, Google AI Pro, and Google AI UltraConsumer Code Assist IDE extensions and Gemini CLI stopped serving these tiers on June 18, 2026The replacement product and authentication method actually in use
Code Assist StandardNo new subscriptions since October 9, 2026; existing contracts remain supportedIDE context, logging, identity, and enabled agent tools
Code Assist EnterpriseSame subscription transition; adds private-repository code customizationStandard checks plus indexed repositories, exclusions, and index access
AntigravityGoogle's recommended transition pathIts own edition, terms, configuration, and permissions

Google's consumer deprecation notice and Standard and Enterprise subscription notice describe different schedules. Existing business subscribers can add licenses and auto-renew annual subscriptions through January 31, 2027; monthly auto-renewals continue through December 31, 2027. Support continues to the contract's end. Record the actual renewal and end dates for your agreement.

Inventory the extension version, signed-in account, assigned edition, and Cloud project for each developer. Record any API-key configuration separately. The agent-mode setup documentation permits Gemini API or Vertex AI keys when Code Assist quota is exhausted. Review the selected service's terms before enabling that route.

Does source code leave the workstation?

Yes. Google's architecture documentation describes TLS connections from the IDE extension to Google Cloud. Request context can include conversation history, snippets from open and adjacent files, and cursor location. The text you type is only part of the possible input. Google also says processing regionality is not guaranteed; the project's location is insufficient evidence of regional processing.

Agent mode expands the review. Google's agent-mode overview describes context from tools and local files, with tool results sent back to the Gemini API. A command that reads a file can therefore add that file's contents to the conversation. Inspect available tools and context sources before using a sensitive repository.

Separate inference, logging, and repository storage

Data flows to record for an approved deployment
FlowDocumented behaviorEvidence your team needs
Standard or Enterprise requestsGoogle describes the service as stateless, without prompt and response storage in Google CloudAccount, request context, and any additional storage configured below
Optional Cloud LoggingCan retain developer prompts, responses, and metadataEnabled settings, bucket retention, readers, and export destinations
Enterprise code customizationStores an index of selected private repositories and sends relevant matches with promptsSelected repositories and branches, index permissions, and exclusions
Connected toolsReceive arguments and return results used by the agentEach tool's operator, credentials, destinations, and retention policy

The logging controls separate prompt-and-response logging from metadata logging. Google's log documentation describes IAM-controlled access and says enabling logs does not make them training data. Inspect the actual project settings and any centralized logging configuration. Disabling collection does not by itself establish that previously stored or exported records have been deleted.

The stateless description also does not mean no operational data exists: Google documents service telemetry separately from Customer Data. Ask your administrator to identify the configured storage, access, and deletion rules. This article does not assign a universal retention period to every log or integration.

Check the Enterprise index and each exclusion mechanism

Code customization is an Enterprise feature. Google stores indexed code in a dedicated single-tenant environment and refreshes the index every 24 hours. The feature searches indexed repositories for relevant code and includes matches in prompts. That persistence needs its own review even when ordinary requests are stateless.

The configuration guide uses repository groups and IAM permissions to control access to indexed data. Record the chosen repositories, branch patterns, groups, and principals. Do not assume a developer's source-host permissions alone describe their index access.

Google's exclusion documentation distinguishes IDE context from customization: IDE context can use .aiexclude and .gitignore, while code customization uses only .aiexclude. The documented VS Code defaults consider the root working folder's .gitignore, without merging nested files. Gemini CLI has a separate .geminiignore mechanism. Check the client and feature you actually use; an exclusion file is not a general restriction on shell or third-party tool access.

Use an invented marker to exercise the configured exclusion. Inspect available context and logs. Failure to repeat the marker proves neither that it was never transmitted nor that it was deleted. Keep those outcomes explicitly unverified when you cannot observe them.

Test permissions before enabling agent actions

Google labels agent mode as Preview, subject to its pre-GA terms. Mutating tool requests normally need permission unless configured otherwise; read-only requests might run without a prompt. The setup guide also documents automatic approval and warns that MCP servers can run code with the user's permissions. Review both settings and credentials.

Run a small pilot with a sanitized repository, disposable branch, and test credentials. Define allowed actions using the agent permissions guide, then check the configured behavior:

  1. Request a small bug fix with a known failing check. Record the account, extension version, and enabled tools.
  2. Request one mutating action, such as a test-file edit, that your policy requires an operator to approve. Verify it waits before execution; deny it and confirm no change occurred.
  3. Revoke a test integration's access. Confirm a fresh request fails without switching to a broader credential.
  4. Inspect the patch, commands, and available logs. Run the acceptance check independently and record any evidence you could not obtain.

Carry the evidence into the migration

For Antigravity in Gemini Enterprise, review the successor’s documented controls and compliance scope separately. Google currently lists ISO 27001 and SOC 2 among its unsupported certifications, although Code Assist lists both. Its settings documentation also gives terminal auto-execution a default of “Always proceed” and sandbox mode a default of Disabled. For a supervised migration pilot, set terminal execution to “Require review” and explicitly assess sandbox configuration. Existing Code Assist approval does not establish that the replacement configuration meets the same requirements.

Repeat the same task from the same starting commit with the proposed replacement. Save its account, edition, logging configuration, tool permissions, accepted changes, and review time. Keep an ordinary editor and local build instructions available while unresolved checks are investigated.

Turn failures into repeatable checks with the agent regression guide, and use the coding-agent trial scorecard to compare completed work and verification effort. Approve a named configuration for specific repositories and tasks. Recheck it when the client, model service, account, or tool access changes.

Agentlist editorial review. Sources checked October 22, 2026. This is a documentation-based security review, not a hands-on security test or compliance determination. Pilot procedures and recommendations are our analysis.