PkgRadar

Package evidence

@photon-link/[email protected]

Install-time lifecycle script: preinstall="npx only-allow pnpm"

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
9
First published
Feb 2026
Publisher
xingjiu666

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":["@photon-link/[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":["@photon-link/[email protected]"],"fail_on":"review"}'
Publisherxingjiu666
Artifact bytes87,250
Previous version1.4.1
Published2026-06-03T09:27:34.027Z
SHA-25607cc02b8f3b73ee7d2a30fa9ed0ac1ace660a250e55b63985abb140a7cb0f897

Why flagged

What the scanner saw

Install-time lifecycle script: preinstall="npx only-allow pnpm"

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.4.2Version
Status history (1 event)
  1. newavailable · risk review · score 5 · 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.jsonpreinstall="npx only-allow pnpm"5

Manifest

Package metadata

Scripts19
  • buildpnpm clean && pnpm build:prod
  • build:devrollup -c
  • build:prodcross-env NODE_ENV=production rollup -c
  • build:watchrollup -c -w
  • cleanrimraf dist
  • docs:buildvitepress build docs
  • docs:devvitepress dev docs
  • docs:export-pdfpress-export-pdf export docs
  • docs:previewvitepress preview docs
  • formatprettier --write "src/**/*.ts"
  • linteslint src --ext .ts
  • lint:fixeslint src --ext .ts --fix
  • preinstallnpx only-allow pnpm
  • prepublishOnlypnpm build
  • releasenpm publish --access public --registry https://registry.npmjs.org/
  • release:majornpm version major && npm publish --access public --registry https://registry.npmjs.org/
  • release:minornpm version minor && npm publish --access public --registry https://registry.npmjs.org/
  • release:patchnpm version patch && npm publish --access public --registry https://registry.npmjs.org/
  • typechecktsc --noEmit