PkgRadar

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 update

Static 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"}'
Artifact bytes113,972
Previous version0.1.1
Published2026-06-13T19:12:17.636Z
SHA-256ca6bff6a271279bdf7768901808ef6f19cde87717477ad61d66bf9223efcd105

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

high
Last checked
highRisk
75Score
0.1.2Version
Status history (1 event)
  1. newavailable · risk high · score 75 · status changed

Related candidates

Linked campaigns and clusters

Repeated static TTPactive

New Account With Lifecycle Hook — package first published 0 day(s) ago, 3 total version(s), has lifecycle hook

102 members · evidence strength 90
Repeated static TTPcandidate

New Account With Lifecycle Hook — package first published 0 day(s) ago, 3 total version(s), has lifecycle hook

102 members · max score 157

Evidence

Static findings

4 static · 1 from release diff · showing high-signal first.

SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpreinstall 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
highInstall Lifecycle Remote Or Execpackage.jsonpreinstall="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
highNew Account With Lifecycle Hookpackage.jsonpackage first published 0 day(s) ago, 3 total version(s), has lifecycle hook25
Show all 5 findings (low-signal and informational)
SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpreinstall 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
highInstall Lifecycle Remote Or Execpackage.jsonpreinstall="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
highNew Account With Lifecycle Hookpackage.jsonpackage first published 0 day(s) ago, 3 total version(s), has lifecycle hook25
lowInstall-time lifecycle scriptpackage.jsonpreinstall="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
lowObfuscation Densitypackage/dist/cli.mjshigh encoded/escaped-token density0

Manifest

Package metadata

Scripts8
  • buildnode build.mjs
  • formatbiome 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 build
  • testnode --import tsx --test test/*.test.ts
  • typechecktsc --noEmit
Dependencies3
  • @clack/prompts^1.5.1
  • crosmos^0.1.0
  • zod^4.4.3