PkgRadar

Package evidence

[email protected]

Install-time lifecycle script: postinstall="node download-binary.js"

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
23
First published
Apr 2026
Publisher
yuanguangshan

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"}'
Publisheryuanguangshan
Artifact bytes3,688
Previous version1.5.8
Published2026-05-19T16:13:24.950Z
SHA-2568129997fefb00223507397166e4775526542df99713b230e82cc92cfb748572a

Why flagged

What the scanner saw

Install-time lifecycle script: postinstall="node download-binary.js"

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

Availability ledger

available

review
Last checked
reviewRisk
5Score
1.5.9Version
Status history (2 events)
  1. availableavailable · risk review · score 5 · status available -> available, risk high -> review, score 35 -> 5
  2. newavailable · risk high · score 35 · 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="node download-binary.js"5

Manifest

Package metadata

Scripts4
  • buildVERSION=$(node -p "require('./package.json').version") && LDFLAGS="-X main.versionStr=v${VERSION}" && echo "Building sourcepack v${VERSION} ..." && GOOS=darwin GOARCH=amd64 go build -ldflags "$LDFLAGS" -o sourcepack-darwin-amd64 godoc.go && GOOS=darwin GOARCH=arm64 go build -ldflags "$LDFLAGS" -o sourcepack-darwin-arm64 godoc.go && GOOS=linux GOARCH=amd64 go build -ldflags "$LDFLAGS" -o sourcepack-linux-amd64 godoc.go && GOOS=linux GOARCH=arm64 go build -ldflags "$LDFLAGS" -o sourcepack-linux-arm64 godoc.go && GOOS=windows GOARCH=amd64 go build -ldflags "$LDFLAGS" -o sourcepack-win-amd64.exe godoc.go && echo "Done."
  • postinstallnode download-binary.js
  • prepublishOnlynpm run build
  • testgo test ./...