bun audit
Check installed packages for known security vulnerabilities. More information: https://bun.com/docs/pm/cli/audit.
- Audit all dependencies in a project with a
bun.lockfile:
bun audit
- Show only vulnerabilities at or above a specific severity level:
bun audit --audit-level
- Audit only production dependencies:
bun audit --prod
- Ignore a specific CVE ID:
bun audit --ignore
- Output the raw JSON report:
bun audit --json
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
