PkgRadar

Package evidence

@woocommerce/[email protected]

Install-time lifecycle script: postinstall="composer 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
15,440Mainstream · −50% score
Versions published
22Mature · −50% score
First published
Nov 2018
Publisher
psealock

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":["@woocommerce/[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":["@woocommerce/[email protected]"],"fail_on":"high"}'
Publisherpsealock
Artifact bytes77,594
Previous version7.0.1
Published2022-06-15T22:40:59.665Z
SHA-256556414f0ec9c28f5e790a3c25c6ba4c1a6c08707db0c9f7c39732ecfa2697bed

Why flagged

What the scanner saw

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

Manifest

Package metadata

Scripts9
  • buildtsc --build ./tsconfig.json ./tsconfig-cjs.json
  • changelogcomposer exec -- changelogger
  • cleanpnpm exec rimraf tsconfig.tsbuildinfo build build-*
  • linteslint src
  • lint:fixeslint src --fix
  • postinstallcomposer install
  • starttsc --build --watch
  • testjest --config ./jest.config.json
  • test-stagedjest --bail --config ./jest.config.json --findRelatedTests
Dependencies9
  • @wordpress/api-fetch^6.0.1
  • @wordpress/components^19.5.0
  • @wordpress/compose^5.1.2
  • @wordpress/element^4.1.1
  • @wordpress/hooks^3.5.0
  • @wordpress/notices^3.3.2
  • @wordpress/url^3.4.1
  • history^5.3.0
  • qs^6.10.3