Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>pkgsafeNew to Visual Studio Code? Get it now.
pkgsafe

pkgsafe

Ananthapadmanabhan M

|
2 installs
| (0) | Free
Real-time npm vulnerability scanner for package.json
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

🛡️ pkgsafe

Your Guardian for a Secure Dependency Tree.

pkgsafe is a lightweight, production-grade VS Code extension that monitors your package.json for known security risks in real-time. By combining the power of the npm Advisory API and OSV.dev, it provides a comprehensive safety net for your project without cluttering your development environment.

pkgsafe in action

🚀 Why pkgsafe?

Most vulnerability scanners are either too noisy or too slow. pkgsafe is built for performance and focus:

  • ⚡ Blazing Fast: Leverages Bulk APIs and intelligent caching to scan your entire workspace in milliseconds.
  • 🧹 Zero Clutter: No messy underlines or crowded "Problems" tabs. Security insights are available exactly where you need them: in the sidebar and on hover.
  • 🔍 Multi-Source Intelligence: Cross-references findings from the official npm registry and the Open Source Vulnerabilities (OSV) database.
  • 🏢 Monorepo Ready: Automatically detects and scans multiple package.json files across complex workspaces.

✨ Key Features

📡 Real-time Monitoring

Stay ahead of threats. pkgsafe automatically triggers a scan whenever you open or save a package.json.

📊 Sidebar Command Center

A dedicated view in the Activity Bar providing:

  • Quick Stats: Summary cards for Vulnerable, Clean, and Total dependencies.
  • Deep-Dive Reports: Detailed cards showing CVSS scores, CVE IDs, and patched versions.
  • Workspace Rescan: A one-click button to refresh security status across all projects.

💡 Contextual Hovers

Get the facts instantly. Hover over any dependency name to see a rich markdown summary of identified vulnerabilities and OSV advisories.

📜 Professional Logging

Transparency at your fingertips. View all scanning activity and API interactions via the dedicated pkgsafe Output Channel.

⚙️ Configuration

Tailor the experience to your needs:

  • pkgsafe.enabled: Toggle automatic scanning (default: true).
  • pkgsafe.severity: Set the minimum severity to flag (low, moderate, high, critical).

🛠️ Data Sources

pkgsafe fetches trusted, real-time data from:

  • npm Advisory API
  • OSV.dev (Open Source Vulnerabilities)

Made with ❤️ by blitzbugg

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