Package evidence
[email protected]
New Account With Lifecycle Hook: package first published 20 day(s) ago, 2 total version(s), has lifecycle hook
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
- 2
- First published
- May 2026
- Publisher
- hai_xin
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":["[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":["[email protected]"],"fail_on":"high"}'Why flagged
What the scanner saw
New Lifecycle Script Vs Previous: postinstall added in 0.2.0 vs 0.1.0: "electron-rebuild -f -w better-sqlite3 -v 33.4.11"
Not observed: package install, lifecycle script execution, or sandbox execution. PkgRadar only inspects on-disk artifacts.
Availability ledger
available
Status history (3 events)
- available → available · risk high · score 45 · status available -> available, risk high -> high, score 48 -> 45
- available → available · risk high · score 48 · status available -> available, risk high -> high, score 73 -> 48
- new → available · risk high · score 73 · status changed
Evidence
Static findings
2 static · 1 from release diff · showing high-signal first.
| Severity | Kind | Path | Detail | Points |
|---|---|---|---|---|
| high | New Lifecycle Script Vs Previous | package.json | postinstall added in 0.2.0 vs 0.1.0: "electron-rebuild -f -w better-sqlite3 -v 33.4.11" | 40 |
| high | New Account With Lifecycle Hook | package.json | package first published 20 day(s) ago, 2 total version(s), has lifecycle hook | 25 |
Show all 3 findings (low-signal and informational)
| Severity | Kind | Path | Detail | Points |
|---|---|---|---|---|
| high | New Lifecycle Script Vs Previous | package.json | postinstall added in 0.2.0 vs 0.1.0: "electron-rebuild -f -w better-sqlite3 -v 33.4.11" | 40 |
| high | New Account With Lifecycle Hook | package.json | package first published 20 day(s) ago, 2 total version(s), has lifecycle hook | 25 |
| low | Install-time lifecycle script | package.json | postinstall="electron-rebuild -f -w better-sqlite3 -v 33.4.11" | 5 |
Manifest
Package metadata
Scripts16
buildnpm run clean && tsc -p tsconfig.json && vite build && tsc -p electron/tsconfig.json && node -e "require('fs').copyFileSync('electron/preload.cjs','dist-electron/preload.cjs')"cleannode -e "const fs=require('fs'); for (const dir of ['dist','dist-electron','release']) fs.rmSync(dir,{recursive:true,force:true});"devvite --host 127.0.0.1dev:electronnpm run rebuild:electron && concurrently -k "npm:dev" "wait-on tcp:5173 && cross-env VITE_DEV_SERVER_URL=http://127.0.0.1:5173 electron ."distnpm run build && npm run rebuild:electron && electron-builderpackagenpm run build && npm run rebuild:electron && electron-builder --dirpackage:dirnpm run build && npm run rebuild:electron && electron-builder --dirpackage:winnpm run build && npm run rebuild:electron && electron-builder --win portable nsis --publish neverpostinstallelectron-rebuild -f -w better-sqlite3 -v 33.4.11prepacknpm run buildrebuild:electronelectron-rebuild -f -w better-sqlite3 -v 33.4.11rebuild:nativenpm run rebuild:electronrebuild:nodenpm rebuild better-sqlite3startnpm run rebuild:electron && electron .testnpm run rebuild:node && vitest runtypechecktsc -p tsconfig.json && tsc -p electron/tsconfig.json
Dependencies6
@electron/rebuild^3.6.1better-sqlite3^12.10.0lucide-react^0.468.0react^19.0.0react-dom^19.0.0toml^3.0.0
Optional dependencies1
electron^33.2.1