PkgRadar

Package evidence

[email protected]

Install Lifecycle Suppresses Failure: postinstall="node dist/postinstall.js || 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
924
Versions published
73
First published
Mar 2026
Publisher
GitHub ActionsTrusted automation · −70% score

Effective trust discount applied: 70% (max across signals — discounts don’t stack). New install-lifecycle deltas vs the previous release would clear the discount.

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"}'
Artifact bytes572,471
Previous version5.12.0
Published2026-06-12T03:22:33.445Z
SHA-256320087bc0cbc6c2b4b6ee1d0a664fd9b9b6dc8be58a3c52e64b49d57b50c6d37

Why flagged

What the scanner saw

Install Lifecycle Suppresses Failure: postinstall="node dist/postinstall.js || true"

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

Availability ledger

available

review
Last checked
reviewRisk
7Score
5.12.2Version
Status history (1 event)
  1. newavailable · risk review · score 7 · status changed

Evidence

Static findings

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

SeverityKindPathDetailPoints
highInstall Lifecycle Suppresses Failurepackage.jsonpostinstall="node dist/postinstall.js || true"20
Show all 2 findings (low-signal and informational)
SeverityKindPathDetailPoints
highInstall Lifecycle Suppresses Failurepackage.jsonpostinstall="node dist/postinstall.js || true"20
lowInstall-time lifecycle scriptpackage.jsonpostinstall="node dist/postinstall.js || true"5

Manifest

Package metadata

Scripts19
  • buildtsc -p tsconfig.build.json
  • build:publishtsc -p tsconfig.publish.json
  • clitsx src/cli.ts
  • devtsx src/index.ts
  • docs:clinode scripts/gen-cli-docs.mjs --write
  • docs:mcp-toolsnode scripts/gen-mcp-tools.mjs --write
  • knipknip
  • lintbiome check src/
  • lint:fixbiome check --write src/
  • postbuildnode -e "const fs=require('fs');for (const f of ['dist/cli.js','dist/index.js']) { try { fs.chmodSync(f,0o755); } catch {} }"
  • postinstallnode dist/postinstall.js || true
  • prebuildnode -e "require('fs').rmSync('dist',{recursive:true,force:true})"
  • prebuild:publishnode -e "require('fs').rmSync('dist',{recursive:true,force:true})"
  • prepublishOnlynpm run build:publish && node -e "const fs=require('fs');for (const f of ['dist/cli.js','dist/index.js']) fs.chmodSync(f,0o755)"
  • startnode dist/index.js
  • testvitest run
  • test:coveragevitest run --coverage
  • test:watchvitest
  • typechecktsc --noEmit
Dependencies20
  • @anthropic-ai/sdk^0.78.0
  • @modelcontextprotocol/sdk^1.12.1
  • cli-highlight^2.1.11
  • commander^13.1.0
  • csv-parse^6.1.0
  • dotenv^17.3.1
  • glob^13.0.6
  • gray-matter^4.0.3
  • ink^7.0.1
  • ink-select-input^6.2.0
  • ink-spinner^5.0.0
  • ink-text-input^6.0.0
  • jszip^3.10.1
  • mammoth^1.12.0
  • marked^14.1.4
  • pdf-parse^2.4.5
  • react^19.2.5
  • turndown^7.2.2
  • ulidx^2.4.1
  • zod^4.3.6
Optional dependencies2
  • @huggingface/transformers^4.2.0
  • better-sqlite3^11.7.0