Is my Windsurf app secure? Checks for apps built in Windsurf (now Devin Desktop)
.devinignore and terminal permission rules, govern what the agent can do on your machine, not who can read your users' data. Check for keys in source and in MCP config files, secrets behind NEXT_PUBLIC_ or VITE_, server-side checks on every route, and which commands the agent may run without asking.Windsurf is now Devin Desktop
On June 2, 2026, Windsurf became Devin Desktop. Its FAQ describes the same IDE with the same features, and says your Windsurf settings carry over. The official docs now live at docs.devin.ai. Legacy Windsurf files such as .windsurfrules and .codeiumignore are still read alongside the new .devin/ equivalents, so the checks below cover both names.
The self-check
- Keys in source. Search what git tracks:
git grep -nE "sk_live_|sk-[A-Za-z0-9_-]{20,}|AKIA|ghp_|service_role". Move real keys to server-side environment variables and rotate any that were ever committed (see our guide on leaked keys). - Keys in MCP config. The Devin Local agent reads MCP servers from
.devin/mcp_config.json, which is meant to be checked into version control, from.devin/mcp_config.local.json, which is gitignored, and from a user file at~/.config/devin/mcp_config.json. Keep personal keys in the.localfile, which is the pattern Devin's docs recommend. Confirm the local file is ignored withgit check-ignore -v .devin/mcp_config.local.json(it prints the matching ignore rule, and nothing if the file is not ignored), and checkgit log -p --all -- .devin/mcp_config.json .devin/config.jsonfor keys committed earlier. Older versions kept MCP servers in.devin/config.json. - Browser-exposed variables. Search for
NEXT_PUBLIC_(Next.js) andVITE_(Vite). Both frameworks copy these values into the JavaScript sent to every visitor, so none of them may hold a secret. - Server-side checks. For each API route that returns private data, call it signed out, for example
curl -i https://your-app.com/api/your-route, and again as a second test user. You should get 401 or 403, never another user's data. - Ignore files are not a lock. For the Devin Local agent,
.devinignoreonly keeps paths out of indexing, Tab and DeepWiki: the docs warn the agent can still read, edit and create files there. To block its file tools, list the path in.gitignoreand turn off Gitignore access in Devin Local settings. Even then, shell commands and search tools are not blocked. - Command permissions. In Devin Local settings, review your Allow, Ask and Deny rules. A command no rule covers follows the session mode: Code asks first, Smart lets a fast model auto-approve commands it judges safe, and Bypass Permissions runs it. Deny rules take the highest priority, so add them for commands you never want run unattended.
What does Devin Desktop protect, and what is still your job?
| Area | Devin Desktop does this | Still your job |
|---|---|---|
| Your machine | Allow, Ask and Deny rules for agent commands. The agent asks before calling any MCP tool by default. | Avoid Bypass Permissions on unfamiliar code, and add Deny rules. |
| Files the agent sees | .devinignore keeps paths out of indexing. The Gitignore access toggle can block the agent's file tools. | Remember shell commands and search tools are not blocked. |
| MCP credentials | A gitignored .devin/mcp_config.local.json. ${env:VAR} and ${file:/path} references are documented for OAuth client fields. | Keep literal keys out of the shared .devin/mcp_config.json. |
| Your deployed app | Nothing. The editor does not configure your hosting or database. | Secrets, database rules, server-side checks and payments. |
If you find a problem
Rotate exposed keys first, then fix the code and re-test signed out and as a second user. If your app uses Supabase, see our Supabase RLS guide.
Or have it checked: the Irth Labs App Health Check is $490, a written report within 48 hours with a fixed repair price.
1. Run the free local check
npx caelo .
Caelo is a free, open source (MIT) command line tool and MCP server from Irth Labs that checks the files of an AI-built app for exposed API keys, Supabase and Firebase misconfigurations and .env files with real values. It runs on your machine, uploads nothing and uses no AI model. Each finding comes with a plain-English fix.
2. Act on a finding
Follow the fix in your report and run Caelo again. If Git could commit an untracked file containing secrets, preview a US$19 quick fix for that file.
For findings that need an engineer, Irth Labs offers a US$490 App Health Check. You receive a written report within 48 hours and a fixed repair quote. The fee counts toward the repair if you proceed.
Questions
Is Windsurf the same as Devin Desktop?
Yes. Devin Desktop is the new name for Windsurf from June 2, 2026. Its docs describe the same IDE with the same features, and existing Windsurf settings and rules carry over.
Does .codeiumignore keep my secrets away from the agent?
.codeiumignore is the legacy name for .devinignore. For the Devin Local agent, the docs say .devinignore does not block the agent's file tools. Use .gitignore with the Gitignore access toggle turned off, and keep secrets out of the repository entirely.
Is Windsurf itself insecure?
This is about apps built with it, not the editor. The same app checks apply to Lovable, Bolt, Replit, Cursor and v0 apps.
Sources
- Devin Desktop docs: Devin Desktop FAQ (the transition from Windsurf).
- Devin Desktop docs: .devinignore.
- Devin Desktop docs: Terminal and command permissions.
- Devin Desktop docs: Devin Local customizations (MCP config files).
- Devin docs: MCP configuration and managing secrets.
- Devin Desktop docs: Cascade (legacy), including .codeiumignore.
- Next.js docs: Environment variables (bundling for the browser).
- Vite docs: Env variables and modes.