Socket
Book a DemoInstallSign in
Socket

@socketsecurity/bun-security-scanner

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@socketsecurity/bun-security-scanner

Bun security scanner for SocketDev

latest
Source
npmnpm
Version
1.1.2
Version published
Weekly downloads
4.7K
42.36%
Maintainers
2
Weekly downloads
 
Created
Source

Socket's Bun Security Scanner

Official Socket Security scanner for Bun's package installation process. Protects your projects from malicious packages, typosquatting, and other supply chain attacks.

Features

  • 🛡️ Real-time security scanning during package installation
  • 🔍 Detects malware, typosquatting, and supply chain attacks
  • ⚡ Optimized batching for fast scans
  • 🔐 Supports both authenticated (Socket org) and free modes
  • 🎯 Native integration with Bun's security provider API

Installation

bun add -d @socketsecurity/bun-security-scanner

Configuration

Add to your bunfig.toml:

[install.security]
scanner = "@socketsecurity/bun-security-scanner"

Authentication (Optional)

For enhanced scanning with your Socket organization settings, set the SOCKET_API_KEY environment variable:

export SOCKET_API_KEY="xyz"

bun install

Note: required scope packages

The scanner will automatically read your token from:

  • SOCKET_API_KEY environment variable
  • Socket CLI settings file (if available)

Without a token, the scanner runs in free mode using Socket's public API.

Support

  • Socket Documentation
  • Bun Security Scanner API
  • Report Issues

Keywords

bun

FAQs

Package last updated on 02 Dec 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts