Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>AgentSec SecurityNew to Visual Studio Code? Get it now.
AgentSec Security

AgentSec Security

thirumaleshp

| (0) | Free
Real-time security diagnostics powered by the AgentSec scanner.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

AgentSec for VS Code

Real-time security diagnostics in your editor, powered by the AgentSec scanner.

What it does

  • Runs the scanner's fast LSP path on every edit (debounced)
  • Publishes findings as squigglies: secrets, vulnerability patterns, prompt-injection surfaces
  • No AI calls, no dependency audits — those stay in the CLI

Install

  1. Install the AgentSec CLI (required):
    npm install -g @agentsec/cli
    
    Or add it to a project:
    npm install --save-dev @agentsec/cli
    
  2. Install this extension from the VSIX or the marketplace.
  3. Open any supported language file — diagnostics appear automatically.

Supported languages

TypeScript, JavaScript (incl. JSX/TSX), Python, Go, Ruby, Java, PHP.

Settings

Setting Default Description
agentsec.path "" (auto) Path to the agent binary. Auto-detects node_modules/.bin/agent then PATH.
agentsec.debounceMs 300 Delay before re-scanning on keystroke.
agentsec.disablePromptInjection false Skip the prompt-injection scanner for faster diagnostics.

Commands

  • AgentSec: Restart Server — reconnect the LSP after changing settings.
  • AgentSec: Scan Workspace — run the full advanced scan in a terminal.

Build locally

cd vscode-extension
npm install
npm run build
# Package:
npx @vscode/vsce package

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft