PkgRadar

Package evidence

@trussworks/[email protected]

Install-time lifecycle script: postinstall="simple-git-hooks"

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
72Mature · −50% score
First published
Feb 2020
Publisher
brandon-truss

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 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":["@trussworks/[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":["@trussworks/[email protected]"],"fail_on":"high"}'
Publisherbrandon-truss
Artifact bytes1,369,366
Previous version10.0.2
Published2025-11-10T22:12:42.992Z
SHA-256ee3836d63367a198ddcc0e99cab364cf9cbe2ea60221c7ffe0074e0858565b19

Why flagged

What the scanner saw

New Lifecycle Script Vs Previous: postinstall added in 10.1.0 vs 10.0.2: "simple-git-hooks"

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

Availability ledger

available

high
Last checked
highRisk
45Score
10.1.0Version
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.jsonpostinstall added in 10.1.0 vs 10.0.2: "simple-git-hooks"40
Show all 2 findings (low-signal and informational)
SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpostinstall added in 10.1.0 vs 10.0.2: "simple-git-hooks"40
lowInstall-time lifecycle scriptpackage.jsonpostinstall="simple-git-hooks"5

Manifest

Package metadata

Scripts20
  • buildvite build && yarn run build:uswds && yarn run test:bundles
  • build-storybookstorybook build
  • build:uswdsvite build --mode uswds
  • build:watchvite dev
  • contributors:addall-contributors add
  • format:checkprettier --check "src/**/*.{js,jsx,ts,tsx,css,scss,json,md}"
  • format:fixprettier --write "src/**/*.{js,jsx,ts,tsx,css,scss,json,md}"
  • happohappo run --config ./.happo.js
  • happo-ciHAPPO_CONFIG_FILE='./.happo.js' npx -p happo.io happo-ci-github-actions --config ./.happo.js
  • linttsc && eslint src && stylelint "src/**/*.{css,scss}"
  • lint:fixtsc && eslint src --fix && stylelint "src/**/*.{css,scss}" --fix
  • postinstallsimple-git-hooks
  • prepackyarn lint && yarn test && yarn build
  • storybookstorybook dev -p 9009
  • testvitest --run
  • test:bundlesvitest --run bundles.test.tsx --mode bundles
  • test:coveragevitest --run --coverage
  • test:debugvitest --inspect --pool threads --poolOptions.threads.singleThread
  • test:serversideyarn build && node src/serverSideTest.js
  • test:watchvitest