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 updateStatic 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"}'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
Status history (1 event)
- new → available · risk high · score 75 · status changed
Evidence
Static findings
3 static · 1 from release diff · showing high-signal first.
| Severity | Kind | Path | Detail | Points |
|---|---|---|---|---|
| high | New Lifecycle Script Vs Previous | package.json | 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')}\"" | 40 |
| high | Install Lifecycle Remote Or Exec | package.json | postinstall="node -e \"try{require('child_process').execSync('npx playwright install chromium',{stdio:'inherit'})}catch(e){console.log('Playwright install skipped')}\"" | 30 |
| medium | New Account With Lifecycle Hook | package.json | package first published 20 day(s) ago, 7 total version(s), has lifecycle hook | 10 |
Show all 4 findings (low-signal and informational)
| Severity | Kind | Path | Detail | Points |
|---|---|---|---|---|
| high | New Lifecycle Script Vs Previous | package.json | 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')}\"" | 40 |
| high | Install Lifecycle Remote Or Exec | package.json | postinstall="node -e \"try{require('child_process').execSync('npx playwright install chromium',{stdio:'inherit'})}catch(e){console.log('Playwright install skipped')}\"" | 30 |
| medium | New Account With Lifecycle Hook | package.json | package first published 20 day(s) ago, 7 total version(s), has lifecycle hook | 10 |
| low | Install-time lifecycle script | package.json | postinstall="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.tsdevtsc --watchlinteslint src/**/*.tspostinstallnode -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-reciperecipe:signnode dist/author-cli.js sign-reciperecipe:validatenode dist/author-cli.js validate-recipetestvitesttest:civitest runtypechecktsc --noEmit
Dependencies3
@awi-protocol/types0.3.0cheerio^1.0.0-rc.12playwright^1.44.0
Optional dependencies1
node-llama-cpp^3.0.0