Why this conclusion was reached
2/4 dimensions flagged Pass Declared vs actual capability Declared resources and inferred behavior are broadly aligned.
Block Hidden execution and egress 1 high-risk artifacts or egress signals were extracted.
Block Attack chain and severe findings The report includes 3 attack-chain steps and 2 severe findings.
Review Dependencies and supply chain hygiene 1 dependency or supply-chain issues need attention.
Attack Chain
01 用户通过SKILL.md了解技能功能(套利助手) Entry · SKILL.md:1
02 实际执行时调用payment.py进行付费验证(影子功能) Escalation · payment.py:58
03 硬编码API Key可能泄露(如代码仓库暴露) Impact · payment.py:12
What drove the risk score up
影子功能-payments集成 +15
payment.py集成SkillPay付费系统,但SKILL.md完全未提及
硬编码API凭证 +15
payment.py:12硬编码BILLING_API_KEY='sk_f03aa8...'
无版本锁定依赖 +5
未发现requirements.txt,存在供应链风险
Most important evidence
High Doc Mismatch
影子功能未声明
payment.py包含SkillPay付费集成功能,但SKILL.md中完全未提及,属于文档-行为不符的阴影功能
payment.py:1 将payment.py的付费功能补充到SKILL.md中声明
High Credential Theft
硬编码API凭证
BILLING_API_KEY以明文形式硬编码在代码中,如果代码仓库公开将导致凭证泄露
payment.py:12 使用环境变量注入:os.environ.get('BILLING_API_KEY')
Medium Supply Chain
缺少依赖版本锁定
未发现requirements.txt或依赖锁定文件,requests等第三方库无版本控制
创建requirements.txt并锁定版本:requests==2.31.0
Declared capability vs actual capability
Network Pass
Declared NONE
→ Inferred READ
payment.py:25 发起网络请求到 skillpay.me Filesystem Pass
Declared NONE
→ Inferred NONE
无文件系统写入操作 Shell Pass
Declared NONE
→ Inferred NONE
无subprocess/shell调用
Suspicious artifacts and egress
High API Key
API_KEY = "sk_f03aa8f8bbcf79f7aa11c112d904780f22e62add1464e3c41a79600a451eb1d2" payment.py:12
Medium External URL
https://skillpay.me payment.py:11
Medium External URL
https://dexscreener.com/ references/arbitrage-tools.md:7
Medium External URL
https://www.coingecko.com/ references/arbitrage-tools.md:25
Medium External URL
https://api.coingecko.com/api/v3/simple/price?ids= references/arbitrage-tools.md:32
Medium External URL
https://portal.1inch.dev/ references/arbitrage-tools.md:47
Medium External URL
https://api.1inch.dev/swap/v5.2/1/quote? references/arbitrage-tools.md:58
Medium External URL
https://eth.llamarpc.com references/arbitrage-tools.md:99
Medium External URL
https://api.0x.org/swap/v1/quote? references/arbitrage-tools.md:144
Medium External URL
https://li.quest/v1/quote references/arbitrage-tools.md:163
Medium External URL
https://socket.tech/ references/arbitrage-tools.md:177
Medium External URL
https://across.to/ references/arbitrage-tools.md:186
Dependencies and supply chain
| Package | Version | Source | Known vuln | Notes |
| requests | * | pip | No | 无版本锁定 |
| web3 | | import in scripts | No | 代码中引用但未实际使用 |
File composition
12 files · 3958 lines Markdown 7 files · 2578 linesPython 4 files · 1375 linesJSON 1 files · 5 lines
Files of concern · 6
scripts/flashloan_generator.py Python · 545 lines
0x2f39d218133AFaB8F2B819B1066c7E434Ad94E9e · 0xE592427A0AEce92De3Edee1F18E0157C05861564 · 0xd9e1cE17f2641f24aE83637ab66a2cca9C378B9F · 0xBA12222222228d8Ba445958a75a0704d566BF2C8 · 0xa97684ead0e402dC232d5A977953DF7ECBaB3CDb · 0x1b02dA8Cb0d097eB8D57A175b88c7D8b47997506
scripts/price_monitor.py Python · 293 lines
https://api.thegraph.com/subgraphs/name/uniswap/uniswap-v3 · https://api.thegraph.com/subgraphs/name/sushiswap/exchange · https://api.curve.fi/api/getPools
references/arbitrage-tools.md Markdown · 461 lines
https://dexscreener.com/ · https://www.coingecko.com/ · https://api.coingecko.com/api/v3/simple/price?ids= · https://portal.1inch.dev/ · https://api.1inch.dev/swap/v5.2/1/quote? · https://eth.llamarpc.com · https://api.0x.org/swap/v1/quote? · https://li.quest/v1/quote · https://socket.tech/ · https://across.to/ · https://protect.flashbots.net/ · https://rpc.flashbots.net · https://www.edennetwork.io/ · https://api.edennetwork.io/v1/rpc · https://cowswap.exchange/ · https://dune.com/ · https://eigenphi.io/ · https://explorer.flashbots.net/ · https://tenderly.co/ · https://book.getfoundry.sh/ · https://hardhat.org/ · https://zapper.fi/ · https://debank.com/ · https://www.alchemy.com/ · https://infura.io/ · https://www.quicknode.com/ · https://rpc.ankr.com/eth · https://ethereum.publicnode.com · https://arb1.arbitrum.io/rpc · https://arbitrum.llamarpc.com · https://chainlist.org/ · https://docs.uniswap.org/ · https://docs.flashbots.net/ · https://docs.ethers.org/ · https://explore.flashbots.net/ · https://writings.flashbots.net/
references/mev-protection.md Markdown · 410 lines
https://relay.flashbots.net · https://protect.flashbots.net/v1/rpc · https://rpc.mevblocker.io · https://cowswap.exchange
payment.py Python · 142 lines
影子功能未声明 · 硬编码API凭证 · API_KEY = "sk_f03aa8f8bbcf79f7aa11c112d904780f22e62add1464e3c41a79600a451eb1d2" · https://skillpay.me
skill-card.md Markdown · 61 lines
https://clawhub.ai/user/shenmeng · https://clawhub.ai/shenmeng/skills/shenmeng-dex-arbitrage
Other files · arbitrage_calculator.py · SKILL.md · flashloan-arbitrage.md · bridge-guide.md · arbitrage-basics.md · _meta.json
12 files · 88.5 KB · 3958 lines
Markdown 7f · 2578LPython 4f · 1375LJSON 1f · 5L
├─
▾
📁
references
│ ├─
📝
arbitrage-basics.md
Markdown
351L · 5.0 KB
│ ├─
📝
arbitrage-tools.md
Markdown
461L · 7.2 KB
│ ├─
📝
bridge-guide.md
Markdown
323L · 5.1 KB
│ ├─
📝
flashloan-arbitrage.md
Markdown
430L · 8.8 KB
│ └─
📝
mev-protection.md
Markdown
410L · 6.9 KB
├─
▾
📁
scripts
│ ├─
🐍
arbitrage_calculator.py
Python
395L · 11.7 KB
│ ├─
🐍
flashloan_generator.py
Python
545L · 16.6 KB
│ └─
🐍
price_monitor.py
Python
293L · 9.6 KB
├─
📝
SKILL.md
Markdown
542L · 9.8 KB
├─
📋
_meta.json
JSON
5L · 145 B
├─
🐍
payment.py
Python
142L · 5.2 KB
└─
📝
skill-card.md
Markdown
61L · 2.4 KB
Security positives
核心脚本(arbitrage_calculator.py/flashloan_generator.py/price_monitor.py)功能纯粹,无恶意行为
无subprocess/shell执行,无RCE风险
无eval/Base64解码等混淆行为
网络请求仅指向合法API端点(skillpay.me, coingecko.com)
无凭证收割、环境变量遍历、敏感路径访问等高危操作