npm · registry.npmjs.org
spectralswarm
Install Lifecycle Remote Or Exec: postinstall="node -e \"const fs=require('fs');const path=require('path');const cp=require('child_process');const pkg=__dirname;const patchTarget=path.join(pkg,'node_modules','dom-to-pptx');const patchCli=path.join(pkg,'node_modules','patch-package','index.js');if(fs.existsSync(patchTarget)&&fs.existsSync(patchCli)){cp.execFileSync(process.execPath,[patchCli],{cwd:pkg,stdio:'inherit'});}try{fs.chmodSync(path.join(pkg,'bin','spectralswarm'),0o755)}catch(e){}\""
Why PkgRadar flagged 1.0.0-beta.5
| Severity | Signal | Evidence |
|---|---|---|
| high | Install Lifecycle Remote Or Exec | postinstall="node -e \"const fs=require('fs');const path=require('path');const cp=require('child_process');const pkg=__dirname;const patchTarget=path.join(pkg,'node_modules','dom-to-pptx');const patchCli=path.join(pkg,'node_modules','patch-package','index.js');if(fs.existsSync(patchTarget)&&fs.existsSync(patchCli)){cp.execFileSync(process.execPath,[patchCli],{cwd:pkg,stdio:'inherit'});}try{fs.chmodSync(path.join(pkg,'bin','spectralswarm'),0o755)}catch(e){}\"" · package.json |
| medium | Manifest Codeless Dependency Stub | package ships no JS/TS source but declares 9 dependency(ies) (0 with loose/empty version specs) — dependency-confusion / install-chain loader shape · package.json |
| medium | New Account With Lifecycle Hook | package first published 14 day(s) ago, 7 total version(s), has lifecycle hook · package.json |
Scanned versions
| Version | Verdict | Score | Scanned (UTC) |
|---|---|---|---|
1.0.0-beta.5 | High risk | 35 | 2026-06-10 |
1.0.0-beta.6 | High risk | 50 | 2026-06-10 |
Campaign attribution
Block this in CI
pkgradar gate --ecosystem npm [email protected]