PkgRadar

Package evidence

@awi-protocol/[email protected]

Install Lifecycle Remote Or Exec: postinstall="node -e \"try{require('child_process').execSync('npx playwright install chromium',{stdio:'inherit'})}catch(e){console.log('Playwright install skipped')}\""

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
55
Versions published
7
First published
May 2026
Publisher
rayyankhan27

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":["@awi-protocol/[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":["@awi-protocol/[email protected]"],"fail_on":"high"}'
Publisherrayyankhan27
Artifact bytes159,669
Previous version0.2.1
Published2026-05-29T12:02:46.734Z
SHA-256e6086834315253cbfce3340f0260c9ea2ae25d12dc84820cc2cf386dad4b5fce

Why flagged

What the scanner saw

New Lifecycle Script Vs Previous: postinstall added in 0.3.0 vs 0.2.1: "node -e \"try{require('child_process').execSync('npx playwright install chromium',{stdio:'inherit'})}catch(e){console.log('Playwright install skipped')}\""

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

Availability ledger

available

high
Last checked
highRisk
75Score
0.3.0Version
Status history (1 event)
  1. newavailable · risk high · score 75 · status changed

Evidence

Static findings

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

SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpostinstall added in 0.3.0 vs 0.2.1: "node -e \"try{require('child_process').execSync('npx playwright install chromium',{stdio:'inherit'})}catch(e){console.log('Playwright install skipped')}\""40
highInstall Lifecycle Remote Or Execpackage.jsonpostinstall="node -e \"try{require('child_process').execSync('npx playwright install chromium',{stdio:'inherit'})}catch(e){console.log('Playwright install skipped')}\""30
mediumNew Account With Lifecycle Hookpackage.jsonpackage first published 20 day(s) ago, 7 total version(s), has lifecycle hook10
Show all 4 findings (low-signal and informational)
SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpostinstall added in 0.3.0 vs 0.2.1: "node -e \"try{require('child_process').execSync('npx playwright install chromium',{stdio:'inherit'})}catch(e){console.log('Playwright install skipped')}\""40
highInstall Lifecycle Remote Or Execpackage.jsonpostinstall="node -e \"try{require('child_process').execSync('npx playwright install chromium',{stdio:'inherit'})}catch(e){console.log('Playwright install skipped')}\""30
mediumNew Account With Lifecycle Hookpackage.jsonpackage first published 20 day(s) ago, 7 total version(s), has lifecycle hook10
lowInstall-time lifecycle scriptpackage.jsonpostinstall="node -e \"try{require('child_process').execSync('npx playwright install chromium',{stdio:'inherit'})}catch(e){console.log('Playwright install skipped')}\""5

Manifest

Package metadata

Scripts10
  • buildtsup && tsup --config tsup.config.cli.ts
  • devtsc --watch
  • linteslint src/**/*.ts
  • postinstallnode -e "try{require('child_process').execSync('npx playwright install chromium',{stdio:'inherit'})}catch(e){console.log('Playwright install skipped')}"
  • recipe:createnode dist/author-cli.js create-recipe
  • recipe:signnode dist/author-cli.js sign-recipe
  • recipe:validatenode dist/author-cli.js validate-recipe
  • testvitest
  • test:civitest run
  • typechecktsc --noEmit
Dependencies3
  • @awi-protocol/types0.3.0
  • cheerio^1.0.0-rc.12
  • playwright^1.44.0
Optional dependencies1
  • node-llama-cpp^3.0.0