PkgRadar

Package evidence

[email protected]

Install Lifecycle Suppresses Failure: postinstall="[ -d .git ] && npx husky install || exit 0"

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
97
Versions published
19Established · −30% score
First published
Jul 2021
Publisher
uladkasach

Effective trust discount applied: 30% (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":["[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":["[email protected]"],"fail_on":"high"}'
Publisheruladkasach
Artifact bytes32,729
Previous version0.7.3
Published2024-07-27T21:03:45.168Z
SHA-256ab0b6035e2e863ef0c239f3aea1b0712a7da0a78b3df4b2557fec412b47a19d3

Why flagged

What the scanner saw

Install Lifecycle Suppresses Failure: postinstall="[ -d .git ] && npx husky install || exit 0"

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

Availability ledger

available

high
Last checked
highRisk
17Score
0.7.4Version
Status history (1 event)
  1. newavailable · risk high · score 17 · status changed

Evidence

Static findings

2 static · 0 from release diff · showing high-signal first.

SeverityKindPathDetailPoints
highInstall Lifecycle Suppresses Failurepackage.jsonpostinstall="[ -d .git ] && npx husky install || exit 0"20
Show all 2 findings (low-signal and informational)
SeverityKindPathDetailPoints
highInstall Lifecycle Suppresses Failurepackage.jsonpostinstall="[ -d .git ] && npx husky install || exit 0"20
lowInstall-time lifecycle scriptpackage.jsonpostinstall="[ -d .git ] && npx husky install || exit 0"5

Manifest

Package metadata

Scripts25
  • buildnpm run build:clean && npm run build:compile
  • build:cleanrm dist/ -rf
  • build:compiletsc -p ./tsconfig.build.json
  • build:tstsc -p ./tsconfig.build.json
  • commit:with-clinpx cz
  • fix:formatnpm run fix:format:prettier
  • fix:format:prettierprettier --write '**/*.ts' --config ./prettier.config.js
  • fix:linteslint -c ./.eslintrc.js src/**/*.ts --fix
  • postinstall[ -d .git ] && npx husky install || exit 0
  • postversiongit push origin HEAD --tags --no-verify
  • prepublishnpm run build
  • prepushnpm run test && npm run build
  • preversionnpm run prepush
  • testnpm run test:commits && npm run test:types && npm run test:format && npm run test:lint && npm run test:unit && npm run test:integration && npm run test:acceptance:locally
  • test:acceptancenpm run build && jest -c ./jest.acceptance.config.ts --forceExit --verbose --runInBand --passWithNoTests
  • test:acceptance:locallynpm run build && LOCALLY=true jest -c ./jest.acceptance.config.ts --forceExit --verbose --runInBand --passWithNoTests
  • test:commitsLAST_TAG=$(git describe --tags --abbrev=0 @^ 2> /dev/null || git rev-list --max-parents=0 HEAD) && npx commitlint --from $LAST_TAG --to HEAD --verbose
  • test:formatnpm run test:format:prettier
  • test:format:prettierprettier --parser typescript --check 'src/**/*.ts' --config ./prettier.config.js
  • test:integrationjest -c ./jest.integration.config.ts --forceExit --verbose --passWithNoTests $([ -z $THOROUGH ] && echo '--changedSince=main')
  • test:lintnpm run test:lint:eslint && npm run test:lint:deps
  • test:lint:depsnpx depcheck -c ./depcheckrc.yml
  • test:lint:eslinteslint -c ./.eslintrc.js src/**/*.ts
  • test:typestsc -p ./tsconfig.build.json --noEmit
  • test:unitjest -c ./jest.unit.config.ts --forceExit --verbose --passWithNoTests $([ -z $THOROUGH ] && echo '--changedSince=main')
Dependencies6
  • @ehmpathy/error-fns1.0.2
  • domain-objects^0.22.1
  • joi17.4.0
  • type-fns^1.16.0
  • typescript^3.8.3
  • uuid9.0.0