bun

npm

Is bun safe to use?

The latest brin safety scan flagged bun v1.3.8 with risk indicators that warrant review. No known CVE vulnerabilities. Trust score: 75/100. Review the findings below before use. This is an automated assessment and may contain errors.

Install (safety-checked)

bun Has Warnings

Warnings detected due to potential concerns

warning
CVEs

0

Threats

0

Install Scripts

0

Risk Indicators

  • Can spawn child processes

brin Recommendations

  • This package has warnings detected. Evaluate the specific concerns before proceeding.

Install with brin add bun to automatically apply these checks before installation.

This is an automated, point-in-time assessment and may contain errors. Findings are risk indicators, not confirmed threats. Security posture may change over time. Maintainers can dispute findings via the brin review process.

bun Capabilities & Permissions

What bun can access when installed. Review these capabilities before using with AI agents like Cursor, Claude Code, or Codex.

Network Access

This package makes network requests.

bun.comgithub.comregistry.npmjs.org
Protocols: https

Filesystem Access

Writes to the filesystem.

/etc/ (w).env (w)node_modules (w)package.json (w)

Process Spawning

This package can spawn child processes.

Environment Variables

Accesses the following environment variables.

DEBUGGITHUB_ACTIONLOG_LEVELRUNNER_DEBUGRUNNER_TEMP

AGENTS.md for bun

Good instructions lead to good results. brin adds bun documentation to your AGENTS.md so your agent knows how to use it properly—improving both safety and performance.

brin init

Vercel's research: 100% accuracy with AGENTS.md vs 53% without →

bun Documentation & Source Code

For the full bun README, API documentation, and source code, visit the official package registry.

Frequently asked questions about bun safety

Weekly Downloads

952.7K

Version

1.3.8

License

MIT

Other Versions

Last Scanned

Feb 1, 2026

Trust Score

75/100·Legitimacy signals, not safety

Capabilities

Network

Connects to: bun.com, github.com, registry.npmjs.org

Filesystem

Writes files

Process

Spawns child processes

Environment

Accesses: DEBUG, GITHUB_ACTION, LOG_LEVEL...