PkgRadar

Package evidence

@castlenine/[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
8
Versions published
6
First published
May 2024
Publisher
castlenine

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":["@castlenine/[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":["@castlenine/[email protected]"],"fail_on":"high"}'
Publishercastlenine
Artifact bytes10,194
Previous version5.0.1
Published2026-06-10T22:51:04.442Z
SHA-256fac0c6b3ce165cd8f62b01bba2e997c4d2ae7a2fc728a0f90dde3665ea0b156b

Why flagged

What the scanner saw

New Lifecycle Script Vs Previous: preinstall added in 5.0.2 vs 5.0.1: "npx only-allow pnpm"

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

Availability ledger

available

high
Last checked
highRisk
45Score
5.0.2Version
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.jsonpreinstall added in 5.0.2 vs 5.0.1: "npx only-allow pnpm"40
Show all 2 findings (low-signal and informational)
SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpreinstall added in 5.0.2 vs 5.0.1: "npx only-allow pnpm"40
lowInstall-time lifecycle scriptpackage.jsonpreinstall="npx only-allow pnpm"5

Manifest

Package metadata

Scripts21
  • buildpnpm check && vite build
  • checksvelte-kit sync && svelte-check --tsconfig ./tsconfig.json
  • check:watchsvelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch
  • clean-codepnpm stylelint:fix && pnpm lint:fix && pnpm format
  • commitgit status && git-cz
  • devvite dev
  • formatprettier --write .
  • format:checkprettier --check .
  • format:stagedprettier --write
  • linteslint .
  • lint:fixeslint --fix .
  • lint:staged:fixeslint --fix
  • packagepnpm remove-dist-folder && svelte-kit sync && svelte-package && publint
  • preinstallnpx only-allow pnpm
  • prepublish-onlypnpm package
  • previewvite preview
  • publish-packagepnpm publish --access public
  • remove-dist-folderrimraf dist
  • stylelintstylelint --config .stylelintrc.yaml "**/*.{css,svelte}"
  • stylelint:fixstylelint --config .stylelintrc.yaml --fix=strict "**/*.{css,svelte}"
  • stylelint:staged:fixstylelint --config .stylelintrc.yaml --fix=strict