Package evidence
@norges-domstoler/[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
- 147
- Versions published
- 121Mature · −50% score
- First published
- Mar 2023
- Publisher
- GitHub ActionsTrusted automation · −70% score
Effective trust discount applied: −70% (max across signals — discounts don’t stack). New install-lifecycle deltas vs the previous release would clear the discount.
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":["@norges-domstoler/[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":["@norges-domstoler/[email protected]"],"fail_on":"high"}'Why flagged
What the scanner saw
New Lifecycle Script Vs Previous: preinstall added in 7.3.1 vs 7.3.0: "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 7.3.1 vs 7.3.0: "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 7.3.1 vs 7.3.0: "npx only-allow pnpm" | 40 |
| low | Install-time lifecycle script | package.json | preinstall="npx only-allow pnpm" | 5 |
Manifest
Package metadata
Scripts18
buildtsup --dtsbuild:fasttsupbuild:storybookpnpm run build && storybook buildchangesetchangesetdevpnpm run build:fast -- --watchformat:checkprettier --check src --cacheformat:writeprettier --write src --cachelinteslint src --c .js,.jsx,.ts,.tsx --config eslint.config.mjs --cachepreinstallnpx only-allow pnpmprereleasepnpm run buildreleasechangeset publishrelease:devchangeset publish --tag devserve:storybookpnpx serve storybook-staticstorybookstorybook dev -p 6006testvitest runtest:watchvitest watchtypechecktsc --noEmitversion:devchangeset version --snapshot dev
Dependencies7
@eslint/eslintrc^3.3.3@eslint/js^9.34.0@internationalized/date^3.9.0@navikt/fnrvalidator^2.2.0@types/node^24.10.10install^0.13.0react-select^5.9.0