PkgRadar

Package evidence

@newpeak/[email protected]

Install-time lifecycle script: postinstall="node scripts/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
10,322Mainstream · −50% score
Versions published
202
First published
Apr 2026
Publisher
leonxi

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":["@newpeak/[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":["@newpeak/[email protected]"],"fail_on":"high"}'
Publisherleonxi
Artifact bytes928,277
Previous version0.2.59
Published2026-06-19T12:09:21.975Z
SHA-256b0bd28474f9c4a16b44d94abd7dd3c86a8ae4d562087a8330d5e9093d7ef81e2

Why flagged

What the scanner saw

New Lifecycle Script Vs Previous: postinstall added in 0.2.60 vs 0.2.59: "node scripts/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.60Version
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.60 vs 0.2.59: "node scripts/postinstall.js"40
Show all 2 findings (low-signal and informational)
SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpostinstall added in 0.2.60 vs 0.2.59: "node scripts/postinstall.js"40
lowInstall-time lifecycle scriptpackage.jsonpostinstall="node scripts/postinstall.js"5

Manifest

Package metadata

Scripts13
  • buildnpm run generate-skills-data && tsc
  • changeloggit-cliff -o CHANGELOG.md
  • changelog:prependgit-cliff --unreleased --prepend CHANGELOG.md
  • devtsc --watch
  • formatprettier --write src
  • generate-skills-datanpx tsx src/skills/barista-cli/scripts/generate.ts
  • linteslint src --ext .ts,.js
  • postinstallnode scripts/postinstall.js
  • preparenpm run build
  • prepublishOnlynpm run build
  • startnode ./bin/barista
  • testvitest
  • test:unitvitest run
Dependencies6
  • axios^1.6.8
  • chalk^5.3.0
  • cli-table3^0.6.3
  • commander^12.0.0
  • inquirer^9.2.12
  • yaml^2.4.0
Optional dependencies1
  • keytar^7.9.0