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.

Weekly downloads
7
Versions published
3
First published
May 2025
Publisher
y1j2x34

Recommended action

Review before promoting

Mixed signals: the package has indicators worth reading before allowing the update in automated dependency flows.

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":"review"}'

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":"review"}'
Publishery1j2x34
Artifact bytes2,911,303
Previous version2.0.0
Published2026-06-01T15:30:18.935Z
SHA-256a58fe84a57a0e5b8b7f3c0e47ceb293f2b22e1676d527a12c77e82a398664150

Why flagged

What the scanner saw

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

review
Last checked
reviewRisk
5Score
2.1.0Version
Status history (1 event)
  1. newavailable · risk review · score 5 · status changed

Evidence

Static findings

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

No high-signal findings — see all findings below.

Show all 2 findings (low-signal and informational)
SeverityKindPathDetailPoints
lowInstall-time lifecycle scriptpackage.jsonpostinstall="cd node_modules/canvas && npm run install"5
lowLarge Javascript Payloadpackage/dist/browser/iife/index.js3533266 bytes0

Manifest

Package metadata

Scripts17
  • buildtsup
  • build:watchtsup --watch
  • commitcommit
  • devnpm-run-all -p dev:build dev:examples
  • dev:buildtsup --watch
  • dev:debugnodemon --watch dist --watch debug.js --exec 'node ./debug.js'
  • dev:debug:inspectnodemon --watch dist --watch debug.js --exec 'node --inspect-brk ./debug.js'
  • dev:examplespnpm --dir examples run dev
  • 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