PkgRadar

Package evidence

@drbaher/[email protected]

Install Lifecycle Suppresses Failure: postinstall="node scripts/trim-pdfjs-dist.mjs || exit 0"

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
6
First published
May 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":["@drbaher/[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":["@drbaher/[email protected]"],"fail_on":"review"}'
Artifact bytes242,546
Previous version0.6.5
Published2026-06-03T16:56:31.764Z
SHA-256422e089c2ce02302327ceede14ce0fc1ccf30768069f8ec606e9710ef21aca74

Why flagged

What the scanner saw

Install Lifecycle Suppresses Failure: postinstall="node scripts/trim-pdfjs-dist.mjs || exit 0"

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

Availability ledger

available

review
Last checked
reviewRisk
7Score
0.7.0Version
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 scripts/trim-pdfjs-dist.mjs || exit 0"20
Show all 2 findings (low-signal and informational)
SeverityKindPathDetailPoints
highInstall Lifecycle Suppresses Failurepackage.jsonpostinstall="node scripts/trim-pdfjs-dist.mjs || exit 0"20
lowInstall-time lifecycle scriptpackage.jsonpostinstall="node scripts/trim-pdfjs-dist.mjs || exit 0"5

Manifest

Package metadata

Scripts13
  • buildnode scripts/build.mjs
  • build:seanpm run bundle && node scripts/build-sea.mjs
  • bundlenode scripts/bundle.mjs
  • changelog:nextnode scripts/changelog.mjs
  • coveragenpm run build && node --test --experimental-test-coverage --test-coverage-lines=75 --test-coverage-functions=78 --test-coverage-branches=72 --test-coverage-exclude='**/dist/tests/**' --test-reporter=lcov --test-reporter-destination=coverage.lcov --test-reporter=spec --test-reporter-destination=stdout dist/tests/*.test.js
  • fixture:regeneratenode --experimental-strip-types scripts/generate-canonical-unsigned-pdf.ts
  • lint:legal-claimsnode scripts/lint-legal-claims.mjs
  • postinstallnode scripts/trim-pdfjs-dist.mjs || exit 0
  • prepublishOnlynpm run typecheck && npm run build && npm test
  • startnode dist/cli.js
  • testnpm run build && node --test dist/tests/*.test.js
  • typechecktsc --noEmit
  • webhook:listennode dist/cli.js webhook listen
Dependencies7
  • @dropbox/sign^1.10.0
  • @resvg/resvg-wasm^2.6.2
  • @types/pg^8.20.0
  • docx2pdf-cli^0.2.1
  • pdf-lib^1.17.1
  • pdfjs-dist^5.7.284
  • pg^8.20.0