Skip to content
| Marketplace
Sign in
Visual Studio Code>Testing>Sentry-Box AINew to Visual Studio Code? Get it now.
Sentry-Box AI

Sentry-Box AI

Navadeep Boyana

| (0) | Free
AI-powered Python package security scanner with sandbox analysis
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Sentry-Box AI — VS Code Extension

Detect malicious Python packages using AI-powered sandbox detonation, right from your editor.

Features

  • 🔍 One-command scan — Run Sentry-Box: Scan Python Package from the command palette
  • 🤖 AI-powered analysis — Uses Google Gemini to generate test scripts and analyze behavior
  • 🐳 Docker sandbox — Packages are detonated inside an isolated container with isolate
  • 🛡️ Clear verdicts — SAFE ✅ / BLOCKED 🚫 with risk scores and detailed transcripts
  • 📊 Full transcript — View the complete detonation log in the Output panel

Installation

From VSIX file (local install)

# Build the VSIX
cd vscode-extension
npm install
npm run compile
npm run package

# Install in VS Code
code --install-extension sentry-box-ai-0.1.0.vsix

Prerequisites

  1. Sentry-Box FastAPI server must be running:

    cd /path/to/sentry-box
    source .venv/bin/activate
    uvicorn service.main:app --host 0.0.0.0 --port 8000
    
  2. Docker must be installed and running (for sandbox detonation).

Configuration

Open VS Code Settings (Cmd+, / Ctrl+,) and search for Sentry-Box:

Setting Default Description
sentryBox.apiUrl http://localhost:8000 URL of the FastAPI server
sentryBox.apiToken (empty) API token for X-API-KEY header

Usage

  1. Open the Command Palette (Cmd+Shift+P / Ctrl+Shift+P)
  2. Type Sentry-Box: Scan Python Package
  3. Enter a package name (e.g., requests, flask, numpy)
  4. Wait for the scan to complete (typically 30–90 seconds)
  5. View the verdict notification and full transcript in the Output panel

How It Works

VS Code Extension
    │
    ▼
FastAPI Server (localhost:8000)
    │
    ├─── Gemini AI generates test script
    ├─── Docker sandbox detonates package
    │      └── isolate (Linux namespaces)
    ├─── Wiretap captures behavior
    └─── Gemini AI analyzes telemetry
            │
            ▼
      SAFE ✅ or BLOCKED 🚫

Development

cd vscode-extension
npm install
npm run watch    # Auto-compile on change
# Press F5 in VS Code to launch Extension Development Host

License

MIT

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