PkgRadar

Package evidence

[email protected]

Install-time lifecycle script: postinstall="node scripts/postinstall.js"

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
Jun 2026
Publisher
haoyiyin

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"}'
Publisherhaoyiyin
Artifact bytes33,623
Previous version0.1.0
Published2026-06-06T12:39:23.383Z
SHA-256766be50bdd2934c53356c05d2dda75ec617b3bdceefeca4a51fa56d439333cae

Why flagged

What the scanner saw

New Lifecycle Script Vs Previous: postinstall added in 0.1.1 vs 0.1.0: "node scripts/postinstall.js"

Not observed: package install, lifecycle script execution, or sandbox execution. PkgRadar only inspects on-disk artifacts.

Availability ledger

scan error

status
Last checked
noneRisk
Score
0.1.1Version

Latest scanner note: error decoding response body

Status history (2 events)
  1. availablescan_error · risk none · score · error decoding response body
  2. newavailable · risk high · score 45 · status changed

Evidence

Static findings

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

SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpostinstall added in 0.1.1 vs 0.1.0: "node scripts/postinstall.js"40
Show all 2 findings (low-signal and informational)
SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpostinstall added in 0.1.1 vs 0.1.0: "node scripts/postinstall.js"40
lowInstall-time lifecycle scriptpackage.jsonpostinstall="node scripts/postinstall.js"5

Manifest

Package metadata

Scripts8
  • buildtsc
  • cleanrm -rf dist
  • devtsc --watch
  • postinstallnode scripts/postinstall.js
  • prepublishOnlynpm run clean && npm run build
  • testvitest run
  • test:coveragevitest run --coverage
  • test:watchvitest
Dependencies4
  • chalk^5.3.0
  • commander^11.0.0
  • nanoid^5.0.0
  • zod^3.22.0