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
12Established · −30% score
First published
Jan 2022
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 bytes6,269
Previous version4.1.1
Published2026-04-21T12:42:40.248Z
SHA-25669aa7f1421a9cee66435f1e1598b4f491b6ad93dfc038c7fa3f2b8134cfa1566

Why flagged

What the scanner saw

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

Manifest

Package metadata

Scripts8
  • buildrm -rf lib/ && tsc
  • coveragepnpm test --coverage
  • lintoxfmt && eslint . --quiet --fix
  • lint:cioxfmt --check && eslint . --quiet
  • preinstallnpx only-allow pnpm
  • testexport ENVIRONMENT=local && jest src
  • type-checktsc --noEmit
  • type-check:watchnpm run type-check -- --watch
Dependencies3
  • @shelf/aws-ddb-with-xray2.1.0
  • lodash-es4.18.1
  • p-map4.0.0