Is Trae IDE Safe in 2026? ByteDance AI Coding Tool Security Review

TL;DR

Trae IDE is still not safe for privacy-sensitive work in 2026. ByteDance's AI coding tool keeps sending telemetry (file paths, hardware specs, keyboard and mouse activity) after you turn the telemetry toggle off, and a year after researchers published that finding the behaviour has not changed. What did change: the model lineup got better, paid tiers appeared, and SOLO mode now runs commands on your machine. Use Cursor or Windsurf if privacy matters to you.

What changed since this review was first published

We first published this in March 2026. Three things moved, and one didn't.

  • Models improved. The free tier now ships current-generation Claude Sonnet and GPT models rather than the Claude 3.7 Sonnet and GPT-4o it launched with.
  • It's no longer free-only. ByteDance added paid tiers in 2026. The free plan survives, but "how is this free?" is no longer the sharpest question to ask.
  • SOLO agent mode arrived. Trae can now scaffold a project, write the files, and run terminal commands on its own. New capability, new blast radius. There's a section on it below.
  • The telemetry problem is exactly where it was. ByteDance's fix was a wording change in the settings panel.

What is Trae IDE?

Trae is an AI-powered code editor from ByteDance, the company behind TikTok. It launched in early 2025 as a VS Code fork with frontier models available at no cost, which is what made it attractive to vibe coders building on a budget. That's still the pitch, now with paid tiers stacked on top.

The catch is what Trae does with your data while you use it.

Our Verdict

What's Good

  • Frontier models on the free tier, which no competitor matches
  • Familiar VS Code interface
  • AI chat, autocomplete, and multi-file editing
  • SOLO mode scaffolds a whole project from a description
  • Your project files stay on disk, per Trae's privacy policy
  • Active development with frequent updates

What to Watch

  • Collects telemetry even after opt-out, still unfixed in 2026
  • Tracks file paths, keyboard and mouse activity
  • Personal data kept five years after you stop using it
  • ByteDance operates the servers (Chinese data laws apply)
  • 5.7GB memory usage, roughly 3x Cursor
  • No privacy mode or code exclusion features
  • No SOC 2 or comparable security certification
  • SOLO mode executes commands with no published permission model

Privacy and Data Collection

This is where Trae falls apart for security-conscious developers.

What Data Does Trae Collect?

Security researchers at Unit 221B analyzed Trae's network traffic and found it collects far more than what's needed for AI features:

  • File system paths including your username and project names
  • Hardware specifications (CPU, memory, OS, architecture)
  • Behavioral metrics like keyboard and mouse activity patterns
  • Window focus states tracking when you're actively coding
  • Editor visibility data showing which files you have open
  • Precise timing data recording when you start and stop working

This goes well beyond what Cursor or Windsurf collect. Those tools send code context for AI processing, which is expected. Trae sends behavioral surveillance data that has nothing to do with code completion.

Trae's telemetry exposes your full file paths, which can reveal project names, client names, and directory structures. If you're building something under NDA or pre-launch, this metadata alone could be a problem.

The Telemetry Opt-Out Problem

Trae has a telemetry toggle in its settings. Turning it off should stop data collection. It doesn't.

Researchers found that the toggle only controls VS Code's built-in telemetry system. ByteDance's own data collection layer runs independently and keeps transmitting regardless of your settings.

ByteDance's response tells you how seriously they took it. They didn't change the behaviour. They changed the label. The setting now explains that it only controls telemetry collected through the VS Code framework, and that data collection via other Trae components is unaffected by the toggle. That is an accurate description of a setting that does not do the thing its name implies.

This is unchanged as of August 2026. Even with telemetry "disabled," Trae keeps sending data to ByteDance's servers. A dedicated privacy mode has been discussed but has not shipped.

How Long ByteDance Keeps It

Trae's privacy policy puts a number on the retention question, which is more than most AI coding tools do: personal data is kept for five years after you stop using the service.

Five years is a long time for a keystroke-timing log. And that clock starts when you stop using Trae, not when you close your account, so deleting the account doesn't wipe what's already been sent. De-identified and aggregated data gets no stated deletion date at all.

To be fair to Trae on the part that matters most to a founder: the policy says your codebase files stay local on your device, and that they don't run secondary training on your code. That's a meaningful distinction from the metadata problem. Your source isn't the thing being harvested. Everything around your source is.

Performance and Resource Usage

Privacy isn't the only concern. Trae is significantly heavier than its competitors.

MetricTrae IDECursorVS Code
Processes spawned33119
Memory usage5.7 GB1.9 GB0.9 GB
Relative overhead6.3x VS Code2.1x VS CodeBaseline

Loading the same codebase, Trae uses three times more memory than Cursor and over six times more than plain VS Code. Some of that overhead comes from AI features. Some of it comes from the extensive telemetry system running in the background.

For vibe coders working on laptops or machines with 8-16GB of RAM, Trae can eat a significant chunk of your available memory before you even start coding.

SOLO Mode: The New Part

SOLO is Trae's autonomous agent. You describe a project in plain English, and it does the requirements analysis, writes the frontend, backend and config files, runs terminal commands, and iterates until the thing works. It's the headline feature of Trae in 2026 and it's on the free tier.

It's also a different security question from everything above.

Telemetry is a data-out problem: information about you leaves your machine. An autonomous agent is a code-execution problem: something else decides what runs on your machine. Those failure modes have nothing in common, and a tool can be fine at one and bad at the other.

An agent that runs terminal commands inherits every credential your shell can reach. Your AWS profile, your SSH keys, your .env files, your logged-in gh and stripe CLIs. If the agent is talked into running the wrong command, "review the diff before merging" is not a control that fires in time.

The talking-into part isn't hypothetical. Prompt injection through content the agent reads (a package README, a scraped web page, a file in the repo it was asked to analyse) is the live attack class against every coding agent, not just Trae's. We cover the mechanics in agentic AI security risks.

What we can't tell you is where Trae draws its line, because ByteDance hasn't published one. There's no documented permission model for SOLO, no equivalent of an allowlist you can audit, and no published boundary on which commands run without asking. Compare that to Trae's competitors, who at least document their approval prompts. Treat the absence as the answer for now.

If you want to use SOLO, run it in a container or a VM with only the credentials that specific project needs. That advice applies to every coding agent. It applies harder when the vendor hasn't told you what the agent is allowed to do.

Security of Generated Code

Setting privacy aside, how safe is the code Trae generates?

The models powering Trae are the same frontier models available through Cursor and everything else. The generated code carries the same risks:

RiskLikelihoodWhat to Do
Hardcoded API keysMediumMove secrets to environment variables. See our guide to hiding API keys
Missing authenticationMedium-HighAlways specify auth requirements in your prompts
SQL injectionLow-MediumUse parameterized queries
XSS vulnerabilitiesMediumSanitize and escape all user output
Overly permissive CORSMediumRestrict origins to your actual domains

The code quality isn't the differentiator here. The same AI model produces similar code whether you access it through Trae, Cursor, or the API directly. The real question is what happens to your code and metadata while you're writing it.

Trae vs Cursor vs Windsurf

AspectTrae IDECursorWindsurf
PriceFree tier plus paid plans$20/monthFree tier plus $20/month
Parent companyByteDance (China)Anysphere (US)Cognition (US)
SOC 2 certifiedNoYesYes
Privacy modeNoYesNo
Code exclusion (.cursorignore)NoYesPartial
Telemetry opt-outBrokenWorkingWorking
Training on user codeStates it does notOpt-out availableClaims no
Stated retention period5 years after last useNot comparable, privacy mode avoids storageNot published
Memory usage5.7 GB1.9 GB~2.1 GB

The pricing gap that made this an easy call in early 2025 has mostly closed. Cursor and Windsurf both sit at $20/month, and Trae now has paid tiers of its own. What you're choosing between is a free tier that reports on you and paid tiers that don't.

Note what a paid Trae plan does not buy: the telemetry toggle behaves the same way, there's still no privacy mode, and there's still no SOC 2 report. Upgrading changes your quota, not your exposure.

Using Trae IDE Safely (If You Choose To)

If you decide to use Trae despite the privacy concerns, take these precautions:

1. Never Use It for Sensitive Projects

Keep Trae for learning, side projects, and throwaway prototyping. Don't use it for client work, apps with user data, or anything you wouldn't want ByteDance to know about.

2. Use a Separate Machine or VM

Run Trae in an isolated environment where it can't see your other projects, SSH keys, or configuration files. The telemetry collects file paths, so keep your real work elsewhere.

3. Strip Sensitive Data from Your Workspace

Before opening a project in Trae, remove or rename any files that contain client names, API keys, or proprietary information. Even file names and directory structures are transmitted.

4. Review Generated Code Thoroughly

This applies to every AI coding tool, not just Trae. Don't ship AI-generated authentication, database queries, or API handlers without reviewing them. Run a security scan before deploying.

5. Monitor Network Traffic

Use a tool like Little Snitch (macOS) or Wireshark to see exactly what Trae sends and where. If you're uncomfortable with what you find, switch to a different tool.

6. Give SOLO Its Own Sandbox

If you use the agent mode, run it somewhere it can't reach credentials it doesn't need. A container or throwaway VM with a scoped project directory, no shared SSH keys, no default cloud profile. Until ByteDance publishes what SOLO is allowed to execute, that isolation is the only permission model you actually control.

Does Trae IDE send my code to ByteDance servers?

Yes. Like all AI-powered IDEs, Trae sends code context to remote servers for AI processing. The difference is that Trae's servers are operated by ByteDance, and researchers have found the tool collects additional telemetry beyond what AI features need. Trae's privacy policy does say your project files stay on your device and are not used for secondary model training.

Has ByteDance fixed the Trae telemetry problem?

No. As of August 2026 the behaviour is unchanged. ByteDance's response was to reword the setting, which now says the toggle only controls telemetry collected through the VS Code framework and that other Trae components keep reporting. A dedicated privacy mode has been discussed but has not shipped.

Is Trae IDE still free in 2026?

There is still a free tier, and it now includes newer models plus SOLO agent mode. Trae added paid tiers during 2026, so the original "free forever" framing no longer holds. The paid tiers do not buy you a telemetry opt-out or a security certification, so the privacy analysis is the same on every plan.

How long does Trae keep my data?

Trae's privacy policy states that personal data is retained for five years after you stop using the service. De-identified and aggregated data has no stated deletion date. Deleting your account does not trigger deletion of what has already been collected.

Is Trae IDE safe for production code?

The AI-generated code carries the same risks as any AI coding tool. The bigger concern is the privacy side: Trae collects file paths, project metadata, and behavioral data that could reveal what you're building, and SOLO mode executes commands on your machine. For production projects with sensitive code or trade secrets, use a tool with a working opt-out and a published security certification.

Built Something with an AI Coding Tool?

Whether you used Trae, Cursor, or any other AI tool, your generated code could have security gaps. Find them in 60 seconds.

Is It Safe?

Is Trae IDE Safe in 2026? ByteDance AI Coding Tool Security Review