PkgRadar

Package evidence

[email protected]

Install Lifecycle Suppresses Failure: postinstall="node ./src/install/postinstall.mjs || true"

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
24
Versions published
6
First published
May 2026
Publisher
frederico-kluser

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 bytes88,345
Previous version4.0.1
Published2026-06-12T16:39:15.266Z
SHA-25630d1160ef151dc5689adc545c0275fc3a7a6bad2a21935e221560898e8d7e79c

Why flagged

What the scanner saw

Install Lifecycle Suppresses Failure: postinstall="node ./src/install/postinstall.mjs || true"

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

Availability ledger

available

high
Last checked
highRisk
25Score
4.1.0Version
Status history (1 event)
  1. newavailable · risk high · score 25 · status changed

Evidence

Static findings

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

SeverityKindPathDetailPoints
highInstall Lifecycle Suppresses Failurepackage.jsonpostinstall="node ./src/install/postinstall.mjs || true"20
mediumNew Account With Lifecycle Hookpackage.jsonpackage first published 22 day(s) ago, 6 total version(s), has lifecycle hook10
Show all 3 findings (low-signal and informational)
SeverityKindPathDetailPoints
highInstall Lifecycle Suppresses Failurepackage.jsonpostinstall="node ./src/install/postinstall.mjs || true"20
mediumNew Account With Lifecycle Hookpackage.jsonpackage first published 22 day(s) ago, 6 total version(s), has lifecycle hook10
lowInstall-time lifecycle scriptpackage.jsonpostinstall="node ./src/install/postinstall.mjs || true"5

Manifest

Package metadata

Scripts13
  • buildnpm run test:syntax
  • devnode ./bin/surf.mjs
  • dev:installSURF_DEV=1 node ./src/install/postinstall.mjs
  • dev:plannode ./bin/surf-plan-skill.mjs
  • dev:searchnode ./bin/surf-search-skill.mjs
  • dev:uninstallSURF_DEV=1 node ./src/install/preuninstall.mjs
  • postinstallnode ./src/install/postinstall.mjs || true
  • predevnpm run build
  • predev:installnpm run build
  • predev:plannpm run build
  • predev:searchnpm run build
  • preuninstallnode ./src/install/preuninstall.mjs || true
  • test:syntaxnode --check bin/surf.mjs && node --check bin/surf-search-skill.mjs && node --check bin/surf-plan-skill.mjs && for f in src/index.mjs src/env.mjs src/install/*.mjs src/lib/*.mjs src/lib/providers/*.mjs src/lib/api/*.mjs src/plan/*.mjs src/validators/*.mjs; do node --check "$f" || exit 1; done && echo syntax-ok