PkgRadar

Package evidence

[email protected]

Install-time lifecycle script: postinstall="echo 'this is extremely cursed' && cp patch/generate.js node_modules/nearley/lib"

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
8
Versions published
44Mature · −50% score
First published
Feb 2024
Publisher
dsoskey

Effective trust discount applied: 50% (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"}'
Publisherdsoskey
Artifact bytes152,598
Previous version4.0.2
Published2026-06-13T16:42:36.162Z
SHA-25640776814c1fda2b84a25e14bc3983bd76d3afff4afdf68e5f779c9debad9a34e

Why flagged

What the scanner saw

New Lifecycle Script Vs Previous: postinstall added in 5.0.0 vs 4.0.2: "echo 'this is extremely cursed' && cp patch/generate.js node_modules/nearley/lib"

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.jsonpostinstall added in 5.0.0 vs 4.0.2: "echo 'this is extremely cursed' && cp patch/generate.js node_modules/nearley/lib"40
Show all 2 findings (low-signal and informational)
SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpostinstall added in 5.0.0 vs 4.0.2: "echo 'this is extremely cursed' && cp patch/generate.js node_modules/nearley/lib"40
lowInstall-time lifecycle scriptpackage.jsonpostinstall="echo 'this is extremely cursed' && cp patch/generate.js node_modules/nearley/lib"5

Manifest

Package metadata

Scripts8
  • buildnpm run build:card-models && npm run build:ne && npm run build:ts
  • build:card-modelsmodels/bin/typescript-client
  • build:nenearleyc src/mql.ne -o src/generated/mql.ne.ts
  • build:tstsc
  • cleanrm -rf build src/generated/index.js
  • postinstallecho 'this is extremely cursed' && cp patch/generate.js node_modules/nearley/lib
  • releasenpm run build && npm run test && echo 'ready to run npm publish'
  • testvitest run
Dependencies3
  • lodash4.17.23
  • moo0.5.2
  • nearley2.20.1