Skip to content

Commit f1fc55c

Browse files
committed
add verbose github search output and bun.lock to README
1 parent ba3508f commit f1fc55c

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Find compromised npm packages across your infrastructure.
66
python3 cull.py axios@1.14.1 axios@0.30.4 plain-crypto-js
77
```
88

9-
Checks lock files (`pnpm-lock.yaml`, `package-lock.json`, `yarn.lock`), `node_modules`, GitHub code search, and Docker image layers (legacy + OCI). Version-aware — distinguishes compromised versions from safe pins. Exit code `1` if found, `0` otherwise.
9+
Checks lock files (`pnpm-lock.yaml`, `package-lock.json`, `yarn.lock`, `bun.lock`), `node_modules`, GitHub code search, and Docker image layers (legacy + OCI). Version-aware — distinguishes compromised versions from safe pins. Exit code `1` if found, `0` otherwise.
1010

1111
## Scan targets
1212

cull.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,7 @@ def scan_github(
464464
auth = {"Authorization": f"Bearer {token}"}
465465

466466
for lock_file in LOCK_FILES:
467+
_tprint(f" {dim('searching')} {dim(lock_file)}…")
467468
q = urllib.request.quote(f"{pkg} filename:{lock_file} org:{org}")
468469
data = http_get(
469470
f"https://api.github.com/search/code?q={q}&per_page=100",

0 commit comments

Comments
 (0)