PkgRadar

Package evidence

@metamask/[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
55Established · −30% score
First published
Sep 2025
Publisher
metamaskbot

Effective trust discount applied: 30% (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":["@metamask/[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":["@metamask/[email protected]"],"fail_on":"review"}'
Publishermetamaskbot
Artifact bytes726,131
Previous version1.25.6
Published2026-05-28T13:58:21.973Z
SHA-256d9cb0b5d1b6d645174a99ce440a8f1a3512bd4002da09864bda60029f6d9c83e

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
31Score
1.25.7Version
Status history (1 event)
  1. newavailable · risk review · score 31 · status changed

Evidence

Static findings

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

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

Manifest

Package metadata

Scripts25
  • allow-scriptsyarn workspace root allow-scripts
  • buildmm-snap build && yarn build:locale && yarn build-preinstalled-snap
  • build-preinstalled-snapnode scripts/build-preinstalled-snap.js
  • build:cleanyarn clean && yarn build:locale && yarn build
  • build:devENVIRONMENT=local node scripts/update-manifest-local.js && mm-snap build && yarn build:locale
  • build:localenode ./scripts/populate-en-locale.js && prettier 'locales/**/*.json' -w
  • build:locale:watchnpx nodemon --watch packages/snap/messages.json --exec "node ./scripts/populate-en-locale.js && prettier 'locales/**/*.json' -w"
  • build:prodENVIRONMENT=production node scripts/update-manifest-local.js && mm-snap build && yarn build:locale && yarn build-preinstalled-snap
  • changelog:update../../scripts/update-changelog.sh @metamask/tron-wallet-snap
  • changelog:validate../../scripts/validate-changelog.sh @metamask/tron-wallet-snap
  • cleanrimraf dist
  • formatprettier '**/*.ts' '**/*.tsx' --write
  • lintyarn lint:eslint && yarn lint:misc && yarn lint:deps && yarn lint:types
  • lint:depsdepcheck && yarn dedupe --check
  • lint:deps:fixdepcheck && yarn dedupe
  • lint:eslinteslint . --cache --ext js,jsx,ts,tsx
  • lint:fixyarn lint:eslint --fix && yarn lint:misc --write
  • lint:miscprettier '**/*.json' '**/*.md' --check
  • lint:typestsc --noEmit
  • prepublishOnlymm-snap manifest
  • publish:previewyarn npm publish --tag preview
  • servemm-snap serve
  • startnode scripts/update-manifest-local.js && concurrently "mm-snap watch" "yarn build:locale:watch"
  • testjest && yarn jest-it-up
  • test:integration./integration-test/run-integration.sh