PkgRadar

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 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"}'
Publisherharbu
Artifact bytes1,293,426
Previous version35.0.4
Published2022-06-20T09:07:11.390Z
SHA-256a57083addaca37d8934550ccf6317a9eec5797ab11aa3e9848f2ec34f4c9b8f0

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

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

Evidence

Static findings

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

SeverityKindPathDetailPoints
highJs Decode Then Execpackage/dist/streamr-network.jsbase64 / atob / fromCharCode decode paired with eval / new Function in the same file — canonical obfuscated-loader pattern.45

Manifest

Package metadata

Scripts23
  • buildnpm run prepare
  • build-browserwebpack --mode=development --progress
  • checktsc -p ./tsconfig.json --noEmit
  • cleanjest --clearCache || true; rm -rf dist *.tsbuildinfo node_modules/.cache || true
  • coveragejest --coverage
  • eslinteslint --cache --cache-location=node_modules/.cache/.eslintcache/ '*/**/*.{js,ts}'
  • networknode $NODE_DEBUG_OPTION bin/network.js
  • preparetsc -b tsconfig.node.json
  • prepublishOnlynpm run clean && NODE_ENV=production tsc -b tsconfig.node.json && NODE_ENV=production webpack --mode=production
  • pubnode $NODE_DEBUG_OPTION bin/publisher.js
  • pub-1node $NODE_DEBUG_OPTION bin/publisher.js --port=30323
  • pub-2node $NODE_DEBUG_OPTION bin/publisher.js --port=30333
  • subnode $NODE_DEBUG_OPTION bin/subscriber.js
  • sub-1node $NODE_DEBUG_OPTION bin/subscriber.js --port=30335
  • sub-2node $NODE_DEBUG_OPTION bin/subscriber.js --port=30345
  • testjest
  • test-browsernpm run build-browser && karma start karma.config.js
  • test-flakeyjest test/flakey
  • test-integrationjest test/integration/
  • test-simulatorjest --projects simulator.jest.config.js -- test/
  • test-typesnpm run check
  • test-unitjest test/unit
  • trackernode $NODE_DEBUG_OPTION bin/tracker.js
Dependencies22
  • @types/compression^1.7.2
  • @types/morgan^1.9.3
  • ajv^8.8.2
  • cancelable-promise^3.2.3
  • commander^8.3.0
  • compression^1.7.4
  • cors^2.8.5
  • express^4.17.1
  • geoip-lite^1.4.2
  • heap^0.2.6
  • ipaddr.js^2.0.1
  • lodash^4.17.21
  • morgan^1.10.0
  • node-datachannel^0.3.4
  • pino^6.11.3
  • setimmediate^1.0.5
  • streamr-client-protocol^12.0.0
  • strict-event-emitter-types^2.0.0
  • uuid^8.3.2
  • websocket^1.0.34
  • ws^7.5.0
  • yallist^4.0.0
Optional dependencies3
  • bufferutil^4.0.5
  • pino-pretty^5.0.2
  • utf-8-validate^5.0.7