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
54
Versions published
36Mature · −50% score
First published
Mar 2020
Publisher
uladkasach

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":["[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 bytes100,937
Previous version0.9.8
Published2024-06-15T16:39:30.521Z
SHA-256b698fd1d35dd5f54707e71ffbd53f000ac6142de0820c1af862cd1cd16ad83b1

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
12Score
0.10.0Version
Status history (1 event)
  1. newavailable · risk high · score 12 · 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

Scripts32
  • buildnpm run build:clean && npm run build:compile
  • build:artifactecho 'no artifact'
  • 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:format:terraformecho 'no terraform'
  • fix:linteslint -c ./.eslintrc.js src/**/*.ts --fix
  • generate:cli-readmenpm run build && oclif-dev readme
  • 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
  • provision:docker:awaitdocker-compose -f ./provision/docker/integration_test_db/docker-compose.yml exec -T mysql /root/wait-for-mysql.sh
  • provision:docker:updocker-compose -f ./provision/docker/integration_test_db/docker-compose.yml up -d --force-recreate --renew-anon-volumes
  • provision:integration-test-dbnpm run provision:docker:up && npm run provision:docker:await
  • 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:format:terraformecho 'no terraform'
  • 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
  • …and 2 more.
Dependencies14
  • @ehmpathy/error-fns1.0.2
  • @oclif/core2.0.11
  • @oclif/plugin-help3.1.0
  • chalk2.4.2
  • change-case4.1.1
  • domain-objects0.10.3
  • fast-glob3.2.2
  • joi17.4.0
  • oclif3.3.1
  • pascal-case3.1.2
  • sql-strip-comments0.0.23
  • type-fns1.15.0
  • uuid9.0.0
  • yaml1.6.0