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 updateStatic 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"}'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
Status history (1 event)
- new → available · risk high · score 45 · status changed
Evidence
Static findings
1 static · 1 from release diff · showing high-signal first.
| Severity | Kind | Path | Detail | Points |
|---|---|---|---|---|
| high | New Lifecycle Script Vs Previous | package.json | preinstall added in 5.0.2 vs 5.0.1: "npx only-allow pnpm" | 40 |
Show all 2 findings (low-signal and informational)
| Severity | Kind | Path | Detail | Points |
|---|---|---|---|---|
| high | New Lifecycle Script Vs Previous | package.json | preinstall added in 5.0.2 vs 5.0.1: "npx only-allow pnpm" | 40 |
| low | Install-time lifecycle script | package.json | preinstall="npx only-allow pnpm" | 5 |
Manifest
Package metadata
Scripts21
buildpnpm check && vite buildchecksvelte-kit sync && svelte-check --tsconfig ./tsconfig.jsoncheck:watchsvelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watchclean-codepnpm stylelint:fix && pnpm lint:fix && pnpm formatcommitgit status && git-czdevvite devformatprettier --write .format:checkprettier --check .format:stagedprettier --writelinteslint .lint:fixeslint --fix .lint:staged:fixeslint --fixpackagepnpm remove-dist-folder && svelte-kit sync && svelte-package && publintpreinstallnpx only-allow pnpmprepublish-onlypnpm packagepreviewvite previewpublish-packagepnpm publish --access publicremove-dist-folderrimraf diststylelintstylelint --config .stylelintrc.yaml "**/*.{css,svelte}"stylelint:fixstylelint --config .stylelintrc.yaml --fix=strict "**/*.{css,svelte}"stylelint:staged:fixstylelint --config .stylelintrc.yaml --fix=strict