PkgRadar

Package evidence

@cnpinsight/[email protected]

Install-time lifecycle script: postinstall="node ./scripts/setup-bundled-env.mjs --postinstall"

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
1,415Niche · −30% score
Versions published
14
First published
May 2026
Publisher
liyuntian

Effective trust discount applied: 30% (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":["@cnpinsight/[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":["@cnpinsight/[email protected]"],"fail_on":"high"}'
Publisherliyuntian
Artifact bytes39,906
Previous version2026.6.1
Published2026-06-02T11:58:44.599Z
SHA-25630c5dbcabcb098a3a92cdba239ec56549909d1947f92a6eb3b9ec5a65d537a20

Why flagged

What the scanner saw

New Lifecycle Script Vs Previous: postinstall added in 2026.6.2 vs 2026.6.1: "node ./scripts/setup-bundled-env.mjs --postinstall"

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

Availability ledger

available

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

Evidence

Static findings

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

SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpostinstall added in 2026.6.2 vs 2026.6.1: "node ./scripts/setup-bundled-env.mjs --postinstall"40
Show all 3 findings (low-signal and informational)
SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpostinstall added in 2026.6.2 vs 2026.6.1: "node ./scripts/setup-bundled-env.mjs --postinstall"40
lowInstall-time lifecycle scriptpackage.jsonpostinstall="node ./scripts/setup-bundled-env.mjs --postinstall"5
lowObfuscation Densitypackage/npm-shrinkwrap.jsonhigh encoded/escaped-token density0

Manifest

Package metadata

Scripts6
  • buildtsc -p tsconfig.build.json
  • postinstallnode ./scripts/setup-bundled-env.mjs --postinstall
  • prepacknpm run build
  • setup:bundlednode ./scripts/setup-bundled-env.mjs
  • testvitest run
  • typechecktsc -p tsconfig.json
Dependencies11
  • @opentelemetry/api1.9.1
  • @opentelemetry/api-logs0.218.0
  • @opentelemetry/exporter-logs-otlp-proto0.218.0
  • @opentelemetry/exporter-metrics-otlp-proto0.218.0
  • @opentelemetry/exporter-trace-otlp-proto0.218.0
  • @opentelemetry/resources2.7.1
  • @opentelemetry/sdk-logs0.218.0
  • @opentelemetry/sdk-metrics2.7.1
  • @opentelemetry/sdk-node0.218.0
  • @opentelemetry/sdk-trace-base2.7.1
  • @opentelemetry/semantic-conventions1.41.1