PkgRadar

Package evidence

[email protected]

Install-time lifecycle script: postinstall="node scripts/patch-codex-sdk-windows-hide.js"

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
322
Versions published
51
First published
Mar 2026
Publisher
zhangle1987

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":["[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":["[email protected]"],"fail_on":"high"}'
Publisherzhangle1987
Artifact bytes1,289,055
Previous version0.1.5
Published2026-03-25T05:53:52.226Z
SHA-2564d458ee12a13b6f7c03f439066bcc044ae4041e4ee507f09dd99a15e9a165dd8

Why flagged

What the scanner saw

New Lifecycle Script Vs Previous: postinstall added in 0.1.6 vs 0.1.5: "node scripts/patch-codex-sdk-windows-hide.js"

Not observed: package install, lifecycle script execution, or sandbox execution. PkgRadar only inspects on-disk artifacts.

Availability ledger

available

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

Evidence

Static findings

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

SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpostinstall added in 0.1.6 vs 0.1.5: "node scripts/patch-codex-sdk-windows-hide.js"40
Show all 4 findings (low-signal and informational)
SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpostinstall added in 0.1.6 vs 0.1.5: "node scripts/patch-codex-sdk-windows-hide.js"40
lowInstall-time lifecycle scriptpackage.jsonpostinstall="node scripts/patch-codex-sdk-windows-hide.js"5
lowLarge Javascript Payloadpackage/dist/daemon.mjs9112541 bytes0
lowObfuscation Densitypackage/dist/ui-server.mjshigh encoded/escaped-token density0

Manifest

Package metadata

Scripts9
  • buildnode scripts/build.js
  • devtsx src/main.ts
  • dev:uitsx src/ui-server.ts
  • opennode dist/cli.mjs open
  • postinstallnode scripts/patch-codex-sdk-windows-hide.js
  • prepublishOnlynpm run typecheck && npm run build
  • testnode scripts/run-tests.js
  • typechecktsc --noEmit
  • weixin:loginnode --import tsx src/weixin-login.ts
Dependencies7
  • @anthropic-ai/claude-agent-sdk^0.2.62
  • @larksuiteoapi/node-sdk^1.59.0
  • @openai/codex-sdk^0.110.0
  • discord.js^14.25.1
  • markdown-it^14.1.1
  • qrcode^1.5.4
  • ws^8.18.0