PkgRadar

Package evidence

@ocas/[email protected]

Install Lifecycle Suppresses Failure: postinstall="bun scripts/postinstall.js || true"

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,203Niche · −30% score
Versions published
15
First published
Jun 2026
Publisher
oc-xiaoju

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":["@ocas/[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":["@ocas/[email protected]"],"fail_on":"high"}'
Publisheroc-xiaoju
Artifact bytes58,292
Previous version0.1.1
Published2026-06-02T03:37:39.056Z
SHA-25673b8baf97611b57eeea7702d86b0298e2ca2ce32c5e96f5ff4250c3f4fc6a593

Why flagged

What the scanner saw

New Lifecycle Script Vs Previous: postinstall added in 0.1.2-rc.1 vs 0.1.1: "bun scripts/postinstall.js || true"

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

Availability ledger

available

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

Evidence

Static findings

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

SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpostinstall added in 0.1.2-rc.1 vs 0.1.1: "bun scripts/postinstall.js || true"40
highInstall Lifecycle Suppresses Failurepackage.jsonpostinstall="bun scripts/postinstall.js || true"20
Show all 3 findings (low-signal and informational)
SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpostinstall added in 0.1.2-rc.1 vs 0.1.1: "bun scripts/postinstall.js || true"40
highInstall Lifecycle Suppresses Failurepackage.jsonpostinstall="bun scripts/postinstall.js || true"20
lowInstall-time lifecycle scriptpackage.jsonpostinstall="bun scripts/postinstall.js || true"5

Manifest

Package metadata

Scripts3
  • postinstallbun scripts/postinstall.js || true
  • prepublishOnlybash ../../scripts/check-workspace-deps.sh
  • testbun test
Dependencies2
  • @ocas/core0.1.2-rc.1
  • @ocas/fs0.1.2-rc.1