Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>ForceField AI Security ScannerNew to Visual Studio Code? Get it now.
ForceField AI Security Scanner

ForceField AI Security Scanner

DataScienceTech

| (0) | Free
Scan prompts, LLM outputs, and configuration files for prompt injection, PII leaks, and security vulnerabilities.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ForceField AI Security Scanner

Detect prompt injection, PII leaks, and security vulnerabilities in prompts, LLM outputs, and configuration files -- directly inside VS Code.

ForceField uses an ML ensemble (TF-IDF + DeBERTa transformer) backed by 352 WAF rules to catch threats before they reach production.

Features

Scan Current File

Open any file containing prompts, system messages, or LLM output and run ForceField: Scan Current File from the Command Palette (Ctrl+Shift+P).

Scan Selection

Select any block of text, right-click, and choose ForceField: Scan Selection to check a specific snippet.

Self-Test

Run ForceField: Run Self-Test (121 attack prompts) to verify your installation against 121 known attack vectors covering jailbreaks, data exfiltration, role hijacking, and more.

Scan on Save

Enable forcefield.scanOnSave to automatically scan every file when you save.

Diagnostics Integration

Blocked content appears as VS Code diagnostics (Problems panel), so threats surface alongside your normal linting workflow.

Requirements

  • Python 3.9+
  • ForceField SDK: pip install forcefield

Quick Start

  1. Install ForceField SDK: pip install forcefield
  2. Install this extension from the VS Code Marketplace
  3. Open a file and run Ctrl+Shift+P > ForceField: Scan Current File

Extension Settings

Setting Default Description
forcefield.pythonPath python Path to the Python interpreter with forcefield installed
forcefield.scanOnSave false Automatically scan files on save
forcefield.sensitivity medium Detection sensitivity: low, medium, or high

Commands

Command Description
ForceField: Scan Current File Scan the entire active file for threats
ForceField: Scan Selection Scan only the selected text
ForceField: Run Self-Test (121 attack prompts) Run the full attack test suite to verify detection

Supported Languages

Activates automatically for Python, YAML, JSON, and Markdown files. All commands are available for any file type via the Command Palette.

Links

  • ForceField SDK on PyPI
  • ForceField Website
  • GitHub
  • GitHub Action

License

Apache-2.0

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