
Product
Introducing Immutable Scans
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.
@socketsecurity/bun-security-scanner
Advanced tools
Official Socket Security scanner for Bun's package installation process. Protects your projects from malicious packages, typosquatting, and other supply chain attacks.
bun add -d @socketsecurity/bun-security-scanner
Add to your bunfig.toml:
[install.security]
provider = "@socketsecurity/bun-security-scanner"
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
pacakges
The scanner will automatically read your token from:
SOCKET_API_KEY environment variableWithout a token, the scanner runs in free mode using Socket's public API.
FAQs
Bun security scanner for SocketDev
The npm package @socketsecurity/bun-security-scanner receives a total of 5,394 weekly downloads. As such, @socketsecurity/bun-security-scanner popularity was classified as popular.
We found that @socketsecurity/bun-security-scanner demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

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.

Product
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.

Product
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.

Product
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.