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.

Weekly downloads
364
Versions published
48Mature · −50% score
First published
Sep 2024
Publisher
GitHub ActionsTrusted automation · −70% score

Effective trust discount applied: 70% (max across signals — discounts don’t stack). New install-lifecycle deltas vs the previous release would clear the discount.

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"}'
Artifact bytes13,427
Previous version2.6.0
Published2026-05-26T16:35:07.934Z
SHA-256880fe29db9aa70fdf8f8f36be246787bc7c6a16c572727779d3dcbb4db72fd9a

Why flagged

What the scanner saw

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

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

Availability ledger

available

high
Last checked
highRisk
45Score
2.7.0Version
Status history (1 event)
  1. 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.jsonpreinstall added in 2.7.0 vs 2.6.0: "npx only-allow pnpm"40
Show all 2 findings (low-signal and informational)
SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpreinstall added in 2.7.0 vs 2.6.0: "npx only-allow pnpm"40
lowInstall-time lifecycle scriptpackage.jsonpreinstall="npx only-allow pnpm"5

Manifest

Package metadata

Scripts16
  • benchmark:cleanupnpx tsx benchmark/cleanup.ts
  • buildtsc -p tsconfig.build.json
  • formatoxfmt .
  • format:checkoxfmt --check .
  • lintoxlint . --type-aware
  • lint:fixoxlint . --fix --type-aware
  • postbuildtsc-alias -p tsconfig.build.json
  • prebuildrm -rf dist
  • preinstallnpx only-allow pnpm
  • preparehusky
  • pretest:coveragerm -rf coverage
  • testNODE_ENV=test npx tsx --test --test-reporter @voxpelli/node-test-pretty-reporter test/*.test.ts
  • test:coveragec8 --reporter=lcov pnpm test
  • test:singleNODE_ENV=test npx tsx --test --test-reporter @voxpelli/node-test-pretty-reporter
  • typechecktsc -p tsconfig.json --noEmit
  • typecheck:ts7tsgo -p tsconfig.json --noEmit
Dependencies2
  • p-limit7.3.0
  • pdfjs-dist5.7.284