Package evidence
[email protected]
Install Lifecycle Remote Or Exec: postinstall="node -e \"const fs=require('fs');['react','react-dom'].forEach(p=>{const d=__dirname+'/node_modules/'+p;if(fs.existsSync(d)){fs.rmSync(d,{recursive:true});console.log('removed local '+p)}})\""
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
- 5
- First published
- Jun 2026
- Publisher
- vinayvetir
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 \"const fs=require('fs');['react','react-dom'].forEach(p=>{const d=__dirname+'/node_modules/'+p;if(fs.existsSync(d)){fs.rmSync(d,{recursive:true});console.log('removed local '+p)}})\""
Not observed: package install, lifecycle script execution, or sandbox execution. PkgRadar only inspects on-disk artifacts.
Availability ledger
available
Status history (1 event)
- new → available · risk high · score 35 · status changed
Evidence
Static findings
3 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 \"const fs=require('fs');['react','react-dom'].forEach(p=>{const d=__dirname+'/node_modules/'+p;if(fs.existsSync(d)){fs.rmSync(d,{recursive:true});console.log('removed local '+p)}})\"" | 30 |
| high | New Account With Lifecycle Hook | package.json | package first published 0 day(s) ago, 5 total version(s), has lifecycle hook | 25 |
Show all 3 findings (low-signal and informational)
| Severity | Kind | Path | Detail | Points |
|---|---|---|---|---|
| high | Install Lifecycle Remote Or Exec | package.json | postinstall="node -e \"const fs=require('fs');['react','react-dom'].forEach(p=>{const d=__dirname+'/node_modules/'+p;if(fs.existsSync(d)){fs.rmSync(d,{recursive:true});console.log('removed local '+p)}})\"" | 30 |
| high | New Account With Lifecycle Hook | package.json | package first published 0 day(s) ago, 5 total version(s), has lifecycle hook | 25 |
| low | Install-time lifecycle script | package.json | postinstall="node -e \"const fs=require('fs');['react','react-dom'].forEach(p=>{const d=__dirname+'/node_modules/'+p;if(fs.existsSync(d)){fs.rmSync(d,{recursive:true});console.log('removed local '+p)}})\"" | 5 |
Manifest
Package metadata
Scripts8
buildtsupdevvitelinteslint .postinstallnode -e "const fs=require('fs');['react','react-dom'].forEach(p=>{const d=__dirname+'/node_modules/'+p;if(fs.existsSync(d)){fs.rmSync(d,{recursive:true});console.log('removed local '+p)}})"prepublish:checknode scripts/prepublish-check.mjsprepublishOnlynode scripts/prepublish-check.mjs --pre && npm run build && node scripts/prepublish-check.mjs --postpreviewvite previewpushnpm run build && yalc publish --push
Dependencies1
event-source-polyfill^1.0.31