← 返回 Skills 市场
notorious-d-e-v

x402 (official examples)

作者 notorious-d-e-v · GitHub ↗ · v1.0.1
cross-platform ⚠ suspicious
1943
总下载
2
收藏
1
当前安装
3
版本数
在 OpenClaw 中安装
/install x402-enhanced
功能描述
Internet-native payments using the HTTP 402 Payment Required standard. Set up as a buyer to pay for API access, or as a seller to monetize your APIs.
安全使用建议
This skill appears to be a legitimate guide for implementing HTTP 402 blockchain payments, but it expects you to use wallet private keys and call remote facilitator services. Before using or installing: (1) do not store your primary/private keys in a general-purpose agent environment — use a test/ephemeral wallet or a secure signer (hardware or dedicated signing service); (2) verify and vet any facilitator endpoints you will contact (use only well-known, audited providers); (3) when running the example npm installs, inspect the packages and their source repos; (4) ask the publisher for a homepage/source repository and an explicit list of required env vars in the registry metadata (the current metadata omits the private-key vars shown in SKILL.md); (5) avoid pasting real private keys into agent environments or chat windows. If you need higher assurance, request provenance (source repo, maintainer identity, or a signed release) before deploying this skill in a production environment.
功能分析
Type: OpenClaw Skill Name: x402-enhanced Version: 1.0.1 The skill bundle is classified as suspicious due to its explicit instructions and code examples for handling highly sensitive cryptocurrency private keys (`EVM_PRIVATE_KEY`, `SVM_PRIVATE_KEY`) from environment variables within `SKILL.md`. While this is necessary for the stated purpose of internet-native payments, granting an AI agent direct access to and operational control over such credentials for financial transactions represents a significant inherent risk. Additionally, the skill involves making external network requests to various payment facilitators (e.g., `https://x402.org/facilitator`, `https://api.cdp.coinbase.com/platform/v2/x402`), which, while legitimate for the skill's function, adds to the overall risk profile of an autonomous agent operating with these capabilities.
能力评估
Purpose & Capability
The skill claims to implement an HTTP 402 payment protocol. The SKILL.md shows buyer and seller workflows that legitimately require wallet keys (buyers sign payments; sellers provide receive addresses) and calls to facilitator endpoints—so the requested capabilities align with the stated purpose. However, the package/registry metadata lists no required environment variables or primary credential even though the documentation explicitly tells users to set EVM_PRIVATE_KEY / SVM_PRIVATE_KEY and other env vars. That metadata omission is an inconsistency that reduces transparency.
Instruction Scope
The instruction document instructs clients to load private keys from environment variables and to contact many external facilitator URLs for payment verification/settlement. While that is functionally expected for a payments client, it explicitly handles highly sensitive secrets (private keys) and delegates verification to third parties. The SKILL.md includes runnable examples that install and import third-party npm packages and then use env-stored private keys to sign/submit payments — this means an agent following the instructions could expose private keys to the network or to libraries installed at runtime unless the user takes precautions.
Install Mechanism
There is no skill install spec and no code files (instruction-only), which is low-risk for the platform itself. The SKILL.md contains example npm install commands and imports of many @x402 and blockchain libraries; those are not executed by the platform automatically but are part of user examples. If a user copies those examples, they will pull third-party packages—verify package reputations before running.
Credentials
Using private keys (EVM_PRIVATE_KEY, SVM_PRIVATE_KEY) is necessary for a buyer client, so requesting such secrets is proportionate to the buyer role. However: (1) the registry metadata did not declare these env vars, reducing transparency; (2) buyers must give keys or signing capability to perform payments, which is high-risk if done in a shared agent environment; (3) the facilitator list contains many third-party endpoints (some unknown domains) — users must trust these endpoints not to misuse or log payment payloads. Sellers request addresses (public) which are low-risk.
Persistence & Privilege
The skill is not always-enabled, does not request elevated platform privileges, and has no install-time persistence. It does not modify other skills or system configuration. Autonomous invocation is allowed (platform default), which increases blast radius if secrets are present, but that is not unique to this skill.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install x402-enhanced
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /x402-enhanced 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
- note that an RPC is probably required if you are building a frontend for web paywalls for x402
v1.0.1
- update skill to include @x402/paywall, and a note on building react frontends with paywalls.
v1.0.0
x402 v1.0.0 - Simplified and updated documentation to align with the x402 protocol’s latest evolution and features. - Removed legacy balance check script and SDK usage samples that are no longer relevant. - Updated protocol overview to highlight both buyer (client) and seller (server) flows. - Introduced cross-chain support details, listing CAIP-2 network IDs and Solana compatibility. - Added facilitator list for flexible blockchain settlement options. - Expanded usage examples for both TypeScript and Python, showing integration with fetch, axios, and httpx. - Streamlined environment variable setup for both client and server roles.
元数据
Slug x402-enhanced
版本 1.0.1
许可证
累计安装 1
当前安装数 1
历史版本数 3
常见问题

x402 (official examples) 是什么?

Internet-native payments using the HTTP 402 Payment Required standard. Set up as a buyer to pay for API access, or as a seller to monetize your APIs. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1943 次。

如何安装 x402 (official examples)?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install x402-enhanced」即可一键安装,无需额外配置。

x402 (official examples) 是免费的吗?

是的,x402 (official examples) 完全免费(开源免费),可自由下载、安装和使用。

x402 (official examples) 支持哪些平台?

x402 (official examples) 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 x402 (official examples)?

由 notorious-d-e-v(@notorious-d-e-v)开发并维护,当前版本 v1.0.1。

💬 留言讨论