PkgRadar

Package evidence

@pokeme/[email protected]

Install Lifecycle Remote Or Exec: postinstall="node -e \"try{var p=require('path'),f=require('fs'),h=p.join(require.resolve('node-pty/package.json'),'..','prebuilds',process.platform+'-'+process.arch,'spawn-helper');if(f.existsSync(h))f.chmodSync(h,0o755)}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.

Versions published
8
First published
Apr 2026
Publisher
closure11

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":["@pokeme/[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":["@pokeme/[email protected]"],"fail_on":"high"}'
Publisherclosure11
Artifact bytes18,664
Previous version0.1.6
Published2026-05-25T09:35:28.970Z
SHA-256f327fa1a01a6d48b3218d24b1c472c1aa8365d965cc4e12ec621b73efef8d439

Why flagged

What the scanner saw

New Lifecycle Script Vs Previous: preinstall added in 0.1.7 vs 0.1.6: "node preinstall.js"

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

Availability ledger

available

high
Last checked
highRisk
80Score
0.1.7Version
Status history (2 events)
  1. availableavailable · risk high · score 80 · status available -> available, risk high -> high, score 113 -> 80
  2. newavailable · risk high · score 113 · status changed

Evidence

Static findings

4 static · 1 from release diff · showing high-signal first.

SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpreinstall added in 0.1.7 vs 0.1.6: "node preinstall.js"40
highInstall Lifecycle Remote Or Execpackage.jsonpostinstall="node -e \"try{var p=require('path'),f=require('fs'),h=p.join(require.resolve('node-pty/package.json'),'..','prebuilds',process.platform+'-'+process.arch,'spawn-helper');if(f.existsSync(h))f.chmodSync(h,0o755)}catch(e){}\""30
mediumNew Account With Lifecycle Hookpackage.jsonpackage first published 62 day(s) ago, 8 total version(s), has lifecycle hook10
Show all 5 findings (low-signal and informational)
SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpreinstall added in 0.1.7 vs 0.1.6: "node preinstall.js"40
highInstall Lifecycle Remote Or Execpackage.jsonpostinstall="node -e \"try{var p=require('path'),f=require('fs'),h=p.join(require.resolve('node-pty/package.json'),'..','prebuilds',process.platform+'-'+process.arch,'spawn-helper');if(f.existsSync(h))f.chmodSync(h,0o755)}catch(e){}\""30
mediumNew Account With Lifecycle Hookpackage.jsonpackage first published 62 day(s) ago, 8 total version(s), has lifecycle hook10
lowInstall-time lifecycle scriptpackage.jsonpreinstall="node preinstall.js"5
lowInstall-time lifecycle scriptpackage.jsonpostinstall="node -e \"try{var p=require('path'),f=require('fs'),h=p.join(require.resolve('node-pty/package.json'),'..','prebuilds',process.platform+'-'+process.arch,'spawn-helper');if(f.existsSync(h))f.chmodSync(h,0o755)}catch(e){}\""5

Manifest

Package metadata

Scripts5
  • buildtsc
  • devtsc --watch
  • postinstallnode -e "try{var p=require('path'),f=require('fs'),h=p.join(require.resolve('node-pty/package.json'),'..','prebuilds',process.platform+'-'+process.arch,'spawn-helper');if(f.existsSync(h))f.chmodSync(h,0o755)}catch(e){}"
  • preinstallnode preinstall.js
  • prepublishOnlynpm run build
Dependencies6
  • @xterm/headless^5.5.0
  • commander^13.0.0
  • node-pty^1.0.0
  • qrcode-terminal^0.12.0
  • uuid^11.0.0
  • ws^8.18.0