PkgRadar

Package evidence

[email protected]

Install-time lifecycle script: postinstall="cd node_modules/canvas && npm run 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
5
First published
May 2025
Publisher
y1j2x34

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"}'
Publishery1j2x34
Artifact bytes2,875,704
Previous version1.0.0
Published2025-06-21T16:02:43.194Z
SHA-2563d3f3ff0df421febae8e38fd7b3094e84a69b7dc9f87301825d559718e0ed2a0

Why flagged

What the scanner saw

New Lifecycle Script Vs Previous: postinstall added in 2.0.0 vs 1.0.0: "cd node_modules/canvas && npm run 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
2.0.0Version
Status history (1 event)
  1. newavailable · risk high · score 45 · status changed

Evidence

Static findings

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

SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpostinstall added in 2.0.0 vs 1.0.0: "cd node_modules/canvas && npm run install"40
Show all 3 findings (low-signal and informational)
SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpostinstall added in 2.0.0 vs 1.0.0: "cd node_modules/canvas && npm run install"40
lowInstall-time lifecycle scriptpackage.jsonpostinstall="cd node_modules/canvas && npm run install"5
lowLarge Javascript Payloadpackage/dist/browser/iife/index.js3524961 bytes0

Manifest

Package metadata

Scripts15
  • buildtsup
  • build:watchtsup --watch
  • commitcommit
  • debugnodemon --watch dist --watch debug.js --exec 'node ./debug.js'
  • debug:inspectnodemon --watch dist --watch debug.js --exec 'node --inspect-brk ./debug.js'
  • devnpm-run-all build --parallel build:watch debug
  • formateslint . -c ./.eslintrc.cjs --fix
  • linteslint . -c ./.eslintrc.cjs
  • postinstallcd node_modules/canvas && npm run install
  • preparehusky install
  • testvitest
  • test:civitest run --browser.headless --coverage
  • test:debugvitest --inspect --no-file-parallelism --project node
  • tsctsc --noEmit
  • typedoctypedoc ./src --out ./docs/api --hideGenerator --name ts-library
Dependencies7
  • canvas^3.1.0
  • deasync^0.1.30
  • jsdom^26.1.0
  • json5^2.2.3
  • markdown-it^14.0.0
  • sharp^0.34.2
  • smiles-drawer^2.1.7