Package evidence
@hdsydsvenskan/[email protected]
Install-time lifecycle script: postinstall="husky install"
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
- 328
- Versions published
- 22Mature · −50% score
- First published
- Dec 2016
- Publisher
- emilbjorklund
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 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":["@hdsydsvenskan/[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":["@hdsydsvenskan/[email protected]"],"fail_on":"high"}'Why flagged
What the scanner saw
New Lifecycle Script Vs Previous: postinstall added in 5.0.0-0 vs 4.0.1: "husky install"
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 | postinstall added in 5.0.0-0 vs 4.0.1: "husky install" | 40 |
Show all 2 findings (low-signal and informational)
| Severity | Kind | Path | Detail | Points |
|---|---|---|---|---|
| high | New Lifecycle Script Vs Previous | package.json | postinstall added in 5.0.0-0 vs 4.0.1: "husky install" | 40 |
| low | Install-time lifecycle script | package.json | postinstall="husky install" | 5 |
Manifest
Package metadata
Scripts31
buildrun-s build:*build-testrun-s build-test:*build-test:01-make-foldersmkdir -p example/dist/bare/build-test:02-generaterun-p build-test:02-generate:*build-test:02-generate:csscp example/src/main.css example/dist/bare/main.cssbuild-test:02-generate:jsrun-s build-test:02-generate:js:*build-test:02-generate:js:01webpack --mode='production' --devtool hidden-source-map --config example/webpack.config.js --output-public-path /dist/rev/build-test:02-generate:js:02webpack --mode='production' --devtool hidden-source-map --config example/webpack.legacy.js --output-public-path /dist/rev/build-test:03-clean-revrm -rf example/dist/revbuild-test:04-run-cl-with-sourcemap-flagDEBUG=asset-versions node cli.js -s -p example -o asset-versions-sourcemaps.jsonbuild-test:05-run-cliDEBUG=asset-versions node cli.js -p examplebuild:0run-s cleanbuild:1-declarationtsc -p declaration.tsconfig.jsonbuild:3-add-ignorests-ignore-import '**/*.d.ts'checkrun-s clean && run-p check:*check:dependency-checkdependency-check *.js --no-dev -i @types/* -i type-festcheck:eslinteslint .check:installed-checkinstalled-check -i eslintcheck:tsctsccleanrun-p clean:*clean:declarationsrm -rf $(find . lib example example/* example/src/* -maxdepth 2 -type f -name '*.d.ts')postinstallhusky installprepublishOnlyrun-s buildstartrun-s build-test && node example/app.jstestrun-p check && run-p test:*test-checklessrun-p test:*test:examplerun-s build-test && run-p test:example:*test:example:manifestdiff --ignore-all-space example/example-manifest.json example/dist/bare/manifest.jsontest:example:sourcemapsdiff --ignore-all-space example/example-asset-versions-sourcemaps.json example/asset-versions-sourcemaps.jsontest:example:versionsdiff --ignore-all-space example/example-asset-versions.json example/asset-versions.json- …and 1 more.
Dependencies9
@types/verror^1.10.4cp-file^9.0.0dashdash^2.0.0debug^4.1.1load-json-file^6.2.0rev-file^3.0.0type-fest^0.16.0verror^1.10.0write-json-file^4.2.1