PkgRadar

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 update

Static 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"}'
Publisherhai_xin
Artifact bytes89,360
Previous version0.1.0
Published2026-05-25T04:39:49.467Z
SHA-256385a981c67ce053cd016b00b7c77e17af6c81053e2ae993a143c4c80365ea929

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

high
Last checked
highRisk
45Score
0.2.0Version
Status history (3 events)
  1. availableavailable · risk high · score 45 · status available -> available, risk high -> high, score 48 -> 45
  2. availableavailable · risk high · score 48 · status available -> available, risk high -> high, score 73 -> 48
  3. newavailable · risk high · score 73 · status changed

Evidence

Static findings

2 static · 1 from release diff · showing high-signal first.

SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpostinstall added in 0.2.0 vs 0.1.0: "electron-rebuild -f -w better-sqlite3 -v 33.4.11"40
highNew Account With Lifecycle Hookpackage.jsonpackage first published 20 day(s) ago, 2 total version(s), has lifecycle hook25
Show all 3 findings (low-signal and informational)
SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpostinstall added in 0.2.0 vs 0.1.0: "electron-rebuild -f -w better-sqlite3 -v 33.4.11"40
highNew Account With Lifecycle Hookpackage.jsonpackage first published 20 day(s) ago, 2 total version(s), has lifecycle hook25
lowInstall-time lifecycle scriptpackage.jsonpostinstall="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.1
  • dev: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-builder
  • packagenpm run build && npm run rebuild:electron && electron-builder --dir
  • package:dirnpm run build && npm run rebuild:electron && electron-builder --dir
  • package:winnpm run build && npm run rebuild:electron && electron-builder --win portable nsis --publish never
  • postinstallelectron-rebuild -f -w better-sqlite3 -v 33.4.11
  • prepacknpm run build
  • rebuild:electronelectron-rebuild -f -w better-sqlite3 -v 33.4.11
  • rebuild:nativenpm run rebuild:electron
  • rebuild:nodenpm rebuild better-sqlite3
  • startnpm run rebuild:electron && electron .
  • testnpm run rebuild:node && vitest run
  • typechecktsc -p tsconfig.json && tsc -p electron/tsconfig.json
Dependencies6
  • @electron/rebuild^3.6.1
  • better-sqlite3^12.10.0
  • lucide-react^0.468.0
  • react^19.0.0
  • react-dom^19.0.0
  • toml^3.0.0
Optional dependencies1
  • electron^33.2.1