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 bytes766,567
Previous version0.1.0-beta.20
Published2026-06-05T05:44:53.006Z
SHA-2564057dfa15d59e02af1162084091a8680549f16ce4a625f582d7069c439aec70c

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.21Version
Status history (1 event)
  1. newavailable · risk high · score 24 · 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

Scripts14
  • buildnpm run build:clean && tsc
  • build:cleanrm -rf dist
  • checktsc --noEmit
  • check:renamebash scripts/check-rename.sh
  • check:tarballbash scripts/verify-tarball.sh
  • ci:prnpm run ci:typecheck && npm run check:rename && npm run ci:test:focused
  • ci:test:focusedtsx tests/fixtures/generate.ts && vitest tests/retrieval/current-truth.test.ts tests/retrieval/report-demotion.test.ts tests/retrieval/locator-boost.test.ts tests/retrieval/context-pack.test.ts tests/server/routes/search.test.ts tests/server/routes/context.test.ts --run
  • ci:typechecknpm run check
  • 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(() => {})"
  • prepublishOnlynpm run check && npm run check:rename && npm run build && npm run 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