x402-compute
Legitimate GPU/cloud compute provisioning skill with proper local-only private key handling; the curl|sh for node CLI installation is a documented risk inherent to the product but no malicious behavior detected.
为什么得出这个结论
1/4 个维度触发声明资源与推断能力基本一致。
提取到 2 个高危 IOC 或外联信号。
没有形成明确的恶意路径。
发现 6 项需要关注的依赖或供应链线索。
风险分是怎么被拉高的
SKILL.md line 483 documents `curl -sSf https://grid.x402compute.cc/install.sh | sh` for node operator CLI install; dangerous but intentional
requirements.txt uses >= constraints without upper bounds; standard reputable packages (eth-account, web3, requests, solders)
wallet_signing.py and ows_cli.py invoke OWS binary via subprocess; documented in SKILL.md as intended behavior
最关键的证据
Dependency versions not pinned
requirements.txt uses >= constraints without upper bounds (e.g., eth-account>=0.8.0, web3>=6.0.0). This allows pulling newer major versions with potentially different behavior.
requirements.txt:1 Credentials written to local filesystem
get_one_time_password.py writes one-time SSH credentials to .compute_password_{instance_id} files. While properly permissioned (mode 600), these persist on disk and could be accessed if the system is compromised.
scripts/get_one_time_password.py:64 curl|sh remote script execution documented
SKILL.md documents `curl -sSf https://grid.x402compute.cc/install.sh | sh` for installing the sgl node CLI. This is a documented feature for node operators but remains an inherently dangerous pattern.
SKILL.md:483 声明能力 vs 实际能力
allowed-tools: Read allowed-tools: Write; get_one_time_password.py:64 writes .compute_password_ files allowed-tools: WebFetch; all HTTP requests are to compute.x402layer.cc / grid.x402compute.cc allowed-tools: Bash; wallet_signing.py:112, ows_cli.py:47 invoke subprocess PRIVATE_KEY, SOLANA_SECRET_KEY, COMPUTE_API_KEY read from os.environ; documented in SKILL.md metadata No skill invocation observed No clipboard access No browser usage No database access 可疑产物与外联
curl -sSf https://grid.x402compute.cc/install.sh | sh SKILL.md:483
1.2.3.4 references/api-reference.md:233
https://docs.x402layer.cc/agentic-access/x402-compute SKILL.md:22
https://cloud.x402compute.cc SKILL.md:26
https://compute.x402layer.cc SKILL.md:71
https://grid.x402compute.cc SKILL.md:73
https://staking.x402layer.cc SKILL.md:84
https://compute.x402layer.cc/compute/provision SKILL.md:224
https://compute.x402layer.cc/compute/instances/ SKILL.md:268
https://compute.x402layer.cc/compute/credits/topup SKILL.md:315
https://compute.x402layer.cc/compute/credits/balance SKILL.md:322
0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168 SKILL.md:363
依赖与供应链
| 包名 | 版本 | 来源 | 漏洞 | 备注 |
|---|---|---|---|---|
| eth-account | >=0.8.0 | pip | 否 | Version not pinned |
| web3 | >=6.0.0 | pip | 否 | Version not pinned |
| requests | >=2.28.0 | pip | 否 | Version not pinned |
| python-dotenv | >=1.0.0 | pip | 否 | Version not pinned |
| solders | >=0.20.0 | pip | 否 | Version not pinned |
| @open-wallet-standard/core | 0.5.0 | npm | 否 | Pinned in ows_cli.py |
文件构成
scripts/get_one_time_password.py SKILL.md scripts/wallet_signing.py references/api-reference.md scripts/solana_signing.py references/node-operator.md skill-card.md