Protect your Bun projects from known vulnerabilities using the OSV database. Automatically scan packages during installation and block or warn about security threats before they enter your codebase.
And best of all, NO API KEY REQUIRED.

Key Features

🔍

Package Scanning

Automatically scan packages during Bun installation against the OSV database.

Fast & Efficient

Built for Bun's speed with minimal overhead during package installation.

🛡️

Customizable Security

Configure threat levels and responses based on your organization's security requirements.

Security Details and Quick Start

Security Advisory Levels

FATAL

Installation Blocked

Malware, backdoors, token stealers, critical vulnerabilities

WARNING

User Confirmation Required

Protestware, adware, deprecated packages

Quick Start

# Install the scanner
bun add -D bun-osv-scanner

# Configure in bunfig.toml
[install.security]
scanner = "bun-osv-scanner"