PkgRadar

Package evidence

@news-factory/[email protected]

Install-time lifecycle script: postinstall="patch-package"

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
216
Versions published
149Mature · −50% score
First published
Jan 2025
Publisher
davidportal

Effective trust discount applied: 50% (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":["@news-factory/[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":["@news-factory/[email protected]"],"fail_on":"review"}'
Publisherdavidportal
Artifact bytes781,611
Previous version1.17.0
Published2026-06-10T07:56:46.895Z
SHA-256b8e067feb7e7577cb23668636a1dd616de116b423127a20cc97257f8d46efb9b

Why flagged

What the scanner saw

Install-time lifecycle script: postinstall="patch-package"

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

Availability ledger

available

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

Evidence

Static findings

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

No high-signal findings — see all findings below.

Show all 3 findings (low-signal and informational)
SeverityKindPathDetailPoints
lowInstall-time lifecycle scriptpackage.jsonpostinstall="patch-package"5
lowObfuscation Densitypackage/dist/index.cjshigh encoded/escaped-token density0
lowObfuscation Densitypackage/dist/index.mjshigh encoded/escaped-token density0

Manifest

Package metadata

Scripts4
  • buildtsup src/index.ts --dts --format cjs,esm --sourcemap
  • devtsup src/index.ts --dts --format cjs,esm --sourcemap --watch
  • postinstallpatch-package
  • push-and-publishnode publish.js
Dependencies5
  • patch-package^8.0.0
  • pdfjs-dist^5.4.449
  • react-pdf^9
  • tslib^2.8.1
  • webfontloader^1.6.28