PkgRadar

Package evidence

@npo/[email protected]

Install Lifecycle Remote Or Exec: postinstall="node -e \"var p=require('path'),f=require('fs'),d=p.join('node_modules','shaka-player','dist');try{f.readdirSync(d).filter(x=>x.endsWith('.d.ts')).forEach(x=>f.unlinkSync(p.join(d,x)))}catch(e){}\""

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
539
Versions published
79Mature · −50% score
First published
Aug 2023
Publisher
npo-player

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

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":["@npo/[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":["@npo/[email protected]"],"fail_on":"high"}'
Publishernpo-player
Artifact bytes800,778
Previous version2.0.0-beta.0
Published2026-04-09T12:13:40.493Z
SHA-2568cffc67c19e13a7e0fe422fcf0404b794fa2aa78bfcfe2ad69895831e1421eb9

Why flagged

What the scanner saw

Install Lifecycle Remote Or Exec: postinstall="node -e \"var p=require('path'),f=require('fs'),d=p.join('node_modules','shaka-player','dist');try{f.readdirSync(d).filter(x=>x.endsWith('.d.ts')).forEach(x=>f.unlinkSync(p.join(d,x)))}catch(e){}\""

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

Availability ledger

available

high
Last checked
highRisk
17Score
2.0.0-beta.1Version
Status history (1 event)
  1. newavailable · risk high · score 17 · status changed

Evidence

Static findings

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

SeverityKindPathDetailPoints
highInstall Lifecycle Remote Or Execpackage.jsonpostinstall="node -e \"var p=require('path'),f=require('fs'),d=p.join('node_modules','shaka-player','dist');try{f.readdirSync(d).filter(x=>x.endsWith('.d.ts')).forEach(x=>f.unlinkSync(p.join(d,x)))}catch(e){}\""30
Show all 2 findings (low-signal and informational)
SeverityKindPathDetailPoints
highInstall Lifecycle Remote Or Execpackage.jsonpostinstall="node -e \"var p=require('path'),f=require('fs'),d=p.join('node_modules','shaka-player','dist');try{f.readdirSync(d).filter(x=>x.endsWith('.d.ts')).forEach(x=>f.unlinkSync(p.join(d,x)))}catch(e){}\""30
lowInstall-time lifecycle scriptpackage.jsonpostinstall="node -e \"var p=require('path'),f=require('fs'),d=p.join('node_modules','shaka-player','dist');try{f.readdirSync(d).filter(x=>x.endsWith('.d.ts')).forEach(x=>f.unlinkSync(p.join(d,x)))}catch(e){}\""5

Manifest

Package metadata

Scripts7
  • buildtsc && vite build && npm run build:legacy
  • build:legacytsc && vite build --config vite.legacy.config.js
  • devvite build --watch --mode watch
  • linteslint src --fix
  • postinstallnode -e "var p=require('path'),f=require('fs'),d=p.join('node_modules','shaka-player','dist');try{f.readdirSync(d).filter(x=>x.endsWith('.d.ts')).forEach(x=>f.unlinkSync(p.join(d,x)))}catch(e){}"
  • testjest --runInBand
  • test:cijest --collectCoverage
Dependencies3
  • @npotag/tag^3.2.11
  • @types/chromecast-caf-sender^1.0.11
  • shaka-player^4.16.24