PkgRadar

Package evidence

@getrift/[email protected]

Install Lifecycle Remote Or Exec: postinstall="node -e \"const e=process.env;if(e.RIFT_SKIP_POSTINSTALL_MENUBAR==='1'||(e.RIFT_POSTINSTALL_MENUBAR!=='1'&&e.npm_config_global!=='true'&&e.npm_config_location!=='global'))process.exit(0);import('./dist/src/cli/postinstall-menubar.js').catch(() => {})\""

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
582
Versions published
23Established · −30% score
First published
Dec 2025
Publisher
getrift

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":["@getrift/[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":["@getrift/[email protected]"],"fail_on":"high"}'
Publishergetrift
Artifact bytes662,921
Previous version0.1.0-beta.15
Published2026-05-27T08:58:10.484Z
SHA-25657f44cd8d8f9419c0cb300e1d1e871b1999d37fdb562d96808cb3ac9c13c9eaf

Why flagged

What the scanner saw

Install Lifecycle Remote Or Exec: postinstall="node -e \"const e=process.env;if(e.RIFT_SKIP_POSTINSTALL_MENUBAR==='1'||(e.RIFT_POSTINSTALL_MENUBAR!=='1'&&e.npm_config_global!=='true'&&e.npm_config_location!=='global'))process.exit(0);import('./dist/src/cli/postinstall-menubar.js').catch(() => {})\""

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

Availability ledger

available

high
Last checked
highRisk
24Score
0.1.0-beta.16Version
Status history (2 events)
  1. availableavailable · risk high · score 24 · status available -> available, risk high -> high, score 35 -> 24
  2. newavailable · risk high · score 35 · status changed

Evidence

Static findings

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

SeverityKindPathDetailPoints
highInstall Lifecycle Remote Or Execpackage.jsonpostinstall="node -e \"const e=process.env;if(e.RIFT_SKIP_POSTINSTALL_MENUBAR==='1'||(e.RIFT_POSTINSTALL_MENUBAR!=='1'&&e.npm_config_global!=='true'&&e.npm_config_location!=='global'))process.exit(0);import('./dist/src/cli/postinstall-menubar.js').catch(() => {})\""30
Show all 2 findings (low-signal and informational)
SeverityKindPathDetailPoints
highInstall Lifecycle Remote Or Execpackage.jsonpostinstall="node -e \"const e=process.env;if(e.RIFT_SKIP_POSTINSTALL_MENUBAR==='1'||(e.RIFT_POSTINSTALL_MENUBAR!=='1'&&e.npm_config_global!=='true'&&e.npm_config_location!=='global'))process.exit(0);import('./dist/src/cli/postinstall-menubar.js').catch(() => {})\""30
lowInstall-time lifecycle scriptpackage.jsonpostinstall="node -e \"const e=process.env;if(e.RIFT_SKIP_POSTINSTALL_MENUBAR==='1'||(e.RIFT_POSTINSTALL_MENUBAR!=='1'&&e.npm_config_global!=='true'&&e.npm_config_location!=='global'))process.exit(0);import('./dist/src/cli/postinstall-menubar.js').catch(() => {})\""5

Manifest

Package metadata

Scripts11
  • buildpnpm build:clean && tsc
  • build:cleanrm -rf dist
  • checktsc --noEmit
  • check:renamebash scripts/check-rename.sh
  • check:tarballbash scripts/verify-tarball.sh
  • plist:generatebash scripts/generate-plist.sh
  • postinstallnode -e "const e=process.env;if(e.RIFT_SKIP_POSTINSTALL_MENUBAR==='1'||(e.RIFT_POSTINSTALL_MENUBAR!=='1'&&e.npm_config_global!=='true'&&e.npm_config_location!=='global'))process.exit(0);import('./dist/src/cli/postinstall-menubar.js').catch(() => {})"
  • prepublishOnlypnpm check && pnpm check:rename && pnpm build && pnpm check:tarball
  • pretesttsx tests/fixtures/generate.ts
  • testvitest run
  • test:watchvitest
Dependencies11
  • @fastify/multipart^9.4.0
  • @lancedb/lancedb^0.27.0
  • @modelcontextprotocol/sdk^1.29.0
  • adm-zip^0.5.17
  • chokidar^5.0.0
  • commander^14.0.3
  • fastify^5.0.0
  • mammoth^1.12.0
  • pdfjs-dist^5.6.205
  • picocolors^1.1.1
  • zod^3.24.0