PkgRadar

Package evidence

@metamask-previews/[email protected]

Manifest Codeless Dependency Stub: package ships no JS/TS source but declares 7 dependency(ies) (0 with loose/empty version specs) — dependency-confusion / install-chain loader shape

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
176Mature · −50% score
First published
Sep 2024
Publisher
metamaskbot

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":["@metamask-previews/[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-previews/[email protected]"],"fail_on":"review"}'
Publishermetamaskbot
Artifact bytes10,103
Previous version8.1.0-preview-4ddfc4a
Published2024-09-03T15:49:57.862Z
SHA-2560dfd7742cbc30b7609470f21adf752b29b889ede57c4e07d44ed55872144a7b0

Why flagged

What the scanner saw

Manifest Codeless Dependency Stub: package ships no JS/TS source but declares 7 dependency(ies) (0 with loose/empty version specs) — dependency-confusion / install-chain loader shape

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

Availability ledger

available

review
Last checked
reviewRisk
7Score
8.1.0-preview-7b3e0a5Version
Status history (1 event)
  1. newavailable · risk review · score 7 · status changed

Evidence

Static findings

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

SeverityKindPathDetailPoints
mediumManifest Codeless Dependency Stubpackage.jsonpackage ships no JS/TS source but declares 7 dependency(ies) (0 with loose/empty version specs) — dependency-confusion / install-chain loader shape15

Manifest

Package metadata

Scripts14
  • buildtsc --build tsconfig.build.json
  • build:cleanrimraf dist && yarn build
  • build:docstypedoc
  • build:forcetsc --build tsconfig.build.json --force
  • changelog:update../../scripts/update-changelog.sh @metamask/keyring-api
  • changelog:validate../../scripts/validate-changelog.sh @metamask/keyring-api
  • prepack./scripts/prepack.sh
  • publish:previewyarn npm publish --tag preview
  • testyarn test:source && yarn test:types
  • test:cleanjest --clearCache
  • test:sourcejest && jest-it-up
  • test:typestsd
  • test:verbosejest --verbose
  • test:watchjest --watch
Dependencies7
  • @metamask/snaps-sdk^6.1.0
  • @metamask/superstruct^3.1.0
  • @metamask/utils^9.1.0
  • @types/uuid^9.0.8
  • bech32^2.0.0
  • deepmerge^4.2.2
  • uuid^9.0.1