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
46Mature · −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

Review before promoting

Mixed signals: the package has indicators worth reading before allowing the update in automated dependency flows.

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":"review"}'

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":"review"}'
Publisherdsoskey
Artifact bytes152,610
Previous version5.0.0
Published2026-06-13T16:53:28.430Z
SHA-2564c6d64bf8c827b3b0cb660f46301d64f567f64b0e454facbf682caf72bf5ab6e

Why flagged

What the scanner saw

Install-time lifecycle script: postinstall="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

review
Last checked
reviewRisk
2Score
5.0.1Version
Status history (1 event)
  1. newavailable · risk review · score 2 · status changed

Evidence

Static findings

1 static · 0 from release diff · showing high-signal first.

No high-signal findings — see all findings below.

Show all 1 findings (low-signal and informational)
SeverityKindPathDetailPoints
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