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":["@xspswap/[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":["@xspswap/[email protected]"],"fail_on":"review"}'Why flagged
What the scanner saw
Remote Payload: matched "raw.githubusercontent.com"
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 24 · status changed
Evidence
Static findings
2 static · 0 from release diff · showing high-signal first.
| Severity | Kind | Path | Detail | Points |
|---|---|---|---|---|
| medium | Remote Payload | package/build/main/util/unsupported-tokens.js | matched "raw.githubusercontent.com" | 12 |
| medium | Remote Payload | package/build/module/util/unsupported-tokens.js | matched "raw.githubusercontent.com" | 12 |
Manifest
Package metadata
Scripts18
buildrun-p compile-v3-types compile-v2-types compile-router compile-external-types && run-p build:*build:maintsc -p tsconfig.jsonbuild:moduletsc -p tsconfig.module.jsoncheck-cgo-usdc./bin/cli quote --tokenIn 0x8f9920283470F52128bF11B0c14E798bE704fD15 --tokenOut 0xfA2958CB79b0491CC627c1557F441eF849Ca8eb1 --amount 10 --exactIn --minSplits 1 --distributionPercent 5 --maxSplits 5 --maxSwapsPerPath 5 --protocols uni-v3,v3,v2,fathom,mixed --router alpha --chainId 50check-srx-usdc./bin/cli quote --tokenIn 0x5D5f074837f5d4618B3916ba74De1Bf9662a3fEd --tokenOut 0xfA2958CB79b0491CC627c1557F441eF849Ca8eb1 --amount 1000 --exactIn --minSplits 1 --distributionPercent 5 --maxSplits 5 --maxSwapsPerPath 5 --protocols uni-v3,v3,v2,fathom,mixed --router alpha --chainId 50check-usdc-gama./bin/cli quote --tokenIn 0xfA2958CB79b0491CC627c1557F441eF849Ca8eb1 --tokenOut 0x3a170C7C987F55C84f28733Bfa27962D8CdD5D3B --amount 1000 --exactIn --minSplits 1 --distributionPercent 5 --maxSplits 5 --maxSwapsPerPath 5 --protocols uni-v3,v3,v2,fathom,mixed --router alpha --chainId 50compile-external-typesnpx typechain --target ethers-v5 --out-dir src/types/other 'src/abis/**/*.json'compile-narwhalnpx typechain --target ethers-v5 --out-dir src/types/other './node_modules/@uniswap/narwhal/artifacts/contracts/**/*.json'compile-routernpx typechain --target ethers-v5 --out-dir src/types/other './node_modules/@uniswap/swap-router-contracts/artifacts/contracts/**/*.json'compile-v2-typesnpx typechain --target ethers-v5 --out-dir src/types/v2 './node_modules/@uniswap/?(v2-core|v2-periphery)/build/*UniswapV2*.json'compile-v3-typesnpx typechain --target ethers-v5 --out-dir src/types/v3 './node_modules/@uniswap/?(v3-core|v3-periphery)/artifacts/contracts/**/*.json'fast-check./bin/cli quote --tokenIn 0xfA2958CB79b0491CC627c1557F441eF849Ca8eb1 --tokenOut 0x8f9920283470F52128bF11B0c14E798bE704fD15 --amount 1000 --exactIn --minSplits 1 --maxSplits 5 --maxSwapsPerPath 5 --protocols uni-v3,v3,v2,fathom,mixed --router alpha --chainId 50fixrun-s fix:*fix:linteslint src --ext .ts --fixfix:prettierprettier "src/**/*.ts" --writeinteg-testTS_NODE=true jest test/integprepare-releaserun-s cov:check doc:html version doc:publishtestjest test/unit
Dependencies20
@uniswap/default-token-list^2.0.0@uniswap/swap-router-contracts^1.3.0@uniswap/token-lists^1.0.0-beta.25@x-swap-protocol/router-sdk^1.2.10@x-swap-protocol/sdk-core^1.0.4@x-swap-protocol/universal-router-sdk^1.1.14@x-swap-protocol/v2-sdk^1.2.7@x-swap-protocol/v3-sdk^1.1.3async-retry^1.3.1await-timeout^1.1.1axios^0.21.1bunyan^1.8.15bunyan-blackhole^1.1.1ethers^5.7.2graphql^15.5.0graphql-request^3.4.0lodash^4.17.21mnemonist^0.38.3node-cache^5.1.2stats-lite^2.2.0