Package evidence
[email protected]
Js Decode Then Exec: base64 / atob / fromCharCode decode paired with eval / new Function in the same file — canonical obfuscated-loader pattern.
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
- 220Mature · −50% score
- First published
- Oct 2019
- Publisher
- harbu
Effective trust discount applied: −50% (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
Js Decode Then Exec: base64 / atob / fromCharCode decode paired with eval / new Function in the same file — canonical obfuscated-loader pattern.
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 13 · status changed
Evidence
Static findings
1 static · 0 from release diff · showing high-signal first.
| Severity | Kind | Path | Detail | Points |
|---|---|---|---|---|
| high | Js Decode Then Exec | package/dist/streamr-network.js | base64 / atob / fromCharCode decode paired with eval / new Function in the same file — canonical obfuscated-loader pattern. | 45 |
Manifest
Package metadata
Scripts23
buildnpm run preparebuild-browserwebpack --mode=development --progresschecktsc -p ./tsconfig.json --noEmitcleanjest --clearCache || true; rm -rf dist *.tsbuildinfo node_modules/.cache || truecoveragejest --coverageeslinteslint --cache --cache-location=node_modules/.cache/.eslintcache/ '*/**/*.{js,ts}'networknode $NODE_DEBUG_OPTION bin/network.jspreparetsc -b tsconfig.node.jsonprepublishOnlynpm run clean && NODE_ENV=production tsc -b tsconfig.node.json && NODE_ENV=production webpack --mode=productionpubnode $NODE_DEBUG_OPTION bin/publisher.jspub-1node $NODE_DEBUG_OPTION bin/publisher.js --port=30323pub-2node $NODE_DEBUG_OPTION bin/publisher.js --port=30333subnode $NODE_DEBUG_OPTION bin/subscriber.jssub-1node $NODE_DEBUG_OPTION bin/subscriber.js --port=30335sub-2node $NODE_DEBUG_OPTION bin/subscriber.js --port=30345testjesttest-browsernpm run build-browser && karma start karma.config.jstest-flakeyjest test/flakeytest-integrationjest test/integration/test-simulatorjest --projects simulator.jest.config.js -- test/test-typesnpm run checktest-unitjest test/unittrackernode $NODE_DEBUG_OPTION bin/tracker.js
Dependencies22
@types/compression^1.7.2@types/morgan^1.9.3ajv^8.8.2cancelable-promise^3.2.3commander^8.3.0compression^1.7.4cors^2.8.5express^4.17.1geoip-lite^1.4.2heap^0.2.6ipaddr.js^2.0.1lodash^4.17.21morgan^1.10.0node-datachannel^0.3.4pino^6.11.3setimmediate^1.0.5streamr-client-protocol^12.0.0strict-event-emitter-types^2.0.0uuid^8.3.2websocket^1.0.34ws^7.5.0yallist^4.0.0
Optional dependencies3
bufferutil^4.0.5pino-pretty^5.0.2utf-8-validate^5.0.7