Package evidence
@xompass/[email protected]
Install Lifecycle Remote Or Exec: preinstall="node -e \"const ua=process.env.npm_config_user_agent||''; const execPath=process.env.npm_execpath||''; const blocked=ua.startsWith('npm/') || ua.startsWith('yarn/') || execPath.includes('npm-cli.js') || execPath.includes('yarn'); if (blocked) { console.error('This package must be installed with pnpm. Run corepack enable and then pnpm install.'); process.exit(1); }\""
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.
- Weekly downloads
- 211
- Versions published
- 61Mature · −50% score
- First published
- Mar 2023
- Publisher
- reneseses
Effective trust discount applied: −50% (max across signals — discounts don’t stack). New install-lifecycle deltas vs the previous release would clear the discount.
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":["@xompass/[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":["@xompass/[email protected]"],"fail_on":"high"}'Why flagged
What the scanner saw
New Lifecycle Script Vs Previous: preinstall added in 0.32.2 vs 0.32.0: "node -e \"const ua=process.env.npm_config_user_agent||''; const execPath=process.env.npm_execpath||''; const blocked=ua.startsWith('npm/') || ua.startsWith('yarn/') || execPath.includes('npm-cli.js') || execPath.includes('yarn'); if (blocked) { console.error('This package must be installed with pnpm. Run corepack enable and then pnpm install.'); process.exit(1); }\""
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 75 · status changed
Evidence
Static findings
2 static · 1 from release diff · showing high-signal first.
| Severity | Kind | Path | Detail | Points |
|---|---|---|---|---|
| high | New Lifecycle Script Vs Previous | package.json | preinstall added in 0.32.2 vs 0.32.0: "node -e \"const ua=process.env.npm_config_user_agent||''; const execPath=process.env.npm_execpath||''; const blocked=ua.startsWith('npm/') || ua.startsWith('yarn/') || execPath.includes('npm-cli.js') || execPath.includes('yarn'); if (blocked) { console.error('This package must be installed with pnpm. Run corepack enable and then pnpm install.'); process.exit(1); }\"" | 40 |
| high | Install Lifecycle Remote Or Exec | package.json | preinstall="node -e \"const ua=process.env.npm_config_user_agent||''; const execPath=process.env.npm_execpath||''; const blocked=ua.startsWith('npm/') || ua.startsWith('yarn/') || execPath.includes('npm-cli.js') || execPath.includes('yarn'); if (blocked) { console.error('This package must be installed with pnpm. Run corepack enable and then pnpm install.'); process.exit(1); }\"" | 30 |
Show all 3 findings (low-signal and informational)
| Severity | Kind | Path | Detail | Points |
|---|---|---|---|---|
| high | New Lifecycle Script Vs Previous | package.json | preinstall added in 0.32.2 vs 0.32.0: "node -e \"const ua=process.env.npm_config_user_agent||''; const execPath=process.env.npm_execpath||''; const blocked=ua.startsWith('npm/') || ua.startsWith('yarn/') || execPath.includes('npm-cli.js') || execPath.includes('yarn'); if (blocked) { console.error('This package must be installed with pnpm. Run corepack enable and then pnpm install.'); process.exit(1); }\"" | 40 |
| high | Install Lifecycle Remote Or Exec | package.json | preinstall="node -e \"const ua=process.env.npm_config_user_agent||''; const execPath=process.env.npm_execpath||''; const blocked=ua.startsWith('npm/') || ua.startsWith('yarn/') || execPath.includes('npm-cli.js') || execPath.includes('yarn'); if (blocked) { console.error('This package must be installed with pnpm. Run corepack enable and then pnpm install.'); process.exit(1); }\"" | 30 |
| low | Install-time lifecycle script | package.json | preinstall="node -e \"const ua=process.env.npm_config_user_agent||''; const execPath=process.env.npm_execpath||''; const blocked=ua.startsWith('npm/') || ua.startsWith('yarn/') || execPath.includes('npm-cli.js') || execPath.includes('yarn'); if (blocked) { console.error('This package must be installed with pnpm. Run corepack enable and then pnpm install.'); process.exit(1); }\"" | 5 |
Manifest
Package metadata
Scripts4
buildtsup src/index.ts --format cjs,esm --dtslinttscpreinstallnode -e "const ua=process.env.npm_config_user_agent||''; const execPath=process.env.npm_execpath||''; const blocked=ua.startsWith('npm/') || ua.startsWith('yarn/') || execPath.includes('npm-cli.js') || execPath.includes('yarn'); if (blocked) { console.error('This package must be installed with pnpm. Run corepack enable and then pnpm install.'); process.exit(1); }"testecho "Error: no test specified" && exit 1