npm · registry.npmjs.org
rulekitx
Install Lifecycle Remote Or Exec: postinstall="node -e \"const fs=require('fs');if(fs.existsSync('./dist/cli.js')){try{require('child_process').execSync('node ./dist/cli.js init',{stdio:'inherit'})}catch(e){console.warn('Postinstall skipped')}}\""
Why PkgRadar flagged 1.0.1
| Severity | Signal | Evidence |
|---|---|---|
| high | Install Lifecycle Remote Or Exec | postinstall="node -e \"const fs=require('fs');if(fs.existsSync('./dist/cli.js')){try{require('child_process').execSync('node ./dist/cli.js init',{stdio:'inherit'})}catch(e){console.warn('Postinstall skipped')}}\"" · package.json |
| high | New Account With Lifecycle Hook | package first published 0 day(s) ago, 2 total version(s), has lifecycle hook · package.json |
Scanned versions
| Version | Verdict | Score | Scanned (UTC) |
|---|---|---|---|
1.0.1 | High risk | 35 | 2026-06-10 |
1.0.0 | High risk | 35 | 2026-06-10 |
Block this in CI
pkgradar gate --ecosystem npm [email protected]