PkgRadar

Package evidence

@coze/[email protected]

Install-time lifecycle script: postinstall="node bin/postinstall.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
80,964Mainstream · −50% score
Versions published
63Mature · −50% score
First published
Dec 2024
Publisher
coze_bot

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 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":["@coze/[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":["@coze/[email protected]"],"fail_on":"high"}'
Publishercoze_bot
Artifact bytes314,898
Previous version0.2.0-alpha.2ae411
Published2026-06-10T13:46:18.002Z
SHA-2564e2a774c39ec7206208d13c724e4ae5f497bc339bcb8319f7e2cd6e8eb4a23ca

Why flagged

What the scanner saw

New Lifecycle Script Vs Previous: postinstall added in 0.2.0-alpha.7e254b vs 0.2.0-alpha.2ae411: "node bin/postinstall.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.2.0-alpha.7e254bVersion
Status history (1 event)
  1. newavailable · risk high · score 45 · status changed

Evidence

Static findings

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

SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpostinstall added in 0.2.0-alpha.7e254b vs 0.2.0-alpha.2ae411: "node bin/postinstall.js"40
Show all 2 findings (low-signal and informational)
SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpostinstall added in 0.2.0-alpha.7e254b vs 0.2.0-alpha.2ae411: "node bin/postinstall.js"40
lowInstall-time lifecycle scriptpackage.jsonpostinstall="node bin/postinstall.js"5

Manifest

Package metadata

Scripts10
  • buildCUSTOM_VERSION=release REGION=cn tsx scripts/build.ts
  • knipknip --include files
  • knip:allknip
  • linteslint ./ --cache
  • postinstallnode bin/postinstall.js
  • prebuildtsx scripts/prebuild.ts
  • testvitest --run --passWithNoTests
  • test:allbash scripts/test-coverage.sh
  • test:covvitest --run --passWithNoTests --coverage
  • test:e2eecho 'e2e skipped' && exit 0
Dependencies14
  • @inquirer/prompts^3.2.0
  • chalk^4.1.2
  • commander~12.1.0
  • form-data^4.0.5
  • http-proxy-agent^7.0.2
  • https-proxy-agent^7.0.6
  • lodash^4.18.1
  • mitt~3.0.1
  • omelette~0.4.17
  • openapi-typescript~7.4.0
  • skillslatest
  • swagger2openapi^7.0.8
  • undici~7.24.5
  • ws~8.20.0