PkgRadar

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

SeveritySignalEvidence
highInstall Lifecycle Remote Or Execpostinstall="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
mediumManifest Codeless Dependency Stubpackage ships no JS/TS source but declares 9 dependency(ies) (0 with loose/empty version specs) — dependency-confusion / install-chain loader shape · package.json
mediumNew Account With Lifecycle Hookpackage first published 14 day(s) ago, 7 total version(s), has lifecycle hook · package.json

Scanned versions

VersionVerdictScoreScanned (UTC)
1.0.0-beta.5High risk352026-06-10
1.0.0-beta.6High risk502026-06-10

Campaign attribution

Part of the Clob dropper campaign.

Block this in CI

PkgRadar gates spectralswarm (and every other dependency) before it merges. One line in your pipeline:

pkgradar gate --ecosystem npm [email protected]