Startup Performance: Extension signature verification re-hashes every installed extension in every window, including disabled ones, and blocks extension host startup (roughly 1–4 minutes per window)

Where does the bug appear (feature/product)?

Cursor CLI

Describe the Bug

Environment: Cursor 3.32.4 (commit 0925c4b8226c56947c43f0b555fb98e187a7e020), macOS 26.7.3 on Apple Silicon. About 60 user extensions are installed, and Microsoft Defender for Endpoint provides real-time protection.

Symptom: Each new window takes a long time before any extension runs. The Remote SSH extension is one of them, so remote sessions can’t start until it is done. The SSH connection itself is fast: about 4 seconds to connect, and about 30 seconds including a fresh server install.

What the logs show (renderer.log): Every window logs [ExtensionSigning] Verified (ok) for each installed extension, one after another. The Started local extension host lines for the user extension hosts appear only after the last one.

With a cold file cache, window 1 checked from 11:14:08 to 11:17:29 (3 minutes 21 seconds).
With a warm cache, window 1 checked from 16:47:54 to 16:48:46 (52 seconds).
Window 3, opened right after the first window finished, started the full pass over again.
Within one session, one window logged 324 Verified lines because extension auto-updates reloaded it.

Causes, from the 3.32.4 workbench code:

The hash is recomputed in every window. computeExtensionHash reads every file of every extension and computes a SHA-256 hash of the contents. The cache, _startupExtensionHashes, lives only in that window’s memory. There is no saved cache keyed on extension version, file modification times, or a manifest, so every window re-reads all extension files. This includes the 1 GB openai.chatgpt extension with 15,700 files.
Disabled extensions are verified too. _filterExtensionsForScan(e){return e} returns everything, so disabled extensions are hashed as well. For example, marlinfirmware.auto-build was disabled and was still verified at every startup.
The loop is sequential and blocks startup. _verifyExtensions does for (const d of e) { await this._verifyExtension(…) }, and the extension hosts start only after it returns.
There is no user control. It is gated only by the server-side flag extension_signature_verification and the bypass list extension_signature_verification_bypass_list.

Steps to Reproduce

Have 50 extensions and maybe Microsoft Defender running on the node.

Expected Behavior

Skip the disabled extensions, do the checksum once per session and not once per window, never rerun the checksum for the same window, use a cache.

Operating System

MacOS

Version Information

Version 3.32.4

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hi @gbosilca, your read of this matches what we see: with extension signature verification on, each window re-checks the files of every installed extension (disabled ones included) before it starts the extension hosts, and nothing is reused between windows. I’ve passed this to the team with your timings.

On the control: the check follows the Verify Extension Signatures setting (Cursor Settings → General → Extension Security). On your account it’s turned on by your team’s admins, so the toggle is locked on your side.

For now, the wait scales with the total size of what’s installed, so uninstalling (not just disabling) extensions you don’t use will shorten it. The very large ones matter most.