PkgRadar

Package evidence

@openmrs/[email protected]

Install-time lifecycle script: postinstall="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.

Versions published
4
First published
Oct 2019
Publisher
openmrs-bot

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":["@openmrs/[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":["@openmrs/[email protected]"],"fail_on":"high"}'
Publisheropenmrs-bot
Artifact bytes9,914
Previous version2.1.0
Published2023-11-17T20:16:31.966Z
SHA-25601e463ad584f3f4dda276ad9f82ef4dd057505aa1ab8078f3d5cbdd285dae106

Why flagged

What the scanner saw

New Lifecycle Script Vs Previous: postinstall added in 5.2.0 vs 2.1.0: "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
45Score
5.2.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 5.2.0 vs 2.1.0: "husky install"40
Show all 2 findings (low-signal and informational)
SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpostinstall added in 5.2.0 vs 2.1.0: "husky install"40
lowInstall-time lifecycle scriptpackage.jsonpostinstall="husky install"5

Manifest

Package metadata

Scripts7
  • ci:prepublishyarn workspaces foreach --all --topological --exclude @openmrs/esm-home npm publish --access public --tag next
  • ci:publishyarn workspaces foreach --all --topological --exclude @openmrs-esm-home npm publish --access public --tag latest
  • ci:releaseyarn workspaces foreach --all --topological version
  • postinstallhusky install
  • prettierprettier --config prettier.config.js --write "packages/**/*.{ts,tsx}"
  • startopenmrs develop --sources 'packages/esm-*-app/'
  • verifyturbo lint typescript test