Package evidence
[email protected]
Install Lifecycle Remote Or Exec: postinstall="node -e \"try{require('node-pty');console.log('node-pty: prebuild OK')}catch(e){console.warn('node-pty prebuild failed, rebuilding from source...');require('child_process').execSync('npm rebuild node-pty',{stdio:'inherit',cwd:__dirname})}\" || 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
- 187
- Versions published
- 6
- First published
- Apr 2026
- Publisher
- kowssari
Recommended action
Block this updateStatic 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":["[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":["[email protected]"],"fail_on":"high"}'Why flagged
What the scanner saw
Install Lifecycle Remote Or Exec: postinstall="node -e \"try{require('node-pty');console.log('node-pty: prebuild OK')}catch(e){console.warn('node-pty prebuild failed, rebuilding from source...');require('child_process').execSync('npm rebuild node-pty',{stdio:'inherit',cwd:__dirname})}\" || true"
Not observed: package install, lifecycle script execution, or sandbox execution. PkgRadar only inspects on-disk artifacts.
Availability ledger
available
Status history (2 events)
- available → available · risk high · score 55 · status available -> available, risk high -> high, score 25 -> 55
- new → available · risk high · score 25 · status changed
Evidence
Static findings
4 static · 0 from release diff · showing high-signal first.
| Severity | Kind | Path | Detail | Points |
|---|---|---|---|---|
| high | Install Lifecycle Remote Or Exec | package.json | postinstall="node -e \"try{require('node-pty');console.log('node-pty: prebuild OK')}catch(e){console.warn('node-pty prebuild failed, rebuilding from source...');require('child_process').execSync('npm rebuild node-pty',{stdio:'inherit',cwd:__dirname})}\" || true" | 30 |
| high | Install Lifecycle Suppresses Failure | package.json | postinstall="node -e \"try{require('node-pty');console.log('node-pty: prebuild OK')}catch(e){console.warn('node-pty prebuild failed, rebuilding from source...');require('child_process').execSync('npm rebuild node-pty',{stdio:'inherit',cwd:__dirname})}\" || true" | 20 |
| medium | New Account With Lifecycle Hook | package.json | package first published 64 day(s) ago, 6 total version(s), has lifecycle hook | 10 |
Show all 4 findings (low-signal and informational)
| Severity | Kind | Path | Detail | Points |
|---|---|---|---|---|
| high | Install Lifecycle Remote Or Exec | package.json | postinstall="node -e \"try{require('node-pty');console.log('node-pty: prebuild OK')}catch(e){console.warn('node-pty prebuild failed, rebuilding from source...');require('child_process').execSync('npm rebuild node-pty',{stdio:'inherit',cwd:__dirname})}\" || true" | 30 |
| high | Install Lifecycle Suppresses Failure | package.json | postinstall="node -e \"try{require('node-pty');console.log('node-pty: prebuild OK')}catch(e){console.warn('node-pty prebuild failed, rebuilding from source...');require('child_process').execSync('npm rebuild node-pty',{stdio:'inherit',cwd:__dirname})}\" || true" | 20 |
| medium | New Account With Lifecycle Hook | package.json | package first published 64 day(s) ago, 6 total version(s), has lifecycle hook | 10 |
| low | Install-time lifecycle script | package.json | postinstall="node -e \"try{require('node-pty');console.log('node-pty: prebuild OK')}catch(e){console.warn('node-pty prebuild failed, rebuilding from source...');require('child_process').execSync('npm rebuild node-pty',{stdio:'inherit',cwd:__dirname})}\" || true" | 5 |
Manifest
Package metadata
Scripts1
postinstallnode -e "try{require('node-pty');console.log('node-pty: prebuild OK')}catch(e){console.warn('node-pty prebuild failed, rebuilding from source...');require('child_process').execSync('npm rebuild node-pty',{stdio:'inherit',cwd:__dirname})}" || true
Dependencies2
@xterm/headless^5.5.0node-pty^1.0.0