Skip to main content

Security scanning in Windsurf, Cursor and VSCodium: installing a VS Code extension outside VS Code

Windsurf, Cursor and VSCodium all look like VS Code because they are built from the same open-source base. Most VS Code extensions run in them unchanged. Where they differ is how extensions get there: which registry the editor searches, what happens when an extension is not listed, and how much checking happens before it installs.

That matters twice for security tooling. You want your scanner inline in the editor where AI coding agents are writing code, and you want the extensions themselves to come from somewhere you trust. This guide covers both.

Why the forks do not use the VS Code Marketplace

The Visual Studio Marketplace is Microsoft's. Its terms say Marketplace offerings are intended for use only with Visual Studio products and services, and VSCodium's own documentation cites that restriction as the reason it does not use it. Some Microsoft extensions also carry licences that forbid use outside Microsoft's products.

So the forks point at a different registry:

Editor Default extension registry Notes
VS Code Visual Studio Marketplace The reference
VSCodium Open VSX (open-vsx.org) Gallery can be changed in product.json or with VSCODE_GALLERY_* variables
Windsurf Open VSX Per Windsurf's docs
Cursor Open VSX, through Cursor's proxy Cursor scans extensions before serving them (docs)

Open VSX is a vendor-neutral registry run under the Eclipse Foundation. Many popular extensions publish to both registries, but not all do. When an extension you want is missing from the Extensions panel in Windsurf or Cursor, it is usually because the publisher only lists it on the Microsoft Marketplace.

Installing an extension that is not in the panel

The fallback in every fork is a VSIX file, the packaged form of a VS Code extension.

  1. Download the .vsix from the publisher's own site or release page.
  2. Open the Command Palette and run Extensions: Install from VSIX..., then pick the file.
  3. Or use the editor's command-line tool. In VS Code that is:
code --install-extension ./some-extension-1.2.3.vsix

Two things to check before you do this:

  • Engine version. Every extension declares the minimum VS Code version it needs. Forks track the upstream base on their own schedule, so an extension built for a recent VS Code may refuse to install in a fork that is a few releases behind. The editor's About dialog shows the base version.
  • Provenance. A VSIX bypasses whatever checking the registry does. Download it over HTTPS from the vendor, not from a mirror you found in a search result, and compare a published hash if the vendor provides one.

Treat extensions as code you run

An extension runs with your user's permissions inside the editor that holds your source, your terminal and, these days, an AI coding agent with your tokens. The registries have both had malicious and compromised extensions removed over the years, so a listing is not a guarantee.

Practical controls:

  • Install only what you use, and remove the rest.
  • Prefer publishers whose namespace is verified on the registry, and whose source repository matches the published package.
  • On Cursor team plans, admins can restrict installs to approved publishers or extension IDs, require signature verification, and set an install cooldown so a brand new version is not installed the minute it is published.
  • Audit what is already installed, on every machine, not just what you meant to install.

Getting Vulkro findings inline in these editors

The Vulkro VS Code extension is documented for VS Code, Cursor, Windsurf and VSCodium (extension docs). It does not depend on which registry the editor uses: the scanner installs it for you, downloading the package from the Vulkro CDN.

vulkro install-extension                    # every detected editor, asks first
vulkro install-extension --editor windsurf  # code | cursor | windsurf | codium
vulkro install-extension --vsix ./vulkro.vsix   # a local package, for air-gapped machines

It finds the editor's own command-line tool in its install location, so it works even when code (or the fork's equivalent) is not on your PATH. VULKRO_VSIX_URL points it at a self-hosted mirror. Install the vulkro scanner first, because the extension runs it.

What you get, per the released docs:

  • Findings in the gutter and the Problems panel when you open a JavaScript, TypeScript, Python, Go or Java file, with the rule and fix advice on hover.
  • Quick fixes: Suppress (adds a vulkro:disable comment), Explain, and one-line fixes for a few clear-cut patterns such as weak hashes, yaml.load and cookie flags.
  • The same results as CI. Export SARIF or JSON from the same scan CI runs, and get the matching vulkro scan . --min-severity <level> command.
  • Scans that do not fight your typing. The first file opened gets a fast single-file scan, then a project scan runs in the background. Saves re-scan the saved file; typing never starts a scan.
  • No silent edits. Every suppression or fix is applied only when you accept it.

Sign in with Vulkro: Sign in from the Command Palette; it shares the licence of vulkro login and needs an active trial or Pro. Without a licence the status bar says so rather than showing empty results as if the file were clean.

For Salesforce projects, the Vulkro for Salesforce extension installs the same way (vulkro-sf install-extension), runs the local vulkro-sf lsp server for Apex, Aura, LWC, Visualforce, Flow and metadata, and needs VS Code 1.101 or later as its engine base (Salesforce extension docs).

The language server underneath

The extension wraps vulkro lsp, a standard Language Server Protocol server over stdio (docs). Editors outside the VS Code family can run it directly: Neovim, Helix, Emacs (eglot), Zed and Sublime LSP register the command vulkro lsp. It scans the whole project on first open, re-analyses only the saved file on save (or the whole project when that file takes part in a cross-file finding), and does not scan on every keystroke, because it reads files from disk.

Auditing what is installed

vulkro extension-audit reads the extension lists of VS Code, Cursor, Windsurf and VSCodium and flags any installed version on the known-compromised list (EXT-001). Add --include-browser to cover Chromium-family browsers and Firefox as well (docs).

vulkro extension-audit --format json

FAQ

Can I use VS Code extensions in Windsurf?

Yes, most of them. Windsurf is built on the same open-source base and installs extensions from Open VSX. An extension listed only on the Microsoft Marketplace can usually be installed from a VSIX file with Extensions: Install from VSIX..., as long as it supports Windsurf's VS Code engine version.

Why can I not find an extension in Cursor or VSCodium?

Both use Open VSX instead of the Microsoft Marketplace, and some publishers list only on the Marketplace. Cursor also blocks extensions that fail its own malware review. Check the publisher's site for a VSIX or an Open VSX listing.

Does the Vulkro VS Code extension work in Windsurf and Cursor?

Yes. The released docs list VS Code, Cursor, Windsurf and VSCodium, and vulkro install-extension --editor windsurf (or cursor, codium) installs it into a specific editor.

To get findings inline in your editor, start a 14-day trial. Related reading: connect a security MCP server to Cursor and VS Code and security where Salesforce developers write code.