Package evidence
@xompass/[email protected]
Install Lifecycle Remote Or Exec: preinstall="node -e \"const path=require('node:path'); const ua=process.env.npm_config_user_agent||''; const execPath=process.env.npm_execpath||''; const initCwd=process.env.INIT_CWD||''; const isRepoInstall=initCwd && path.resolve(initCwd)===process.cwd(); const blocked=ua.startsWith('npm/') || ua.startsWith('yarn/') || execPath.includes('npm-cli.js') || execPath.includes('yarn'); if (isRepoInstall && blocked) { console.error('This repository 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
Install Lifecycle Remote Or Exec: preinstall="node -e \"const path=require('node:path'); const ua=process.env.npm_config_user_agent||''; const execPath=process.env.npm_execpath||''; const initCwd=process.env.INIT_CWD||''; const isRepoInstall=initCwd && path.resolve(initCwd)===process.cwd(); const blocked=ua.startsWith('npm/') || ua.startsWith('yarn/') || execPath.includes('npm-cli.js') || execPath.includes('yarn'); if (isRepoInstall && blocked) { console.error('This repository 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 17 · status changed
Evidence
Static findings
2 static · 0 from release diff · showing high-signal first.
| Severity | Kind | Path | Detail | Points |
|---|---|---|---|---|
| high | Install Lifecycle Remote Or Exec | package.json | preinstall="node -e \"const path=require('node:path'); const ua=process.env.npm_config_user_agent||''; const execPath=process.env.npm_execpath||''; const initCwd=process.env.INIT_CWD||''; const isRepoInstall=initCwd && path.resolve(initCwd)===process.cwd(); const blocked=ua.startsWith('npm/') || ua.startsWith('yarn/') || execPath.includes('npm-cli.js') || execPath.includes('yarn'); if (isRepoInstall && blocked) { console.error('This repository must be installed with pnpm. Run corepack enable and then pnpm install.'); process.exit(1); }\"" | 30 |
Show all 2 findings (low-signal and informational)
| Severity | Kind | Path | Detail | Points |
|---|---|---|---|---|
| high | Install Lifecycle Remote Or Exec | package.json | preinstall="node -e \"const path=require('node:path'); const ua=process.env.npm_config_user_agent||''; const execPath=process.env.npm_execpath||''; const initCwd=process.env.INIT_CWD||''; const isRepoInstall=initCwd && path.resolve(initCwd)===process.cwd(); const blocked=ua.startsWith('npm/') || ua.startsWith('yarn/') || execPath.includes('npm-cli.js') || execPath.includes('yarn'); if (isRepoInstall && blocked) { console.error('This repository 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 path=require('node:path'); const ua=process.env.npm_config_user_agent||''; const execPath=process.env.npm_execpath||''; const initCwd=process.env.INIT_CWD||''; const isRepoInstall=initCwd && path.resolve(initCwd)===process.cwd(); const blocked=ua.startsWith('npm/') || ua.startsWith('yarn/') || execPath.includes('npm-cli.js') || execPath.includes('yarn'); if (isRepoInstall && blocked) { console.error('This repository must be installed with pnpm. Run corepack enable and then pnpm install.'); process.exit(1); }\"" | 5 |
Manifest
Package metadata
Scripts5
buildtsup src/index.ts --format cjs,esm --dtslinttscpreinstallnode -e "const path=require('node:path'); const ua=process.env.npm_config_user_agent||''; const execPath=process.env.npm_execpath||''; const initCwd=process.env.INIT_CWD||''; const isRepoInstall=initCwd && path.resolve(initCwd)===process.cwd(); const blocked=ua.startsWith('npm/') || ua.startsWith('yarn/') || execPath.includes('npm-cli.js') || execPath.includes('yarn'); if (isRepoInstall && blocked) { console.error('This repository must be installed with pnpm. Run corepack enable and then pnpm install.'); process.exit(1); }"prepublishpnpm run buildtestecho "Error: no test specified" && exit 1