How to Detect Windsurf in Your Company
Windsurf is a VS Code-based editor built around the Cascade agent. It installs per user and keeps its data under two different folders, one of them still named after Codeium. Here is where to look and what to check inside.
What Windsurf is and why security teams care
Windsurf, originally from Codeium and now owned by Cognition, is a fork of VS Code. Its agent, Cascade, reads the workspace, edits files across the project and runs terminal commands as the logged-in user. Code context goes to Windsurf's service under whatever account the developer signed in with.
The same questions apply as for any AI editor:
- Account: team and enterprise plans come with admin controls that do nothing for a developer on a personal account.
- Command execution: Cascade can run terminal commands, and users can let it run them without asking.
- MCP servers: configured in
~/.codeium/windsurf/mcp_config.json, outside the editor's own folder, so a check of~/.windsurfalone misses them. - Extensions: Windsurf has its own extensions folder, so VS Code's allowlist does not cover it.
Before the editor, Codeium shipped an extension for VS Code and JetBrains (ID Codeium.codeium in VS Code). It is still found on many machines and is reported as an AI extension, not as the Windsurf editor.
Where Windsurf leaves traces
| Signal | Windows | macOS | Linux |
|---|---|---|---|
| Application | %LOCALAPPDATA%\Programs\Windsurf | /Applications/Windsurf.app | /usr/share/windsurf, /opt/Windsurf |
| Installed programs | Uninstall entry starting with Windsurf | - | Package manager entry |
| Process | Windsurf.exe | Windsurf | windsurf |
| User data (evidence of use) | %USERPROFILE%\.windsurf, %USERPROFILE%\.codeium\windsurf | ~/.windsurf, ~/.codeium/windsurf | ~/.windsurf, ~/.codeium/windsurf |
| Editor settings | %APPDATA%\Windsurf\User | ~/Library/Application Support/Windsurf/User | ~/.config/Windsurf/User |
| MCP servers | %USERPROFILE%\.codeium\windsurf\mcp_config.json | ~/.codeium/windsurf/mcp_config.json | ~/.codeium/windsurf/mcp_config.json |
| Extensions | %USERPROFILE%\.windsurf\extensions | ~/.windsurf/extensions | ~/.windsurf/extensions |
Older builds kept MCP servers in ~/.codeium/mcp_config.json, one level up. Projects can carry .windsurfrules, which proves Windsurf is used on a repository. Windsurf has been renamed and reorganised more than once, so if the folders above are missing on a machine where the editor runs, check the MCP detection guide for the newest locations.
Check one machine
Both checks only read files, the process table and, where relevant, the local listener table. They send nothing over the network and change nothing.
Windows (PowerShell)
# Read-only, no network. Run as the user (not SYSTEM).
# 1. Installed? Per-user folder and uninstall entry
Test-Path "$env:LOCALAPPDATA\Programs\Windsurf"
Get-ItemProperty 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*',
'HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*' -ErrorAction SilentlyContinue |
Where-Object { $_.DisplayName -match '^Windsurf' } | Select-Object DisplayName, DisplayVersion
# 2. Running now?
Get-Process -Name Windsurf -ErrorAction SilentlyContinue | Select-Object Id, Path
# 3. Used, and what it carries: data folders, MCP server names, extensions
'.windsurf', '.codeium\windsurf' | ForEach-Object {
Get-Item -Force (Join-Path $env:USERPROFILE $_) -ErrorAction SilentlyContinue
} | Select-Object FullName, LastWriteTime
foreach ($f in "$env:USERPROFILE\.codeium\windsurf\mcp_config.json", "$env:USERPROFILE\.codeium\mcp_config.json") {
if (Test-Path $f) { (Get-Content $f -Raw | ConvertFrom-Json).mcpServers.PSObject.Properties.Name }
}
Get-ChildItem "$env:USERPROFILE\.windsurf\extensions" -Directory -ErrorAction SilentlyContinue |
Select-Object -ExpandProperty Name
macOS and Linux (bash)
# Read-only, no network. Run as the user.
# 1. Installed?
ls -d /Applications/Windsurf.app /usr/share/windsurf /opt/Windsurf 2>/dev/null
# 2. Running now?
pgrep -il windsurf
# 3. Used, and what it carries: data folders, MCP server names (needs jq), extensions
ls -ld ~/.windsurf ~/.codeium/windsurf 2>/dev/null
for f in ~/.codeium/windsurf/mcp_config.json ~/.codeium/mcp_config.json; do
[ -f "$f" ] && jq -r '.mcpServers // {} | keys[]' "$f"
done
ls ~/.windsurf/extensions 2>/dev/null
The MCP lines print server names only. MCP config files often hold API tokens; to review one in full, paste it into the MCP config auditor, which runs in your browser and uploads nothing.
What to look at beyond the install
Most organizations approve one or two AI editors on a business plan and treat the rest as unauthorized. If Windsurf is one you approve, require the team plan and its admin settings; if it is not, the inventory above gives you the list of machines to follow up on. The AI IDE guide compares Windsurf with Cursor, Kiro, Antigravity, Trae and Zed.
Find it across a fleet
The commands above answer the question for one laptop. Across a fleet, run the same read-only checks from the management tool you already use and collect one line per device. Each of these guides has a tested script that already includes Windsurf:
- Windows with Intune: Detect AI tools with Intune Remediations (detection-only script, results in the device status column).
- Windows with NinjaOne: Inventory AI tools with NinjaOne (writes a summary to a device custom field).
- macOS with Jamf Pro: Find AI tools with a Jamf Pro extension attribute (plus a Smart Group to act on it).
- macOS with Iru (Kandji): Detect AI tools with an Iru custom script (with an allowlist).
Those scripts walk every profile under C:\Users or /Users, because MDM scripts usually run as SYSTEM or root, where %USERPROFILE% and ~ point at the wrong home folder. On Linux, run the bash checks through whatever configuration management you have (Ansible, Salt, a cron job) and loop over /home/* the same way.
How Kuntur detects Windsurf
Kuntur's catalog identifies Windsurf by its install path on each OS, the running process, the Windows installed-programs entry and both data folders (~/.windsurf and ~/.codeium/windsurf). For every user, the agent also reads Windsurf's MCP config (current and older location) and its extensions folder, and reports the Codeium extension in other editors separately.
To check one machine now, the free Kuntur scanner lists Windsurf together with every other AI tool, extension, local model and MCP server it finds:
- Download scan.ps1.
- Read it. It's plain text; here's what it does.
- Check its SHA-256 against the published hash:
Get-FileHash .\scan.ps1 -Algorithm SHA256 - Run it:
powershell -ExecutionPolicy Bypass -File .\scan.ps1
Windows shortcut, if you trust the source (PowerShell)
irm https://app.kuntur.io/scan.ps1 | iexmacOS and Linux (Terminal)
curl -fsSL https://app.kuntur.io/scan.sh | shIt needs no account and no admin rights, writes an HTML report to the Desktop (or home folder) and uploads nothing. You can read scan.ps1 or scan.sh before running it; what it collects is documented.
Across a fleet, the Kuntur agent reports the same inventory for every user profile on Windows, macOS and Linux. You mark Windsurf approved or unauthorized once for the organization, the dashboard shows which machines carry it, and every decision lands in an audit log.
Free for up to 5 endpoints. Pro is US$3 per endpoint per month (or US$30 per endpoint per year) for 10 to 30 endpoints. The trial needs no credit card. Kuntur detects and reports; it does not block or uninstall anything.
FAQ
- Where does Windsurf store MCP servers?
- In
~/.codeium/windsurf/mcp_config.json(%USERPROFILE%\.codeium\windsurf\mcp_config.jsonon Windows), under themcpServerskey. Older builds used~/.codeium/mcp_config.json. - Is Windsurf the same as the Codeium extension?
- No. Windsurf is a standalone editor. The Codeium extension (
Codeium.codeium) runs inside VS Code or JetBrains IDEs and is reported as an AI extension. - Does Windsurf need admin rights to install?
- Not on Windows, where the default installer writes to
%LOCALAPPDATA%\Programs\Windsurfand registers under HKCU, which is why machine-wide software inventories often miss it. - Does a VS Code extension allowlist cover Windsurf?
- No. Windsurf keeps its own extensions in
~/.windsurf/extensions, and VS Code'sextensions.allowedpolicy does not apply to it.
Sources
Detect other AI tools:
Related guides: