ariadne-extension-vscodeVS Code extension for Ariadne — inline security diagnostics, vulnerability panels, session metrics, and an optional “Ask Ariadne” feedback panel powered by GitHub Copilot. This extension ships Linux x64 and Windows x64 scanner binaries under InstallSupported hosts are Linux x64 and Windows x64. For the data-collection release, install the packaged Prerequisites
Install dependenciesOpen a terminal in
This installs TypeScript, esbuild, ESLint, and other dev dependencies listed in Compile the extension
This runs, in order:
You must compile (or run watch mode) before launching the extension. VS Code loads Watch mode (optional, while developing)Recompiles automatically when you save files:
This runs esbuild and TypeScript in parallel. The default Run Extension launch config uses the watch task as its pre-launch build. Run and debug in VS Code
VS Code opens a second window titled Extension Development Host. That window loads this extension from your workspace.
Launch configurationThe repo includes
If F5 fails with a missing build, run Recommended VS Code extensionsSee Using the extensionCommands (Command Palette:
|
| Command | Title | Description |
|---|---|---|
ariadne-extension-vscode.analyze |
Ariadne: Analyze | Run analysis on the workspace |
ariadne-extension-vscode.openFeedbackPanel |
Ariadne: Ask Ariadne | Open AI explanation panel for a finding |
ariadne-extension-vscode.helloWorld |
Hello World | Development stub |
Panels
Open the Ariadne panel area in the bottom panel bar:
- ARIADNE (ACTIVE VULNERABILITIES) — current findings
- SESSION METRICS — counts and session stats
Inline squiggles and hovers appear on vulnerable lines after analysis.
Settings
Open File → Preferences → Settings and search for Ariadne, or edit settings.json:
| Setting | Default | Purpose |
|---|---|---|
ariadne.executable |
"ariadne" |
Optional override path to the scanner binary. Leave default to use the packaged OS binary. |
GitHub sign-in is required to use the extension (scanning, rule scripts, and AI explanations). Explanations always use Gemini Flash via the user's Copilot allowance.
npm scripts (reference)
| Script | Command | Purpose |
|---|---|---|
compile |
npm run compile |
One-shot typecheck + lint + bundle |
watch |
npm run watch |
Watch mode for development |
package |
npm run package |
Production bundle (minified) |
lint |
npm run lint |
ESLint only |
check-types |
npm run check-types |
TypeScript check only |
test |
npm test |
Extension tests (vscode-test) |
workflow |
npm run workflow |
Agentic workflow CLI |
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| Extension fails to start / “cannot find module” | dist/ not built |
Run npm run compile |
| No findings / core errors in Debug Console | Packaged scanner did not start | Reload the window; on unsupported OS set ariadne.executable |
Stale results after replacing bin/ binaries |
Old process still running | Reload the extension window |
| Ask Ariadne errors | Copilot auth failure | Check VS Code Copilot extension status |
Check View → Output or the Debug Console in the host that runs the extension for [Ariadne Core] stderr from the Rust process.
Project structure
ariadne-extension-vscode/
├── bin/ ← packaged scanner binaries (linux-x64, win32-x64)
├── src/
│ ├── extension.ts ← activation entry point
│ └── modules/
│ ├── core/ ← binary resolution
│ ├── detection/bridge/ ← IPC with scanner (spawn, messages, convert)
│ ├── presentation/ ← diagnostics, webviews, panels
│ ├── feedback/ ← Copilot "Ask Ariadne", auth, settings
│ ├── tracker/ ← status bar, session metrics, storage
│ └── rules/ ← .ariadne rule file support
├── scripts/ ← workflow CLI tooling
├── docs/ ← specs, plans, architecture, agent docs
├── dist/extension.js ← built output (after compile)
├── package.json
└── .vscode/launch.json ← F5 “Run Extension”
License
Proprietary. Users may install and run it during data collection. See LICENSE.
See also
- Full-stack quick start — see the parent repository README
- Scanner core — see the scanner core documentation for building and installing the
ariadneCLI