Package evidence
@crosmos/[email protected]
Install Lifecycle Remote Or Exec: preinstall="node -e \"if(process.env.npm_config_global==='true'){console.error('@crosmos/codex is an npx tool — run: npx @crosmos/codex install. Do not install globally: its bin is named codex and would shadow the OpenAI Codex CLI.');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.
- Versions published
- 3
- First published
- Jun 2026
- Publisher
- GitHub ActionsTrusted automation · −70% score
Effective trust discount applied: −70% (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":["@crosmos/[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":["@crosmos/[email protected]"],"fail_on":"high"}'Why flagged
What the scanner saw
New Lifecycle Script Vs Previous: preinstall added in 0.1.2 vs 0.1.1: "node -e \"if(process.env.npm_config_global==='true'){console.error('@crosmos/codex is an npx tool — run: npx @crosmos/codex install. Do not install globally: its bin is named codex and would shadow the OpenAI Codex CLI.');process.exit(1)}\""
1 candidate cluster(s) currently reference this release.
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
Related candidates
Linked campaigns and clusters
New Account With Lifecycle Hook — package first published 0 day(s) ago, 3 total version(s), has lifecycle hook
102 members · evidence strength 90New Account With Lifecycle Hook — package first published 0 day(s) ago, 3 total version(s), has lifecycle hook
102 members · max score 157Evidence
Static findings
4 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.1.2 vs 0.1.1: "node -e \"if(process.env.npm_config_global==='true'){console.error('@crosmos/codex is an npx tool — run: npx @crosmos/codex install. Do not install globally: its bin is named codex and would shadow the OpenAI Codex CLI.');process.exit(1)}\"" | 40 |
| high | Install Lifecycle Remote Or Exec | package.json | preinstall="node -e \"if(process.env.npm_config_global==='true'){console.error('@crosmos/codex is an npx tool — run: npx @crosmos/codex install. Do not install globally: its bin is named codex and would shadow the OpenAI Codex CLI.');process.exit(1)}\"" | 30 |
| high | New Account With Lifecycle Hook | package.json | package first published 0 day(s) ago, 3 total version(s), has lifecycle hook | 25 |
Show all 5 findings (low-signal and informational)
| Severity | Kind | Path | Detail | Points |
|---|---|---|---|---|
| high | New Lifecycle Script Vs Previous | package.json | preinstall added in 0.1.2 vs 0.1.1: "node -e \"if(process.env.npm_config_global==='true'){console.error('@crosmos/codex is an npx tool — run: npx @crosmos/codex install. Do not install globally: its bin is named codex and would shadow the OpenAI Codex CLI.');process.exit(1)}\"" | 40 |
| high | Install Lifecycle Remote Or Exec | package.json | preinstall="node -e \"if(process.env.npm_config_global==='true'){console.error('@crosmos/codex is an npx tool — run: npx @crosmos/codex install. Do not install globally: its bin is named codex and would shadow the OpenAI Codex CLI.');process.exit(1)}\"" | 30 |
| high | New Account With Lifecycle Hook | package.json | package first published 0 day(s) ago, 3 total version(s), has lifecycle hook | 25 |
| low | Install-time lifecycle script | package.json | preinstall="node -e \"if(process.env.npm_config_global==='true'){console.error('@crosmos/codex is an npx tool — run: npx @crosmos/codex install. Do not install globally: its bin is named codex and would shadow the OpenAI Codex CLI.');process.exit(1)}\"" | 5 |
| low | Obfuscation Density | package/dist/cli.mjs | high encoded/escaped-token density | 0 |
Manifest
Package metadata
Scripts8
buildnode build.mjsformatbiome format --write .lintbiome check .lint:fixbiome check --write .preinstallnode -e "if(process.env.npm_config_global==='true'){console.error('@crosmos/codex is an npx tool — run: npx @crosmos/codex install. Do not install globally: its bin is named codex and would shadow the OpenAI Codex CLI.');process.exit(1)}"prepublishOnlynpm run buildtestnode --import tsx --test test/*.test.tstypechecktsc --noEmit
Dependencies3
@clack/prompts^1.5.1crosmos^0.1.0zod^4.4.3