📦

監査履歴

okx-agent-payments-protocol - 1 監査

2026年8月20日 08:36

Most static alerts are Markdown syntax, fixed documentation links, or protocol literals rather than executable threats. Confirmed risks include local private-key access and unattended installer execution. Critical semantic review found an A2A payment path that signs seller-controlled terms without buyer confirmation.

10
スキャンされたファイル
1,437
解析済み行数
17
レビュー項目
0
誤検知を無視

確認済みのセキュリティ上の懸念 (7)

重大
A2A Payment Signs Without Buyer Confirmation
The buyer path fetches seller-controlled terms and signs them immediately without previewing amount, token, or recipient for confirmation.
The reference explicitly states that there is no preview or yes-no gate and that the server challenge is signed as-is.
高
Environment file access
Reads `EVM_PRIVATE_KEY` (env var or `~/.onchainos/.env`), derives the payer, generates the nonce, co
The fallback reads EVM_PRIVATE_KEY from the environment or a hidden file and uses it for local transaction signing.
高
Crypto seed/private key mention
- **Not logged in (`accepts`-based path)** → ask the user to choose between (1) wallet login (TEE si
The workflow offers local private-key signing after login failure, exposing a high-value credential to a host process and local configuration.
高
Dynamic Preflight Can Install and Update Executables
Preflight updates the binary and skill checkout, obeys dynamic action text, and runs a remote README installer without explicit approval.
The documented workflow requires automatic updates and installation, while instructing the agent to do exactly what data.action says.
高
Arbitrary Endpoint Probing Enables SSRF
The quote workflow probes a supplied URL without requiring HTTPS or rejecting loopback, private, link-local, or metadata destinations.
The skill passes a user-provided URL to a network-probing command and documents no destination validation.
高
Seller Price Changes Can Trigger New Voucher Signatures
A seller may change the unit price between requests, and the workflow signs a higher cumulative voucher without a new price confirmation.
The current seller challenge is authoritative, and the sign branch raises the cumulative authorization without a user gate.
高
User Values Enter Shell Commands Without Quoting
User-controlled payment-link fields are inserted into a shell command as placeholders without a required structured invocation or escaping policy.
The skill explicitly says to shell out and includes user-controlled description, realm, and recipient values in the command template.
機能レビュー項目 (5)

これらは、このスキルに期待される可能性のある実際のローカル機能であるため、レビューが必要ですが、確認済みの悪意ある動作としてはカウントされません。

高
PowerShell invocation
- **The `onchainos preflight` command above errored with "command not found"** (onchainos not instal
The fallback executes an OS-specific installer from a remote README without separate approval, creating supply-chain and command-execution risk.
高
Hidden file in home directory
Reads `EVM_PRIVATE_KEY` (env var or `~/.onchainos/.env`), derives the payer, generates the nonce, co
The fallback reads EVM_PRIVATE_KEY from the environment or a hidden file and uses it for local transaction signing.
高
Hidden file access
Reads `EVM_PRIVATE_KEY` (env var or `~/.onchainos/.env`), derives the payer, generates the nonce, co
The fallback reads EVM_PRIVATE_KEY from the environment or a hidden file and uses it for local transaction signing.
高
Generic API/secret keys
Reads `EVM_PRIVATE_KEY` (env var or `~/.onchainos/.env`), derives the payer, generates the nonce, co
The fallback reads EVM_PRIVATE_KEY from the environment or a hidden file and uses it for local transaction signing.
高
Generic API/secret keys
- Local-key fallback signs entirely on the host — treat `EVM_PRIVATE_KEY` as a credential (`chmod 60
This path relies on a host-resident EVM_PRIVATE_KEY for local signing; restrictive permissions do not remove credential exposure risk.
監査者: codex