DhanushNehru / DhanushNehru/lockcheck

Add support for Bun lockfiles (bun.lock / bun.lockb)

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
JavaScript
Stars
11
Forks
3
Avg merge
43m
Merged PRs (30d)
1

Description

Bun is becoming incredibly popular, but its lockfile is historically binary (`bun.lockb`) and recently text-based (`bun.lock`).

We need to add support for scanning Bun lockfiles within `lockcheck`. If the project uses Bun, `lockcheck` should ideally trigger `bun install -y --dry-run` or parse the `bun.lock` text file directly in a zero-dependency way to extract the same dependency graph mapping for our security analyzers.

**Acceptance Criteria:**
- Recognize `bun.lockb` or `bun.lock`.
- Extract package names, versions, and resolved URLs.
- Feed the data into the existing analyzers.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.