Checklist
Is Windsurf secure? What to check before you ship
Short answer. Windsurf is now Devin Desktop, the same editor under a new name. Cascade is the legacy agent. The checks are whether training is turned off, which files the agent can still read, which terminal and MCP calls run without you, and the code that lands in git. Those checks are not a verdict.
Updated 19 Nov 2026
This is a practical checklist, not a guarantee. It is not a penetration test, a compliance audit, or proof that an app is safe to launch.
This page answers the question with the checks, not with a yes or a no. Windsurf does not host the app. The short list after the agent stops is Ship a Windsurf app. Windsurf is the directory entry. The same question for the other desktop editor is Is Cursor secure?, and the settings walkthrough for that editor is how to secure a Cursor-built app. Cursor's switches are not Windsurf's.
What the name covers now
Windsurf's desktop FAQ says that on 2 June 2026 Windsurf became Devin Desktop: the same IDE, with existing settings carried over. Legacy Windsurf plans can still manage settings on windsurf.com. The docs that used to live on docs.windsurf.com now open on docs.devin.ai.
Cascade is the legacy agent. The same page says Devin Desktop no longer starts new Cascade conversations and no longer opens old ones. New conversations start with Devin Local. The JetBrains Cascade overview says Cascade is being deprecated, the Windsurf JetBrains plugin is in maintenance mode, and newer JetBrains releases can break that plugin.
Cognition's security page, which windsurf.com/security now opens, describes the company and the Devin product. It says Cognition has been SOC 2 Type II certified since September 2024, with more detail at trust.cognition.ai. It also says the agent can still suggest insecure code. Those statements are about Cognition. They do not tell you whether a route in the repo checks the caller.
Training and what you hand the product
The security page says that, by default, Cognition may use your data for model training. On a paid plan you can turn on Disable training under Data controls & privacy in Settings, General. After that opt-out, the page says your data will not be used for training and that zero data retention is enabled with the model providers. On the Teams plan, only an administrator can turn that off. For Enterprise, the page says Cognition will not train on your data without express prior written consent. The details sit in the customer agreement.
That switch is about training and provider retention. It does not mean a prompt stays on your laptop. The same page says Cognition processes data the authorized user provides. A production secret pasted into the agent is data you handed over. Do not put one in the chat. If you must give Devin a credential, the security page says to use the Secrets feature on the Settings page.
Ignore files and secrets
Devin Desktop's ignore file page says indexing skips paths in .gitignore, files in node_modules, and hidden names. An ignored file is not indexed.
That is not the same as blocking the agent. The page says Devin Local can read and edit gitignored files by default, including a .env that git already ignores. Turn off Gitignore access in Devin Local settings to block the agent's file tools. The change applies to new sessions. The page says the block does not apply to shell commands or to search tools.
.devinignore in the repo root uses .gitignore syntax. It keeps matching paths out of the index, Tab, and DeepWiki. The same page says a legacy .codeiumignore has the same effect, and that .windsurfignore is not read. It also warns that .devinignore does not block Devin Local's file tools. To block those tools, put the path in .gitignore and turn Gitignore access off.
The legacy Cascade page still says .devinignore or .codeiumignore stops Cascade from viewing, editing, or creating files on those paths. New chats are Devin Local, so use the ignore-file warning for the agent that is actually running. Enterprise customers can add a global .codeiumignore in ~/.codeium/. The Cascade page says that file applies to every Devin Desktop workspace, in addition to the repo file.
The terminal page says the agent's dedicated terminal on macOS and Linux loads your shell config, so aliases and environment variables from .zshrc or .bashrc are available there. A key exported in that file is available to a command the agent runs.
The longer pass on keys in source and in the browser bundle is how to keep API keys out of AI-generated code and API keys in the frontend.
Commands and MCP servers
The terminal page says the agent can run commands on its own. Each command is checked against your rules:
- Deny blocks it. Deny wins.
- Ask always prompts.
- Allow runs with no prompt.
A command that matches no rule follows the session mode. Code asks first. Smart lets a fast model auto-approve commands it judges safe. Bypass Permissions runs the command unless an organization policy requires approval. You set Allow, Deny, and Ask in Devin Local settings. When a card asks, you can run once, allow for the session, allow permanently, or edit the command first.
Teams and Enterprise admins can set rules for every member, enforce a sandbox, and limit which modes members can pick. Organization deny and ask rules beat a member's rules and beat Bypass Permissions. The terminal page says Windsurf Enterprise admins set this on the Devin CLI settings page. Devin Enterprise admins use the Devin dashboard under Settings, Enterprise, Devin Desktop.
The JetBrains plugin documents a different set, and that plugin is in maintenance mode. Its Cascade overview lists Off (no auto-run except the allow list), Auto (the model decides, premium models only), and Turbo (every terminal command and browser control, except the deny list). Admins can cap the level. Users cannot pick a higher one.
Devin Local permissions say the agent asks before calling any MCP tool. You can allow one tool or every tool on that server, for the session or permanently. Enterprise admins can default-allow a server so a trusted integration does not prompt every time.
The Cascade MCP page says you add servers under Settings, Tools, Windsurf Settings, or in mcp_config.json. Enterprise users must turn MCP on in settings. Team admins can allowlist servers. Once any server is allowlisted, every other server is blocked for the team. The page says a tool call can run code written by whoever built the server. Install a server only when you know what it can reach, and give it a restricted key. The config example passes that key through env, which is still a copy of the secret on disk.
While a workspace is in Restricted Mode, the Cascade page says Devin Local and other ACP agents are unavailable.
What to check in the code it writes
The security page says the agent can introduce bugs or suggest insecure code, and it recommends a review and branch protection before a merge. The editor settings do not do that review. Before you deploy, read the diff for the patterns these guides already cover:
- A key written into source so a script would run. How to keep API keys out of AI-generated code, then API keys in the frontend.
- A route that changes data and does not check who is calling. The pass is the pre-launch checklist.
- Supabase tables the client can reach with row level security off. Supabase RLS for an AI-built app.
- A handler with no limit on sign-up, mail, or model calls. Rate limiting.
- A dependency the agent added. Read the lockfile. Socket is one listing in code and dependency security.
Then run a free passive check on the URL you will share. The check does not read your Windsurf settings. The worksheets are the checklist pack and the pre-launch checklist.
If a key already left the machine, rotate it at the vendor. A GitHub token is Leaked a GitHub token?. A Supabase secret or service-role key is Service role key leaked? What to do.
FAQ
Does Disable training keep my code on my machine?
No. Cognition's security page says the opt-out stops training and turns on zero data retention with model providers. The product still processes what you send it, including a prompt. Do not put a production secret in the chat. On Teams, only an admin can turn training off. Enterprise terms say Cognition will not train on your data without express prior written consent.
Will .codeiumignore stop the agent from reading .env?
Not for Devin Local. The ignore-file page says a .codeiumignore has the same effect as .devinignore: those paths stay out of the index, Tab, and DeepWiki, and they do not block Devin Local's file tools. Gitignored files, including .env, are readable and editable until you turn Gitignore access off, and that toggle does not cover shell commands or search. The legacy Cascade page describes a stricter block for Cascade. New conversations are Devin Local.
Does Smart mode or Turbo mean each command is safe?
No. The terminal page says Smart lets a fast model auto-approve commands it judges safe, and Bypass Permissions runs commands that no rule covers unless the organization requires approval. On the JetBrains plugin, Turbo runs every command except the deny list. Deny and Ask rules from the organization beat a member's own rules.
Where did Cascade go?
The Cascade page says it is the legacy agent. Devin Desktop no longer starts new Cascade conversations. New ones start with Devin Local. The JetBrains plugin is in maintenance mode. Ship a Windsurf app is the short list after the agent stops. Windsurf is the directory entry.
Sources
Checked 19 Nov 2026.
Informational only. This page describes checks and vendor documentation. It is not a security audit, a penetration test, or a certification, and it is not a guarantee.
Newsletter
A short weekly note on new tools and security checklists. No spam, unsubscribe anytime.