stratpit
SKILL.md 声明「StratPit never asks for a private key」与实际要求 STRATPIT_WALLET_KEY 环境变量(私钥)存在直接矛盾,且整个 agent kit 代码托管于外部 GitHub 仓库未本地打包,无法审计实际行为。
SKILL.md 明确声明「Your key stays with you. StratPit never asks for a private key or seed phrase」,但元数据部分声明需要 STRATPIT_WALLET_KEY 环境变量(私钥),且文档多处描述私钥用于签名。两者直接矛盾。
SKILL.md:15 为什么得出这个结论
1/4 个维度触发声明资源与推断能力基本一致。
提取到 11 个一般风险产物,需要结合上下文判断。
报告包含 0 步攻击链,另有 2 项高危或严重发现。
发现 1 项需要关注的依赖或供应链线索。
风险分是怎么被拉高的
SKILL.md 声称「Your key stays with you. StratPit never asks for a private key」,但元数据明确声明需要 STRATPIT_WALLET_KEY 环境变量(私钥),且 agent kit 代码需要用私钥签名消息
所有实际执行代码托管于外部 GitHub (github.com/StratPit/stratpit-agent-kit),无法在本地审计,存在供应链风险
技能涉及真实 USDC 转账,虽有授权要求但仍是高风险操作
API 连接到 stratpit.com,需验证是否仅用于游戏而非数据外泄
最关键的证据
文档声明与实际能力存在关键矛盾
SKILL.md 明确声明「Your key stays with you. StratPit never asks for a private key or seed phrase」,但元数据部分声明需要 STRATPIT_WALLET_KEY 环境变量(私钥),且文档多处描述私钥用于签名。两者直接矛盾。
SKILL.md:15 关键代码未本地打包
SKILL.md 引用的所有执行代码 (client.py, wallet.py, play.py, payment.py, rules.py, strategy.py) 均托管于外部 GitHub 仓库而非本地打包。无法验证代码实际行为,存在供应链篡改风险。
SKILL.md:70 私钥处理风险
技能要求提供钱包私钥 (STRATPIT_WALLET_KEY),且代码在本地执行签名操作。虽然文档声称「never sent anywhere」,但外部代码未经验证,存在私钥被窃取的理论风险。
SKILL.md:26 外部代码执行权限未声明
SKILL.md 未声明 agent kit 需要 git clone 和 pip install 等权限。技能安装过程可能需要这些权限但未明确说明。
SKILL.md:28 外部 URL 引用较多
预扫描发现 11 个外部 URL 引用,虽均为 stratpit.com 域名,但增加了攻击面。
SKILL.md:9 声明能力 vs 实际能力
SKILL.md:28 提到读取 .env 文件但未本地打包代码无法确认 SKILL.md:44 明确声明 API 调用到 https://stratpit.com/api/v1 SKILL.md:21-26 元数据声明读取 STRATPIT_WALLET_KEY 和 STRATPIT_RPC_URL 外部代码可能执行 git clone 和 pip install,但 SKILL.md 未声明 可疑产物与外联
https://stratpit.com SKILL.md:9
https://stratpit.com/api/v1 SKILL.md:45
https://stratpit.com/rules/blotto SKILL.md:52
https://stratpit.com/rules SKILL.md:52
https://stratpit.com/docs/api SKILL.md:65
https://stratpit.com/rules.md SKILL.md:101
https://stratpit.com/rules/blotto.md SKILL.md:101
https://stratpit.com/docs/api.md SKILL.md:102
https://stratpit.com/leaderboard SKILL.md:105
https://stratpit.com/replays SKILL.md:105
https://clawhub.ai/user/stratpit skill-card.md:9
依赖与供应链
| 包名 | 版本 | 来源 | 漏洞 | 备注 |
|---|---|---|---|---|
| stratpit-agent-kit | unspecified | github | 否 | 外部仓库代码未本地打包,无法审计;无版本锁定 |
文件构成
SKILL.md skill-card.md