Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>SecureReflex AINew to Visual Studio Code? Get it now.
SecureReflex AI

SecureReflex AI

shannu

|
4 installs
| (0) | Free
Scan the file you are editing for security vulnerabilities and run the reflexion repair loop, powered by a SecureReflex AI backend.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

SecureReflex AI (VS Code extension)

Scan the file you are editing for security vulnerabilities and run the SecureReflex reflexion repair loop without leaving your editor. The extension is a thin client: it talks to a running SecureReflex AI backend over the same /api/* endpoints the web app uses. No Python is bundled and no API keys are stored in the editor.

Works in any VS Code-family IDE (VS Code, Cursor, Kiro, Windsurf, VSCodium).

What it does

  • SecureReflex: Scan Current File - sends the active file to POST /api/scan and shows findings as native diagnostics (squiggles + Problems panel), each tagged with its CWE, severity and remediation.
  • SecureReflex: Run Reflexion Repair on Current File - sends the file as the baseline t0 to POST /api/evaluations, polls the run, then opens a results panel with every version's findings, diff, explanation and the Repair/Regression/NetGain metrics. One click applies a chosen version back into the file.
  • SecureReflex: Check Backend Connection - pings GET /api/health.
  • SecureReflex: Clear Findings - clears the diagnostics it created.

Requirements

None. Out of the box the extension uses the hosted backend at https://securereflex-backend.onrender.com. The web version of the app is at securereflex-frontend.onrender.com.

The hosted backend runs on a free plan and sleeps when idle. The first request after a quiet period can take up to about a minute while it wakes up; later requests are fast.

To use your own backend instead, set securereflex.backendUrl (for example http://127.0.0.1:8000 for one running locally).

Settings

Setting Default Description
securereflex.backendUrl https://securereflex-backend.onrender.com Base URL of the backend (no trailing /api).
securereflex.aiProvider demo demo, openai, anthropic or google. Keys live on the backend; it falls back to demo if the key is missing. The hosted backend runs in demo mode.
securereflex.reflexionRounds 3 Repair rounds (1-10).
securereflex.scanOnSave false Scan supported files automatically on save.
securereflex.requestTimeoutSeconds 90 Per-request timeout. Keep it at 60 or more so a sleeping backend has time to wake.

Supported languages: python, javascript, java, c, cpp, csharp, php, rust.

Build and run from source

cd extension
npm install
npm run compile

Press F5 in VS Code to launch an Extension Development Host with the extension loaded.

Package into an installable .vsix

cd extension
npm install
npx --yes @vscode/vsce package

This produces securereflex-ai-0.1.1.vsix. Install it with:

code --install-extension securereflex-ai-0.1.1.vsix

or in the IDE: Extensions view -> "..." menu -> Install from VSIX....

To publish to the Marketplace later, create a publisher and run npx @vscode/vsce publish (see the VS Code publishing docs).

Security notes

  • Code you scan or repair is sent to the configured backend. With the default setting that is the public hosted instance, so don't send code containing secrets or anything you can't share.
  • The backend has no authentication or rate limiting. Only point the extension at a backend you trust.
  • API keys are never read or stored by the extension; the backend owns them.
  • Applying a version overwrites the current file. Review the change (git diff) before committing - automated repairs are review aids, not proof of security.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft