PkgRadar

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
2
First published
Jun 2026
Publisher
vinayvetir

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":["[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"}'
Publishervinayvetir
Artifact bytes19,403
Previous version1.0.0
Published2026-06-09T08:26:26.711Z
SHA-256cc236eb8f849d2e24aef0007e8b5b900f42eafb5bef18226aa256bde99b7780b

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

high
Last checked
highRisk
35Score
1.0.1Version
Status history (1 event)
  1. newavailable · risk high · score 35 · status changed

Evidence

Static findings

3 static · 0 from release diff · showing high-signal first.

SeverityKindPathDetailPoints
highInstall Lifecycle Remote Or Execpackage.jsonpostinstall="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
highNew Account With Lifecycle Hookpackage.jsonpackage first published 0 day(s) ago, 2 total version(s), has lifecycle hook25
Show all 3 findings (low-signal and informational)
SeverityKindPathDetailPoints
highInstall Lifecycle Remote Or Execpackage.jsonpostinstall="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
highNew Account With Lifecycle Hookpackage.jsonpackage first published 0 day(s) ago, 2 total version(s), has lifecycle hook25
lowInstall-time lifecycle scriptpackage.jsonpostinstall="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

Scripts7
  • buildtsup
  • devvite
  • linteslint .
  • 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)}})"
  • prepublishOnlynpm run build
  • previewvite preview
  • pushnpm run build && yalc publish --push
Dependencies2
  • event-source-polyfill^1.0.31
  • style-this-piecefile:.yalc/style-this-piece