PkgRadar

Package evidence

[email protected]

Install Lifecycle Remote Or Exec: postinstall="node -e \"const v=parseInt(process.version.slice(1));if(v>=26){try{const fs=require('fs'),p='node_modules/c8/node_modules/yargs/package.json';const pkg=JSON.parse(fs.readFileSync(p,'utf8'));if(pkg.type==='module'){delete pkg.type;fs.writeFileSync(p,JSON.stringify(pkg,null,2));console.log('postinstall: patched c8 yargs for Node v26+ CJS compat');}}catch(e){/* c8 not installed yet */}}\""

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
38
First published
May 2026
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

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"}'
Artifact bytes309,677
Previous version1.1.0
Published2026-06-03T11:04:44.337Z
SHA-256eb8180e3c66dec0880484e77552322795046fb4415ae33021f13c0ab15eab47d

Why flagged

What the scanner saw

Install Lifecycle Remote Or Exec: postinstall="node -e \"const v=parseInt(process.version.slice(1));if(v>=26){try{const fs=require('fs'),p='node_modules/c8/node_modules/yargs/package.json';const pkg=JSON.parse(fs.readFileSync(p,'utf8'));if(pkg.type==='module'){delete pkg.type;fs.writeFileSync(p,JSON.stringify(pkg,null,2));console.log('postinstall: patched c8 yargs for Node v26+ CJS compat');}}catch(e){/* c8 not installed yet */}}\""

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

Availability ledger

available

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

Evidence

Static findings

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

SeverityKindPathDetailPoints
highInstall Lifecycle Remote Or Execpackage.jsonpostinstall="node -e \"const v=parseInt(process.version.slice(1));if(v>=26){try{const fs=require('fs'),p='node_modules/c8/node_modules/yargs/package.json';const pkg=JSON.parse(fs.readFileSync(p,'utf8'));if(pkg.type==='module'){delete pkg.type;fs.writeFileSync(p,JSON.stringify(pkg,null,2));console.log('postinstall: patched c8 yargs for Node v26+ CJS compat');}}catch(e){/* c8 not installed yet */}}\""30
Show all 2 findings (low-signal and informational)
SeverityKindPathDetailPoints
highInstall Lifecycle Remote Or Execpackage.jsonpostinstall="node -e \"const v=parseInt(process.version.slice(1));if(v>=26){try{const fs=require('fs'),p='node_modules/c8/node_modules/yargs/package.json';const pkg=JSON.parse(fs.readFileSync(p,'utf8'));if(pkg.type==='module'){delete pkg.type;fs.writeFileSync(p,JSON.stringify(pkg,null,2));console.log('postinstall: patched c8 yargs for Node v26+ CJS compat');}}catch(e){/* c8 not installed yet */}}\""30
lowInstall-time lifecycle scriptpackage.jsonpostinstall="node -e \"const v=parseInt(process.version.slice(1));if(v>=26){try{const fs=require('fs'),p='node_modules/c8/node_modules/yargs/package.json';const pkg=JSON.parse(fs.readFileSync(p,'utf8'));if(pkg.type==='module'){delete pkg.type;fs.writeFileSync(p,JSON.stringify(pkg,null,2));console.log('postinstall: patched c8 yargs for Node v26+ CJS compat');}}catch(e){/* c8 not installed yet */}}\""5

Manifest

Package metadata

Scripts12
  • buildtsc -p tsconfig.json
  • linteslint src/ --ext .ts
  • postinstallnode -e "const v=parseInt(process.version.slice(1));if(v>=26){try{const fs=require('fs'),p='node_modules/c8/node_modules/yargs/package.json';const pkg=JSON.parse(fs.readFileSync(p,'utf8'));if(pkg.type==='module'){delete pkg.type;fs.writeFileSync(p,JSON.stringify(pkg,null,2));console.log('postinstall: patched c8 yargs for Node v26+ CJS compat');}}catch(e){/* c8 not installed yet */}}"
  • releaserelease-script
  • testnpm run test:js && npm run test:package
  • test:coveragec8 --reporter=text --reporter=html --reporter=lcov npm run test:unit
  • test:coverage:checkc8 --reporter=text-summary --lines 80 --functions 78 --branches 70 npm run test:unit
  • test:fastcross-env TS_NODE_TRANSPILE_ONLY=true "TS_NODE_COMPILER_OPTIONS={\"module\":\"commonjs\"}" mocha --config test/.mocharc.yml --parallel --jobs 6 --exit
  • test:jsTS_NODE_TRANSPILE_ONLY=true TS_NODE_COMPILER_OPTIONS='{"module":"commonjs"}' mocha --config test/.mocharc.yml
  • test:packagemocha test/package.js --exit
  • test:unitcross-env TS_NODE_TRANSPILE_ONLY=true "TS_NODE_COMPILER_OPTIONS={\"module\":\"commonjs\"}" mocha --config test/.mocharc.yml
  • watchtsc -p tsconfig.json --watch
Dependencies7
  • @aracna/core^1.4.4
  • @aracna/fcm^1.0.32
  • @iobroker/adapter-core^3.3.2
  • axios^1.16.1
  • axios-cookiejar-support^7.0.0
  • mqtt^5.15.1
  • tough-cookie^6.0.1