PkgRadar

Package evidence

@paraswap/[email protected]

Install Lifecycle Suppresses Failure: postinstall="cd native && npm install && npm run build || true"

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
2,539Mature · −50% score
First published
Aug 2021
Publisher
danylo_kanievskyi

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

Block this update

Static evidence trips multiple high-signal indicators. Quarantine the release until the publisher validates the change or you can rule out the indicators below.

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":["@paraswap/[email protected]"],"fail_on":"high"}'

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":["@paraswap/[email protected]"],"fail_on":"high"}'
Artifact bytes1,828,304
Previous version5.0.2-native-dex-math.1
Published2026-05-28T10:40:08.200Z
SHA-2564256863745bb7fcfe404f57f76270a775f89259a1767e4022ad779e82f16a5ba

Why flagged

What the scanner saw

Install Lifecycle Suppresses Failure: postinstall="cd native && npm install && npm run build || true"

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

Availability ledger

available

high
Last checked
highRisk
12Score
5.0.2-native-dex-math.2Version
Status history (1 event)
  1. newavailable · risk high · score 12 · status changed

Evidence

Static findings

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

SeverityKindPathDetailPoints
highInstall Lifecycle Suppresses Failurepackage.jsonpostinstall="cd native && npm install && npm run build || true"20
Show all 2 findings (low-signal and informational)
SeverityKindPathDetailPoints
highInstall Lifecycle Suppresses Failurepackage.jsonpostinstall="cd native && npm install && npm run build || true"20
lowInstall-time lifecycle scriptpackage.jsonpostinstall="cd native && npm install && npm run build || true"5

Manifest

Package metadata

Scripts11
  • buildpnpm run check:pq && pnpm run check:es && tsc
  • check:eseslint "src/**/*.ts" --ignore-pattern="*.test.ts"
  • check:pqpretty-quick --staged
  • check:tsctsc
  • checkspnpm run check:pq && pnpm run check:tsc && pnpm run check:es
  • init-integrationts-node scripts/dex-integration.ts init
  • postinstallcd native && npm install && npm run build || true
  • preparehusky install && pnpm run build
  • testjest
  • test-integrationts-node scripts/dex-integration.ts test
  • watchtsc -w
Dependencies39
  • @balancer-labs/balancer-maths^0.0.36
  • @balancer-labs/sor4.1.3
  • @bgd-labs/aave-address-book4.34.1
  • @ethersproject/abi^5.7.0
  • @ethersproject/abstract-provider^5.7.0
  • @ethersproject/address^5.7.0
  • @ethersproject/bignumber^5.7.0
  • @ethersproject/bytes^5.7.0
  • @ethersproject/contracts^5.7.0
  • @ethersproject/keccak256^5.7.0
  • @ethersproject/providers^5.7.0
  • @ethersproject/solidity^5.7.0
  • @ethersproject/strings^5.7.0
  • @hashflow/sdk^2.2.7
  • @hashflow/taker-js^0.4.1
  • @paraswap/core2.4.3
  • @types/ws^8.5.12
  • async^3.2.4
  • axios0.27.2
  • bignumber.js9.1.0
  • cross-fetch^3.1.5
  • es6-promise^4.2.8
  • ethers^5.7.2
  • joi^17.7.0
  • lens.ts^0.5.1
  • lodash4.17.21
  • log4js6.6.1
  • node-cache^5.1.2
  • protobufjs^7.4.0
  • qs^6.13.0
  • …and 9 more.