PkgRadar

Package evidence

[email protected]

Install Lifecycle Suppresses Failure: preinstall="chmod +x script/*.sh 2>/dev/null || 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
30
Versions published
28Established · −30% score
First published
Sep 2025
Publisher
rpisquare

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":["[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"}'
Publisherrpisquare
Artifact bytes18,449
Previous version2.1.2
Published2026-06-04T12:44:06.257Z
SHA-2567fc177ae2775930ae54d514a9a548b92dc7ea18bbdaa692ff2f850c4330d337d

Why flagged

What the scanner saw

Install Lifecycle Suppresses Failure: preinstall="chmod +x script/*.sh 2>/dev/null || true"

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

Availability ledger

available

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

Evidence

Static findings

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

SeverityKindPathDetailPoints
highInstall Lifecycle Suppresses Failurepackage.jsonpreinstall="chmod +x script/*.sh 2>/dev/null || true"20
Show all 4 findings (low-signal and informational)
SeverityKindPathDetailPoints
highInstall Lifecycle Suppresses Failurepackage.jsonpreinstall="chmod +x script/*.sh 2>/dev/null || true"20
lowInstall-time lifecycle scriptpackage.jsonpreinstall="chmod +x script/*.sh 2>/dev/null || true"5
lowInstall-time lifecycle scriptpackage.jsoninstall="node-gyp rebuild"5
lowInstall-time lifecycle scriptpackage.jsonpostinstall="echo 'Installation complete!'"5

Manifest

Package metadata

Scripts19
  • //----- Javascript scripts -----Misc examples and tests
  • //----- Shell scripts -----To check environment and libgpiod version
  • benchmark-pwmnode ./test/benchmark-pwm.js
  • benchmark-readnode ./test/benchmark-read.js
  • benchmark-writenode ./test/benchmark-write.js
  • checkbash script/check-env.sh
  • cleannode-gyp clean
  • configurenode-gyp configure
  • detect-versionbash script/detect-gpiod-version.sh
  • installnode-gyp rebuild
  • line-pwm-lednode ./test/pwm-led.js
  • line-pwm-motornode ./test/pwm-motor.js
  • line-readnode ./test/read.js
  • line-writenode ./test/write.js
  • postinstallecho 'Installation complete!'
  • preinstallchmod +x script/*.sh 2>/dev/null || true
  • test-closenode ./test/close-all.js
  • test-instancenode ./test/duplicate-error.js
  • test-linenode ./test/line-configuration.js
Dependencies1
  • node-addon-api^7.0.0