Overview
The Secure Annex code extension offers a way to collection code extension inventories and protect developers from malicious extensions. The extension supports VS Code, Cursor, and Windsurf code editors. The extension can be installed from the Visual Studio Marketplace and Open VSX. A single installation will protect extensions across all aforementioned code editors.Install
Visual Studio Marketplace Open VSXSetup
You must be a Secure Annex customer to use this extension- Install the extension from the marketplace
- Configure your ingestion endpoint using the Command Palette: Secure Annex: Configure
- Test connection to ensure everything is working: Secure Annex: Test Connection
Options
Configure the extension through VS Code Settings (Ctrl+, / Cmd+,):
| Setting | Description | Default |
|---|---|---|
secureAnnex.endpoint | API endpoint URL | |
secureAnnex.scanInterval | Scan interval in minutes | 60 |
secureAnnex.sendUserDetails | Include username and hostname in communication with Secure Annex | false |
Enterprise deployment
The extension can be installed easily through a command line script:code --install-extension secureannex.secure-annex-extension-manager
Replace code with cursor or windsurf to install with those code editors.
Registry values can be set to configure the extension.
Windows
Set values underHKEY_LOCAL_MACHINE\SOFTWARE\SecureAnnex:
| Value Name | Type | Description | Example |
|---|---|---|---|
endpoint | REG_SZ (String) | API endpoint URL | https://api.secureannex.com/v0/organization/{organization_id}/integration/{integration_id} |
sendUserDetails | REG_DWORD | Send username/hostname (1=true, 0=false) | 0 |
scanInterval | REG_DWORD | Scan interval in minutes | 60 (decimal) |
autoUninstall | REG_DWORD | Auto-uninstall blocked extensions (1=true, 0=false) | 1 |
Mac
Set values in/Library/Preferences/com.secureannex.plist:
| Key | Type | Description | Example |
|---|---|---|---|
endpoint | String | API endpoint URL | https://api.secureannex.com/v0/organization/{organization_id}/integration/{integration_id} |
sendUserDetails | Boolean or Integer | Send username/hostname (1 or true) | 0 or false |
scanInterval | Integer | Scan interval in minutes | 60 |
autoUninstall | Boolean or Integer | Auto-uninstall blocked extensions (1 or true) | 1 or true |
