PkgRadar

Package evidence

@magicnewton/[email protected]

Install-time lifecycle script: preinstall="npx only-allow pnpm"

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
502
Versions published
257Established · −30% score
First published
Sep 2025
Publisher
dizigen

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

Review before promoting

Mixed signals: the package has indicators worth reading before allowing the update in automated dependency flows.

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":["@magicnewton/[email protected]"],"fail_on":"review"}'

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":["@magicnewton/[email protected]"],"fail_on":"review"}'
Publisherdizigen
Artifact bytes80,480
Previous version0.9.1--canary.156.25826798105.0
Published2026-05-14T21:06:10.062Z
SHA-256655a2bc326b51c28c1475f556a64863f77164b0d8ce25bb974f01c545974fbfc

Why flagged

What the scanner saw

Install-time lifecycle script: preinstall="npx only-allow pnpm"

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

Availability ledger

available

review
Last checked
reviewRisk
3Score
0.9.1--canary.156.25885663259.0Version
Status history (1 event)
  1. newavailable · risk review · score 3 · status changed

Evidence

Static findings

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

No high-signal findings — see all findings below.

Show all 1 findings (low-signal and informational)
SeverityKindPathDetailPoints
lowInstall-time lifecycle scriptpackage.jsonpreinstall="npx only-allow pnpm"5

Manifest

Package metadata

Scripts22
  • buildrollup -c rollup.config.mjs
  • check:allpnpm check:exports && pnpm check:size && pnpm check:types-resolution
  • check:exportspublint
  • check:sizesize-limit
  • check:types-resolutionattw --pack . --entrypoints . --ignore-rules=unexpected-module-syntax
  • check:unusedknip
  • cleanrimraf dist && rimraf node_modules
  • docs:broken-linkscd site && mintlify broken-links
  • docs:check./scripts/check-docs-twoslash.sh
  • docs:devcd site && mintlify dev
  • formatbiome format --write src/
  • format:checkbiome format src/
  • lintbiome check src/
  • lint:fixbiome check --write src/
  • preinstallnpx only-allow pnpm
  • preparesimple-git-hooks
  • sync-abis./scripts/sync-abis.sh
  • testvitest run --passWithNoTests
  • test:coveragevitest run --coverage
  • test:typecheckvitest --config vitest.typecheck.config.ts --passWithNoTests
  • test:watchvitest
  • typechecktsc --noEmit
Dependencies7
  • @hpke/chacha20poly1305^1.7.1
  • @hpke/core^1.8.0
  • @hpke/dhkem-x25519^1.7.0
  • @noble/curves^2.0.1
  • eventemitter3^4.0.4
  • jose^6.0.13
  • viem^2.35.1