Scan Report
55 /100
dex-arbitrage
DEX搬砖套利助手 — DEX arbitrage assistant for finding cross-DEX price differences, calculating profits, and generating flash loan strategies
Undeclared payment/billing system with hardcoded API key exposes credential; SKILL.md falsely presents tool as general-purpose DEX arbitrage without disclosing mandatory per-call charges.
Use with caution
Remove hardcoded API key from source code (use environment variable instead); add explicit payment/billing disclosure to SKILL.md; audit data flows to skillpay.me endpoint.
Findings 4 items
| Severity | Finding | Location |
|---|---|---|
| High | Undeclared mandatory payment/billing system Doc Mismatch | payment.py:1 |
| High | Hardcoded API key exposed in source code Credential Theft | payment.py:12 |
| Medium | Missing allowed-tools declaration Doc Mismatch | SKILL.md:1 |
| Low | User ID transmitted to external endpoint Data Exfil | payment.py:99 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Filesystem | NONE | NONE | — | No file writes in code; scripts are generators/calculators only |
| Network | NONE | READ | ✗ Violation | payment.py:27-30 sends POST to skillpay.me; price_monitor.py:43-49 fetches DEX p… |
| Shell | NONE | NONE | — | No subprocess/shell execution found |
| Environment | NONE | READ | ✗ Violation | payment.py:99 reads SKILLPAY_USER_ID from os.environ without declaration |
1 High 51 findings
High API Key 疑似硬编码凭证
API_KEY = "sk_f03aa8f8bbcf79f7aa11c112d904780f22e62add1464e3c41a79600a451eb1d2" payment.py:12 Medium External URL 外部 URL
https://skillpay.me payment.py:11 Medium External URL 外部 URL
https://dexscreener.com/ references/arbitrage-tools.md:7 Medium External URL 外部 URL
https://www.coingecko.com/ references/arbitrage-tools.md:25 Medium External URL 外部 URL
https://api.coingecko.com/api/v3/simple/price?ids= references/arbitrage-tools.md:32 Medium External URL 外部 URL
https://portal.1inch.dev/ references/arbitrage-tools.md:47 Medium External URL 外部 URL
https://api.1inch.dev/swap/v5.2/1/quote? references/arbitrage-tools.md:58 Medium External URL 外部 URL
https://eth.llamarpc.com references/arbitrage-tools.md:99 Medium External URL 外部 URL
https://api.0x.org/swap/v1/quote? references/arbitrage-tools.md:144 Medium External URL 外部 URL
https://li.quest/v1/quote references/arbitrage-tools.md:163 Medium External URL 外部 URL
https://socket.tech/ references/arbitrage-tools.md:177 Medium External URL 外部 URL
https://across.to/ references/arbitrage-tools.md:186 Medium External URL 外部 URL
https://protect.flashbots.net/ references/arbitrage-tools.md:215 Medium External URL 外部 URL
https://rpc.flashbots.net references/arbitrage-tools.md:225 Medium External URL 外部 URL
https://www.edennetwork.io/ references/arbitrage-tools.md:230 Medium External URL 外部 URL
https://api.edennetwork.io/v1/rpc references/arbitrage-tools.md:234 Medium External URL 外部 URL
https://cowswap.exchange/ references/arbitrage-tools.md:244 Medium External URL 外部 URL
https://dune.com/ references/arbitrage-tools.md:271 Medium External URL 外部 URL
https://eigenphi.io/ references/arbitrage-tools.md:285 Medium External URL 外部 URL
https://explorer.flashbots.net/ references/arbitrage-tools.md:294 Medium External URL 外部 URL
https://tenderly.co/ references/arbitrage-tools.md:303 Medium External URL 外部 URL
https://book.getfoundry.sh/ references/arbitrage-tools.md:328 Medium External URL 外部 URL
https://hardhat.org/ references/arbitrage-tools.md:353 Medium External URL 外部 URL
https://zapper.fi/ references/arbitrage-tools.md:388 Medium External URL 外部 URL
https://debank.com/ references/arbitrage-tools.md:397 Medium External URL 外部 URL
https://www.alchemy.com/ references/arbitrage-tools.md:409 Medium External URL 外部 URL
https://infura.io/ references/arbitrage-tools.md:414 Medium External URL 外部 URL
https://www.quicknode.com/ references/arbitrage-tools.md:419 Medium External URL 外部 URL
https://rpc.ankr.com/eth references/arbitrage-tools.md:428 Medium External URL 外部 URL
https://ethereum.publicnode.com references/arbitrage-tools.md:429 Medium External URL 外部 URL
https://arb1.arbitrum.io/rpc references/arbitrage-tools.md:432 Medium External URL 外部 URL
https://arbitrum.llamarpc.com references/arbitrage-tools.md:433 Medium External URL 外部 URL
https://chainlist.org/ references/arbitrage-tools.md:436 Medium External URL 外部 URL
https://docs.uniswap.org/ references/arbitrage-tools.md:443 Medium External URL 外部 URL
https://docs.flashbots.net/ references/arbitrage-tools.md:444 Medium External URL 外部 URL
https://docs.ethers.org/ references/arbitrage-tools.md:445 Medium External URL 外部 URL
https://explore.flashbots.net/ references/arbitrage-tools.md:455 Medium External URL 外部 URL
https://writings.flashbots.net/ references/arbitrage-tools.md:457 Medium External URL 外部 URL
https://relay.flashbots.net references/mev-protection.md:100 Medium External URL 外部 URL
https://protect.flashbots.net/v1/rpc references/mev-protection.md:218 Medium External URL 外部 URL
https://rpc.mevblocker.io references/mev-protection.md:242 Medium External URL 外部 URL
https://cowswap.exchange references/mev-protection.md:255 Medium Wallet Address 加密货币钱包地址
0x2f39d218133AFaB8F2B819B1066c7E434Ad94E9e scripts/flashloan_generator.py:430 Medium Wallet Address 加密货币钱包地址
0xE592427A0AEce92De3Edee1F18E0157C05861564 scripts/flashloan_generator.py:431 Medium Wallet Address 加密货币钱包地址
0xd9e1cE17f2641f24aE83637ab66a2cca9C378B9F scripts/flashloan_generator.py:432 Medium Wallet Address 加密货币钱包地址
0xBA12222222228d8Ba445958a75a0704d566BF2C8 scripts/flashloan_generator.py:433 Medium Wallet Address 加密货币钱包地址
0xa97684ead0e402dC232d5A977953DF7ECBaB3CDb scripts/flashloan_generator.py:436 Medium Wallet Address 加密货币钱包地址
0x1b02dA8Cb0d097eB8D57A175b88c7D8b47997506 scripts/flashloan_generator.py:438 Medium External URL 外部 URL
https://api.thegraph.com/subgraphs/name/uniswap/uniswap-v3 scripts/price_monitor.py:43 Medium External URL 外部 URL
https://api.thegraph.com/subgraphs/name/sushiswap/exchange scripts/price_monitor.py:46 Medium External URL 外部 URL
https://api.curve.fi/api/getPools scripts/price_monitor.py:49 File Tree
11 files · 86.3 KB · 3911 lines Markdown 6f · 2517L
Python 4f · 1375L
JSON 1f · 19L
├─
▾
references
│ ├─
arbitrage-basics.md
Markdown
│ ├─
arbitrage-tools.md
Markdown
│ ├─
bridge-guide.md
Markdown
│ ├─
flashloan-arbitrage.md
Markdown
│ └─
mev-protection.md
Markdown
├─
▾
scripts
│ ├─
arbitrage_calculator.py
Python
│ ├─
flashloan_generator.py
Python
│ └─
price_monitor.py
Python
├─
_meta.json
JSON
├─
payment.py
Python
└─
SKILL.md
Markdown
Security Positives
✓ No reverse shell, C2 infrastructure, or remote code execution patterns found
✓ Python scripts are calculation/generation utilities — no direct wallet draining code
✓ flashloan_generator.py generates Solidity contract templates, not malicious contracts
✓ No base64 obfuscation, eval chains, or anti-analysis techniques detected
✓ No access to ~/.ssh, ~/.aws, .env, or other sensitive filesystem paths
✓ No cron/persistence mechanisms or startup hooks present
✓ DEX price APIs (CoinGecko, 1inch, The Graph) are legitimate and relevant to stated purpose