Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>Threat ProtectorNew to Visual Studio Code? Get it now.
Threat Protector

Threat Protector

Threat Protector

|
3 installs
| (0) | Free
Local-first supply-chain protection for VS Code and Cursor.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Threat Protector

Local-first supply-chain protection for VS Code and Cursor.

Threat Protector checks the packages you install and the project you are working in, and shows what it finds right in the editor. Local protection runs on your machine. You can connect the dashboard to view project status.

Get started

Download the terminal CLI at thprot.com/download. Run thprot to choose an action, or thprot install-ide to install the VS Code extension. Use thprot install-ide cursor or thprot install-ide codium for those editors. The sidebar's Sign in button connects the computer through your browser.

What it does

  • Safer package installs. Commands like npm install, pip install and cargo add are checked before anything is installed, for typosquats, dependency confusion, malicious install scripts and lockfile tampering. There is nothing to set up.
  • Workspace scanning. Your project is scanned for supply-chain and configuration risks, automatically and on demand with the Threat Protector: Scan Workspace command. Findings appear as normal editor diagnostics (Problems panel, inline squiggles).
  • Status bar. Shows whether protection is running and which scan profile (Audit or Watch) is active. Click it to switch.
  • Per-check configuration. Threat Protector: Configure Individual Checks lets you turn specific checks on or off.
  • Sidebar panel. Expand projects and nested projects to see critical paths. Select a project to refresh its findings, lockfile status, and dependency advisories. Use Open project to open the folder in this window or a new one. The panel also shows protection status and enabled checks.
  • Remote repository alerts. For enrolled repositories, see suspicious changes and branch history rewrites in the sidebar, along with the affected paths and commit.

Requirements

None. Everything Threat Protector needs ships inside this extension and starts on its own.

Settings

Setting Default Description
threatProtector.daemonPath (bundled) Advanced: use your own copy of the protection service instead of the bundled one.

Commands

Command Does
Threat Protector: Sign In and Connect This Computer Opens browser approval and connects the daemon to your account.
Threat Protector: Toggle Audit/Watch Profile Switches the scan profile.
Threat Protector: Configure Individual Checks Opens the panel for turning checks on or off.
Threat Protector: Scan Workspace Scans now and refreshes diagnostics.
Threat Protector: Report All Issues Scans now and lists every warning and error (file, line, message) in the "Threat Protector" output channel.

Status

Early. Install-time checks (typosquats, dependency confusion, malicious install scripts, lockfile tampering) are live. Further runtime protections are in active development.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft