PkgRadar

Package evidence

@shelf/[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
10Established · −30% score
First published
Feb 2023
Publisher
domovoj

Effective trust discount applied: 30% (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":["@shelf/[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":["@shelf/[email protected]"],"fail_on":"high"}'
Publisherdomovoj
Artifact bytes4,173
Previous version1.2.2
Published2026-03-02T12:02:54.585Z
SHA-25651e0105d7a6cd3798b679830aeeb535a466ecb0121af793488486ede3b881006

Why flagged

What the scanner saw

New Lifecycle Script Vs Previous: preinstall added in 1.3.0 vs 1.2.2: "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
1.3.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 1.3.0 vs 1.2.2: "npx only-allow pnpm"40
Show all 2 findings (low-signal and informational)
SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpreinstall added in 1.3.0 vs 1.2.2: "npx only-allow pnpm"40
lowInstall-time lifecycle scriptpackage.jsonpreinstall="npx only-allow pnpm"5

Manifest

Package metadata

Scripts9
  • buildrm -rf lib/ && tsc
  • coveragepnpm test --coverage
  • lintpnpm lint:ci --fix
  • lint:cieslint . --quiet
  • preinstallnpx only-allow pnpm
  • prepackpnpm build
  • testTZ=UTC jest src
  • type-checktsc --noEmit
  • type-check:watchnpm run type-check -- --watch