PkgRadar

npm · registry.npmjs.org

sql-preview

Install Lifecycle Remote Or Exec: postinstall="node -e \"try { require('child_process').execSync('bash scripts/install-hooks.sh', {stdio:'inherit'}) } catch(e) {}\""

Why PkgRadar flagged 0.5.11

SeveritySignalEvidence
highInstall Lifecycle Remote Or Execpostinstall="node -e \"try { require('child_process').execSync('bash scripts/install-hooks.sh', {stdio:'inherit'}) } catch(e) {}\"" · package.json

Scanned versions

VersionVerdictScoreScanned (UTC)
0.5.11High risk352026-06-13
0.6.4Low risk02026-06-03
0.6.3Low risk02026-06-03
0.6.2Low risk02026-06-03
0.6.1Low risk02026-05-29

Campaign attribution

Part of the Clob dropper campaign.

Block this in CI

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

pkgradar gate --ecosystem npm [email protected]