PkgRadar

Package evidence

@mercuryworkshop/[email protected]

Install-time lifecycle script: preinstall="npx only-allow pnpm"

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
11Established · −30% score
First published
Jun 2024
Publisher
GitHub ActionsTrusted automation · −70% score

Effective trust discount applied: 70% (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":["@mercuryworkshop/[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":["@mercuryworkshop/[email protected]"],"fail_on":"high"}'
Artifact bytes937,443
Previous version1.0.2
Published2026-04-27T04:53:58.154Z
SHA-2565f864315141a1c76044cb8e801650f41581dae32a417cde08a691bc3fad8366b

Why flagged

What the scanner saw

New Lifecycle Script Vs Previous: preinstall added in 1.1.0 vs 1.0.2: "npx only-allow pnpm"

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

Availability ledger

available

high
Last checked
highRisk
45Score
1.1.0Version
Status history (3 events)
  1. availableavailable · risk high · score 45 · status available -> available, risk high -> high, score 51 -> 45
  2. availableavailable · risk high · score 51 · status available -> available, risk high -> high, score 100 -> 51
  3. newavailable · risk high · score 100 · status changed

Related candidates

Linked campaigns and clusters

Repeated static TTPstale

Install-time lifecycle script — preinstall="npx only-allow pnpm"

21 members · evidence strength 90

Evidence

Static findings

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

SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpreinstall added in 1.1.0 vs 1.0.2: "npx only-allow pnpm"40
Show all 2 findings (low-signal and informational)
SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpreinstall added in 1.1.0 vs 1.0.2: "npx only-allow pnpm"40
lowInstall-time lifecycle scriptpackage.jsonpreinstall="npx only-allow pnpm"5

Manifest

Package metadata

Scripts20
  • buildrspack build --mode production
  • build:allnpm run build && npm run build:types
  • build:typesrslib build && rm -rf dist/temp
  • devnode server.js
  • dev:debugDEBUG=1 node server.js
  • docstypedoc
  • docs:devtypedoc --options typedoc.dev-facing.json
  • docs:servenpx serve _docs; typedoc --watch
  • formatprettier --write .
  • format:docsremark "docs/**/*.{md,mdx}" --output
  • linteslint ./src/
  • lint:allnpm run lint && npm run lint:workflows
  • lint:fixeslint ./src/ --fix
  • lint:workflowsactionlint .github/workflows/*.yml
  • preinstallnpx only-allow pnpm
  • pubnpm publish --no-git-checks --access public
  • rewriter:buildcd rewriter/wasm/ && bash build.sh && cd ../../
  • testnpm run test:package && npm run test:integration
  • test:integrationnpx playwright test
  • test:packageava tests/ci/packageValidation.js
Dependencies8
  • @mercuryworkshop/bare-mux^2.1.9
  • dom-serializer^2.0.0
  • domhandler^5.0.3
  • domutils^3.2.2
  • htmlparser210.0.0
  • idb^8.0.3
  • parse-domain^8.2.2
  • set-cookie-parser^2.7.1