PkgRadar

Package evidence

@ganintegrity/[email protected]

Install Lifecycle Remote Or Exec: postinstall="node -e \"String(process.env.GITLAB_CI).toLowerCase().includes('true') || require('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
9
Versions published
4
First published
Oct 2021
Publisher
gandevops

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":["@ganintegrity/[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":["@ganintegrity/[email protected]"],"fail_on":"high"}'
Publishergandevops
Artifact bytes4,555
Previous version1.3.0
Published2022-09-02T13:28:03.157Z
SHA-256fa0b9d1722fd379e744b0f335e0609963c9edaabb92d5c0f007065bd32b6933e

Why flagged

What the scanner saw

New Lifecycle Script Vs Previous: postinstall added in 1.3.1 vs 1.3.0: "node -e \"String(process.env.GITLAB_CI).toLowerCase().includes('true') || require('husky').install();\""

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

Availability ledger

available

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

Evidence

Static findings

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

SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpostinstall added in 1.3.1 vs 1.3.0: "node -e \"String(process.env.GITLAB_CI).toLowerCase().includes('true') || require('husky').install();\""40
highInstall Lifecycle Remote Or Execpackage.jsonpostinstall="node -e \"String(process.env.GITLAB_CI).toLowerCase().includes('true') || require('husky').install();\""30
Show all 3 findings (low-signal and informational)
SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpostinstall added in 1.3.1 vs 1.3.0: "node -e \"String(process.env.GITLAB_CI).toLowerCase().includes('true') || require('husky').install();\""40
highInstall Lifecycle Remote Or Execpackage.jsonpostinstall="node -e \"String(process.env.GITLAB_CI).toLowerCase().includes('true') || require('husky').install();\""30
lowInstall-time lifecycle scriptpackage.jsonpostinstall="node -e \"String(process.env.GITLAB_CI).toLowerCase().includes('true') || require('husky').install();\""5

Manifest

Package metadata

Scripts3
  • check-configeslint --print-config .eslintrc.json | eslint-config-prettier-check
  • postinstallnode -e "String(process.env.GITLAB_CI).toLowerCase().includes('true') || require('husky').install();"
  • testecho "Error: no test specified" && exit 1
Dependencies13
  • @typescript-eslint/eslint-plugin5.0.0
  • @typescript-eslint/parser5.0.0
  • eslint-config-prettier6.0.0
  • eslint-config-standard13.0.1
  • eslint-import-resolver-typescript2.5.0
  • eslint-plugin-import2.23.3
  • eslint-plugin-jsdoc33.1.1
  • eslint-plugin-mocha8.1.0
  • eslint-plugin-node11.1.0
  • eslint-plugin-prettier3.1.0
  • eslint-plugin-promise4.2.1
  • eslint-plugin-standard4.0.0
  • typescript4.4.3