npm · registry.npmjs.org
pi-persistent-term
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"
Why PkgRadar flagged 0.5.0
| Severity | Signal | Evidence |
|---|---|---|
| high | 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" · package.json |
| high | Install Lifecycle Suppresses Failure | 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" · package.json |
| medium | New Account With Lifecycle Hook | package first published 64 day(s) ago, 6 total version(s), has lifecycle hook · package.json |
Scanned versions
| Version | Verdict | Score | Scanned (UTC) |
|---|---|---|---|
0.5.0 | High risk | 55 | 2026-06-10 |
0.3.1 | High risk | 55 | 2026-06-10 |
0.3.0 | High risk | 55 | 2026-06-10 |
Campaign attribution
Block this in CI
pkgradar gate --ecosystem npm [email protected]