Package evidence
@rocicorp/[email protected]
Native Addon Gyp Action: binding.gyp runs a script or chains shell during node-gyp build (executes outside package.json lifecycle)
Trust signals
Why this verdict
PkgRadar discounts a release’s score when public reputation argues against novel malware. The verdict above already reflects these — the panel just explains what was applied.
- Versions published
- 22Mature · −50% score
- First published
- Oct 2024
- Publisher
- tantaman
Effective trust discount applied: −50% (max across signals — discounts don’t stack). New install-lifecycle deltas vs the previous release would clear the discount.
Recommended action
Block this updateStatic evidence trips multiple high-signal indicators. Quarantine the release until the publisher validates the change or you can rule out the indicators below.
Block this release in CIcurl · GitHub Actions
Fail the build when this package version is added or upgraded. Replace $PKGRADAR_TOKEN with a Pro / Team API key from your dashboard.
curl -fsS https://pkgradar.com/gate/npm \
-H "Authorization: Bearer $PKGRADAR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"specs":["@rocicorp/[email protected]"],"fail_on":"high"}'GitHub Actions step:
- name: PkgRadar gate
run: |
curl -fsS https://pkgradar.com/gate/npm \
-H "Authorization: Bearer ${{ secrets.PKGRADAR_TOKEN }}" \
-H "Content-Type: application/json" \
-d '{"specs":["@rocicorp/[email protected]"],"fail_on":"high"}'Why flagged
What the scanner saw
Native Addon Gyp Action: binding.gyp runs a script or chains shell during node-gyp build (executes outside package.json lifecycle)
Not observed: package install, lifecycle script execution, or sandbox execution. PkgRadar only inspects on-disk artifacts.
Availability ledger
available
Status history (2 events)
- available → available · risk high · score 41 · status available -> available, risk high -> high, score 23 -> 41
- new → available · risk high · score 23 · status changed
Evidence
Static findings
4 static · 0 from release diff · showing high-signal first.
| Severity | Kind | Path | Detail | Points |
|---|---|---|---|---|
| high | Native Addon Gyp Action | package/binding.gyp | binding.gyp runs a script or chains shell during node-gyp build (executes outside package.json lifecycle) | 35 |
| high | Install Lifecycle Remote Or Exec | package.json | install="prebuild-install || node -e \"require('fs').existsSync('build/Release/better_sqlite3.node')||process.exit(1)\" || node-gyp rebuild --release" | 30 |
| medium | Remote Payload | package/deps/download.sh | matched "curl " | 12 |
Show all 4 findings (low-signal and informational)
| Severity | Kind | Path | Detail | Points |
|---|---|---|---|---|
| high | Native Addon Gyp Action | package/binding.gyp | binding.gyp runs a script or chains shell during node-gyp build (executes outside package.json lifecycle) | 35 |
| high | Install Lifecycle Remote Or Exec | package.json | install="prebuild-install || node -e \"require('fs').existsSync('build/Release/better_sqlite3.node')||process.exit(1)\" || node-gyp rebuild --release" | 30 |
| medium | Remote Payload | package/deps/download.sh | matched "curl " | 12 |
| low | Install-time lifecycle script | package.json | install="prebuild-install || node -e \"require('fs').existsSync('build/Release/better_sqlite3.node')||process.exit(1)\" || node-gyp rebuild --release" | 5 |
Manifest
Package metadata
Scripts6
benchmarknode benchmarkbuild-debugnode-gyp rebuild --debugbuild-releasenode-gyp rebuild --releasedownloadbash ./deps/download.shinstallprebuild-install || node -e "require('fs').existsSync('build/Release/better_sqlite3.node')||process.exit(1)" || node-gyp rebuild --releasetestmocha --exit --slow=75 --timeout=5000
Dependencies2
bindings^1.5.0prebuild-install^7.1.1