IDE plugin inventory
See every extension and plugin in each IDE for each user, with its enabled state, which IDEs are covered and how to read the results.
DefenseClaw lists every extension and plugin in every IDE, AI or not, with its enabled state, for each user. AI plugins are flagged from the signature catalog, so "who has Copilot, Claude Code or Continue installed, and is it on?" is one command.
The inventory is part of the AI Discovery continuous scan and refreshes with every full scan (every 5 minutes by default). Nothing is executed: the scan reads small, bounded metadata files only.
$ defenseclaw agent ide-plugins --user alice
User IDE Plugin Version Enabled AI
alice cursor anthropic.claude-code (Claude Code for VS Code) 2.1.0 yes yes
alice intellij-idea com.github.copilot (GitHub Copilot) 1.5.40 yes yes
alice vscode eamodio.gitlens (GitLens) 17.0.0 no
alice vscode github.copilot (GitHub Copilot) 1.250.0 yes yes
alice vscode ms-python.python (Python) 2026.1.0 yes
alice vscode (ssh) github.copilot (GitHub Copilot) 1.250.0 client side yes
alice zed html 0.2.1 yes
7 plugin(s) shown; 7 in total, 4 AI, 1 disabled, 1 user(s)Read the inventory
defenseclaw agent ide-plugins
defenseclaw agent ide-plugins --user alice --ai-only
defenseclaw agent ide-plugins --ide cursor --json
defenseclaw aibom scan --only ide_plugins--idetakes a product (vscode,cursor,pycharm) or a family (jetbrains).--ide windsurfis an alias fordevin-desktop.- The footer counts the rows the filters select.
- Without AI discovery enabled, the command tells you to run
defenseclaw agent discovery enable.
| Where to read it | What you get |
|---|---|
defenseclaw agent ide-plugins | The table above, or --json |
GET /api/v1/ai-usage/ide-plugins | The full rows, filtered and paged |
defenseclaw aibom scan --only ide_plugins | The ide_plugins category of the bill of materials |
TUI: Inventory (6) → IDE plugins | The same rows, with a detail card |
| Grafana AI Agent Usage & Detection → IDE plugins | Counts by IDE, AI against other, disabled, per user |
ide.plugin.* records and the defenseclaw.inventory.ide_plugins gauge | The change stream and the current counts, in your telemetry |
Which IDEs
| IDE family | Products | Plugin list | Enabled state from |
|---|---|---|---|
| VS Code and forks | VS Code, Insiders, VSCodium, Cursor, Devin Desktop (including Windsurf folders), Kiro, Trae, Void, Antigravity, Positron | extensions.json (including every profile) and each extension's package.json | The extensionsIdentifiers/disabled key of the editor's state.vscdb, opened read-only. Enabled when not listed (or when there is no state database yet), unknown when it cannot be read |
| VS Code Remote-SSH servers | ~/.vscode-server, ~/.cursor-server and the forks' servers, on the host you connect to | The server's extensions folder, shown as vscode (ssh), cursor (ssh) and so on | client_side_unknown, shown as client side: the IDE on your laptop keeps that state |
| JetBrains | IntelliJ IDEA, PyCharm, WebStorm, GoLand, CLion, Rider, RubyMine, PhpStorm, DataGrip, DataSpell, RustRover, Aqua, Writerside, Android Studio, and JetBrains remote development (shown as (remote dev)) | Each plugin's META-INF/plugin.xml in the plugin folders and bundled JARs | disabled_plugins.txt: enabled when not listed |
| Visual Studio (Windows) | Each instance, including the experimental hive: user extensions under %LOCALAPPDATA%\Microsoft\VisualStudio and machine-wide ones under Program Files | extension.vsixmanifest | Visual Studio's private registry (privateregistry.bin); unknown while Visual Studio runs and holds it locked |
| Zed | Zed | extensions/installed/*/extension.toml | Always enabled |
| Eclipse | Per-user installs (Oomph under ~/eclipse, p2 user configurations under ~/.eclipse), best effort | bundles.info, without the platform bundles every Eclipse ships | Enabled |
| Vim and Neovim | Vim, Neovim | lazy-lock.json, native packages in pack/*/{start,opt} and vim-plug's plugged folder | start is enabled, opt is disabled; lazy.nvim and vim-plug plugins are unknown |
- Bundled extensions inside an IDE application, such as VS Code's built-in GitHub Copilot Chat, are not listed. The scan reads per-user extension folders.
- Connector plugins (Claude Code, Codex, OpenCode, Amp, Copilot CLI, Hermes and the others) are not IDE plugins. They stay in the AIBOM
pluginscategory, stamped with their user. - A row's enabled state is
enabled,disabled,client_side_unknownorunknown. The row records its source (state_vscdb,disabled_plugins_txt,privateregistry,remote_server,defaultand so on), which the TUI shows as Enabled from.
Folders not read
For VS Code the scan reads ~/.vscode/extensions (%USERPROFILE%\.vscode\extensions on Windows) and the default per-user folders of the listed forks and their SSH servers. These are not read, so their plugins can be missing:
- portable VS Code
data/extensionsbeside the app, - folders chosen with
--extensions-dirorVSCODE_EXTENSIONS, - Linux XDG relocations,
- Snap and Flatpak extension roots,
- JetBrains Toolbox's own folder (the IDEs it installs keep plugins in the product folders, which are read).
Whose plugins
Each per-user row carries its user: the home's owner, or on a managed host the account that was scanned. One user never appears in another user's rows, so a planted extension folder changes only its owner's inventory.
| Install | Who scans | Whose homes |
|---|---|---|
| Per-user | The user's own gateway | That user's home only |
| Standalone enterprise, Linux and macOS | The hook guardian, as each enrolled user | Each enrolled user's home. It does not follow links out of the home |
| Standalone enterprise, Windows | The gateway service, granted read access to each profile's IDE folders and nothing else in it | Each enrolled profile; Visual Studio under Program Files is machine-wide. Nothing is read through a link, junction or mount point, and an ai_discovery.home_dirs folder that is one is skipped with one ai_discovery_link_refused warning in the gateway log |
A machine-wide row belongs to no account. A Visual Studio extension installed for all users is listed once, with scope machine, no user or user_id, and enabled state unknown. --user never returns it, counts.users does not count it, and its ide.plugin.* records carry no user.id or defenseclaw.user.* attribute.
Folders granted on managed Windows
At every cycle (every 5 minutes) the hook enumerator grants the gateway service read access to these folders in each enrolled profile, so a new IDE or plugin folder shows up after the next cycle and scan.
| IDE | Read, with what it holds | Only the folder or file itself |
|---|---|---|
| VS Code and forks | .vscode\extensions and the forks' extensions, %APPDATA%\Code\User\globalStorage and profiles (and the forks') | |
| Remote-SSH servers | .vscode-server\extensions and the forks' | .vscode-server and .vscode-server\cli\servers (to list server builds), each build's server\package.json. The server's own data and binaries are not granted |
| JetBrains | %APPDATA%\JetBrains, and plugins in each product folder under %LOCALAPPDATA%\JetBrains | %LOCALAPPDATA%\JetBrains (to list products), RemoteDev\dist and each backend's product-info.json. Caches, indexes and logs are not granted |
| Android Studio | Each %APPDATA%\Google\AndroidStudio<version>, and plugins in each %LOCALAPPDATA%\Google\AndroidStudio<version> | %APPDATA%\Google and %LOCALAPPDATA%\Google (to list versions). Other Google folders are not granted |
| Visual Studio, Zed, Neovim, Vim | %LOCALAPPDATA%\Microsoft\VisualStudio, %LOCALAPPDATA%\Zed\extensions\installed, %LOCALAPPDATA%\nvim and nvim-data, vimfiles | |
| Eclipse | .eclipse | eclipse (Oomph installs) and each install's bundles.info |
- Nothing is granted through a link or junction inside a profile.
- AppData that folder redirection moves to a local folder the user owns is read. AppData on a network share, or reached through a link or junction, is not.
What is collected, and what is not
| Collected | Not collected |
|---|---|
| Plugin ID, display name, publisher, version | Extension contents or source |
| Enabled state and its source | Settings, tokens or credentials |
Scope (user, remote or machine) | Workspace and project files |
| AI flag and the matching signature | Chat or editor history |
| Install and last-seen times, owning user | The extension's own data |
| A hash of the plugin's path; for each IDE: product, channel, version, remote or not, path hash | Raw paths (they leave the host only as hashes) |
- Each text field is kept to one printable line of at most 256 bytes. Format characters such as right-to-left overrides are dropped and control characters become a space, so a planted name cannot render differently in a table or dashboard.
- The only database read is the
extensionsIdentifiers/disabledkey in a VS Codestate.vscdb, opened read-only with a 2-second limit. - An
enabledrow means the plugin's metadata is present and enabled in that saved profile. Removing an IDE can leave those folders behind, so it does not prove the IDE is still installed.
Scan bounds
| Bound | Limit |
|---|---|
| Plugins per IDE installation | 4,096 |
| Files per home | 16,384 |
| Metadata per home | 64 MiB |
| One file | 1 MiB |
- An IDE that exceeds a bound is reported as a partial installation.
- The scan reads regular files only. It skips a FIFO, device, socket or folder it cannot open without waiting, and never reads a manifest through a link.
- On managed Linux each user's scan runs in a worker with a 1 GiB memory ceiling, so a hostile home ends that worker, not the host.
- On managed Linux and macOS, after three failed passes in a row the guardian pauses that home for an hour (then two, up to a day) and keeps the last inventory meanwhile.
Privacy and scope
Plugin lists can reveal personal tooling. ai_discovery.ide_inventory sets the scope:
| Value | Effect |
|---|---|
all (default) | Every plugin, AI or not |
ai_only | Only plugins flagged as AI |
off | No IDE inventory; AI editor-extension signals still appear in agent usage |
ai_discovery:
ide_inventory: ai_only # all | ai_only | off- Set it with
defenseclaw agent discovery enable --ide-inventory ai_only --yes(orall,off). This also enables discovery and runtime planes A and B. - A running gateway applies the change on its next reload; the inventory follows at the next full scan.
- On a managed host, edit the machine configuration.
- With
off,defenseclaw agent ide-pluginssays so and exports nothing. - The AI flag follows the signature packs, so a new AI extension is flagged after a signature update.
See also Identity and authentication.
AI Discovery runtime planes
See which AI process ran, which provider it sent data to and what actions it took, with per-OS grants, Tetragon, DNS capture and settings.
AI Discovery export
Where AI Discovery records go - the endpoint and skill inventory collections, and the Splunk and Grafana dashboards.