PkgRadar

Package evidence

[email protected]

Install-time lifecycle script: preinstall="npx only-allow pnpm"

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
4
First published
May 2026
Publisher
huizai

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"}'
Publisherhuizai
Artifact bytes22,193
Previous version0.0.3
Published2026-05-26T01:31:57.602Z
SHA-256460aef297e3777352ab9e4a4b6ebbf0ad589f3dd2b8c7cb01f2195a1709766c7

Why flagged

What the scanner saw

New Lifecycle Script Vs Previous: preinstall added in 0.0.4 vs 0.0.3: "npx only-allow pnpm"

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

Availability ledger

not present

status
Last checked
noneRisk
Score
0.0.4Version

Latest scanner note: [email protected] not present in registry metadata

Status history (2 events)
  1. availablenot_present · risk none · score · [email protected] not present in registry metadata
  2. newavailable · risk high · score 90 · status changed

Evidence

Static findings

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

SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpreinstall added in 0.0.4 vs 0.0.3: "npx only-allow pnpm"40
highNew Lifecycle Script Vs Previouspackage.jsonpostinstall added in 0.0.4 vs 0.0.3: "lefthook install"40
Show all 4 findings (low-signal and informational)
SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpreinstall added in 0.0.4 vs 0.0.3: "npx only-allow pnpm"40
highNew Lifecycle Script Vs Previouspackage.jsonpostinstall added in 0.0.4 vs 0.0.3: "lefthook install"40
lowInstall-time lifecycle scriptpackage.jsonpreinstall="npx only-allow pnpm"5
lowInstall-time lifecycle scriptpackage.jsonpostinstall="lefthook install"5

Manifest

Package metadata

Scripts15
  • buildvite build
  • build:testvite build --config vite.test.config.ts
  • devvite
  • formatprettier --write .
  • format:checkprettier --check .
  • linteslint src test --ext .js,.ts,.vue --fix
  • lint:reporteslint src test --ext .ts,.vue --format json --output-file eslint-report.json
  • postinstalllefthook install
  • preinstallnpx only-allow pnpm
  • preparelefthook install
  • prepublishOnlynode scripts/prepare-publish.js
  • previewvite preview
  • test:unitvitest run --passWithNoTests
  • test:watchvitest
  • type-checktsc --noEmit
Dependencies2
  • dsbridge3.1.4
  • lib-emas1.0.1-beta-4