# Is my Windsurf app secure? Checks for apps built in Windsurf (now Devin Desktop)

Canonical: https://caelo.sh/guides/is-my-windsurf-app-secure
Published: 2026-11-27 · Updated: 2026-11-27 · Arthi Arumugam, Caelo by Irth Labs

**Short answer:** Windsurf, now renamed Devin Desktop, writes your code but does not secure the app it produces. Its controls, such as `.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

1. 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).
2. 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 `.local` file, which is the pattern Devin's docs recommend. Confirm the local file is ignored with `git check-ignore -v .devin/mcp_config.local.json` (it prints the matching ignore rule, and nothing if the file is not ignored), and check `git log -p --all -- .devin/mcp_config.json .devin/config.json` for keys committed earlier. Older versions kept MCP servers in `.devin/config.json`.
3. Browser-exposed variables. Search for `NEXT_PUBLIC_` (Next.js) and `VITE_` (Vite). Both frameworks copy these values into the JavaScript sent to every visitor, so none of them may hold a secret.
4. 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.
5. Ignore files are not a lock. For the Devin Local agent, `.devinignore` only 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 `.gitignore` and turn off Gitignore access in Devin Local settings. Even then, shell commands and search tools are not blocked.
6. 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.

## Check your own app

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. Follow the fix in the report and rerun Caelo. For an untracked, unignored file containing secrets, preview the US$19 quick fix. https://caelo.sh/fix
3. For an engineer's assessment, book the US$490 App Health Check. Irth Labs delivers a report and fixed repair quote, with credit toward the repair. https://www.irthlabs.com/start?service=app-health-check

## 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).](https://docs.devin.ai/desktop/devin-desktop-faq)
- [Devin Desktop docs: .devinignore.](https://docs.devin.ai/desktop/context-awareness/devin-ignore)
- [Devin Desktop docs: Terminal and command permissions.](https://docs.devin.ai/desktop/terminal)
- [Devin Desktop docs: Devin Local customizations (MCP config files).](https://docs.devin.ai/desktop/devin-local/customizations)
- [Devin docs: MCP configuration and managing secrets.](https://docs.devin.ai/cli/extensibility/mcp/configuration)
- [Devin Desktop docs: Cascade (legacy), including .codeiumignore.](https://docs.devin.ai/desktop/cascade)
- [Next.js docs: Environment variables (bundling for the browser).](https://nextjs.org/docs/app/guides/environment-variables)
- [Vite docs: Env variables and modes.](https://vite.dev/guide/env-and-mode)

## Related guides

- [Is there a security scanner MCP server for Cursor or Claude Code?](https://caelo.sh/guides/security-scanner-mcp-server-cursor-claude-code)
- [API keys in mcp.json: are your MCP config files leaking secrets to git?](https://caelo.sh/guides/api-keys-in-mcp-json)
- [Is my Cursor app secure? What Cursor protects and what it does not](https://caelo.sh/guides/is-my-cursor-app-secure)
- [I leaked an API key or the Supabase service_role key. What do I do now?](https://caelo.sh/guides/leaked-api-key-what-to-do)
- [Security checklist for apps built with Lovable, Bolt, Cursor, Replit or v0](https://caelo.sh/guides/vibe-coded-app-security-checklist)
- [AI app builder security defaults, compared from their own docs (Nov 2026)](https://caelo.sh/guides/ai-app-builder-security-defaults-compared)
- [Is Access-Control-Allow-Origin: * a security risk in my API?](https://caelo.sh/guides/cors-wildcard-ai-generated-api)
