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 promotingMixed 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"}'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
Status history (1 event)
- new → available · risk review · score 10 · status changed
Evidence
Static findings
2 static · 0 from release diff · showing high-signal first.
| Severity | Kind | Path | Detail | Points |
|---|---|---|---|---|
| high | Install Lifecycle Remote Or Exec | package.json | 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 */}}\"" | 30 |
Show all 2 findings (low-signal and informational)
| Severity | Kind | Path | Detail | Points |
|---|---|---|---|---|
| high | Install Lifecycle Remote Or Exec | package.json | 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 */}}\"" | 30 |
| low | Install-time lifecycle script | package.json | 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 */}}\"" | 5 |
Manifest
Package metadata
Scripts12
buildtsc -p tsconfig.jsonlinteslint src/ --ext .tspostinstallnode -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-scripttestnpm run test:js && npm run test:packagetest:coveragec8 --reporter=text --reporter=html --reporter=lcov npm run test:unittest:coverage:checkc8 --reporter=text-summary --lines 80 --functions 78 --branches 70 npm run test:unittest:fastcross-env TS_NODE_TRANSPILE_ONLY=true "TS_NODE_COMPILER_OPTIONS={\"module\":\"commonjs\"}" mocha --config test/.mocharc.yml --parallel --jobs 6 --exittest:jsTS_NODE_TRANSPILE_ONLY=true TS_NODE_COMPILER_OPTIONS='{"module":"commonjs"}' mocha --config test/.mocharc.ymltest:packagemocha test/package.js --exittest:unitcross-env TS_NODE_TRANSPILE_ONLY=true "TS_NODE_COMPILER_OPTIONS={\"module\":\"commonjs\"}" mocha --config test/.mocharc.ymlwatchtsc -p tsconfig.json --watch
Dependencies7
@aracna/core^1.4.4@aracna/fcm^1.0.32@iobroker/adapter-core^3.3.2axios^1.16.1axios-cookiejar-support^7.0.0mqtt^5.15.1tough-cookie^6.0.1