PkgRadar

Package evidence

@defra/[email protected]

Install-time lifecycle script: postinstall="npm run setup:husky"

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.

Versions published
7
First published
Feb 2026
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

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":["@defra/[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":["@defra/[email protected]"],"fail_on":"review"}'
Artifact bytes13,340
Previous version0.5.1
Published2026-05-27T06:55:53.721Z
SHA-256eefb6997558f31a32370a06e73f32698455ff3dba0846cd8b47d4b7cafb6b4c1

Why flagged

What the scanner saw

Install-time lifecycle script: postinstall="npm run setup:husky"

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

Availability ledger

available

review
Last checked
reviewRisk
1Score
0.5.2Version
Status history (1 event)
  1. newavailable · risk review · score 1 · 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.jsonpostinstall="npm run setup:husky"5

Manifest

Package metadata

Scripts9
  • formatprettier --write "**/*.{cjs,js,json,md}"
  • format:checkprettier --check "**/*.{cjs,js,json,md}"
  • git:pre-commit-hooknpm run format:check && npm run lint
  • github:releasenpx cdp-github-release hapi-auth-oidc
  • linteslint --cache --cache-strategy content "**/*.{cjs,js}"
  • lint:fixnpm run lint -- --fix
  • postinstallnpm run setup:husky
  • setup:huskynode -e "try { (await import('husky')).default() } catch (e) { if (e.code !== 'ERR_MODULE_NOT_FOUND') throw e }" --input-type module
  • testvitest run --coverage
Dependencies7
  • @aws-sdk/client-cognito-identity3.1044.0
  • @hapi/boom10.0.1
  • @hapi/hoek11.0.7
  • @hapi/jwt3.2.3
  • aws-sdk-v3-proxy2.2.0
  • joi18.2.1
  • openid-client6.8.2