← 返回 Skills 市场
shanemort1982

x402 Lotto

作者 shanemort1982 · GitHub ↗ · v1.0.3 · MIT-0
cross-platform ⚠ suspicious
130
总下载
0
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install x402-lotto
功能描述
Access lottery data and services via x402 payment protocol, including listing lotteries, fetching jackpots, purchasing tickets, and checking results.
安全使用建议
Do not install or run this skill until its source and dependencies are verified. Specific concerns: SKILL.md expects process.env.KEY (likely a private wallet key) but the skill metadata does not declare this — supplying your private key could expose funds. The instructions import '@x402/evm' and call an external domain (x402.lotto) but there is no install spec or code provenance; that could cause you or an agent to fetch and run untrusted code. Before proceeding, ask the publisher for: (1) source repository or package manifest, (2) an explicit list of required env vars (and why), (3) an install script or official package location, and (4) documentation about what data is sent to x402.lotto. If you must test now, use an isolated environment and a throwaway wallet with minimal funds, and do not place real private keys in global environment variables for unverified skills.
功能分析
Type: OpenClaw Skill Name: x402-lotto Version: 1.0.3 The SKILL.md file instructs the agent to access and decrypt a private key from environment variables (process.env.KEY) to facilitate payments via the x402 protocol. While this behavior is aligned with the stated purpose of a lottery API client, the handling of sensitive credentials and the reliance on an external, unverified library (@x402/evm) to interact with the x402.lotto domain represent high-risk patterns. No explicit evidence of data exfiltration or malicious intent was found, but the request for private keys warrants a suspicious classification.
能力评估
Purpose & Capability
The stated purpose (lottery actions over the x402 payment protocol) matches the SKILL.md endpoints and example usage. Requiring a wallet key for purchases is plausible. However, the skill references an npm package (@x402/evm) and runtime behavior that are not represented in the registry metadata or install spec, which reduces coherence.
Instruction Scope
SKILL.md's runtime example calls decryptKey(process.env.KEY) and wrapFetchWithPayment(wallet) and performs fetches to https://x402.lotto — it therefore expects access to a private key (KEY env var) and will contact external endpoints. The skill does not declare or explain the KEY env var, how keys are protected, or what network calls will transmit. Instructions give the agent direct guidance to use a sensitive env var and reach out to an external service, which is a scope and data-exposure concern.
Install Mechanism
This is instruction-only with no install spec or code files, yet the example imports '@x402/evm' and suggests 'clawhub install x402-lotto'. There is no package provenance, no declared dependency list, and no authoritative install source. That ambiguity makes installation and runtime behavior unclear and increases risk if an agent or user attempts to fetch unknown packages to satisfy the example.
Credentials
The example explicitly uses process.env.KEY (a likely private key) but the registry lists no required env vars or primary credential. Requiring an undeclared sensitive credential is disproportionate and risky: users may not realize they must supply a private key, and the skill gives no guidance about key handling, scoping, or using a limited/ephemeral wallet.
Persistence & Privilege
The skill does not request persistent or elevated privileges (always is false, no config paths, no binaries). Autonomous invocation is allowed by default but is not combined with other escalations here.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install x402-lotto
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /x402-lotto 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.3
Republish
v1.0.2
Minimal technical docs only
v1.0.1
Cleaned up content to resolve security flag
v1.0.0
Initial release - AI agent skill for x402.lotto with affiliate program support
元数据
Slug x402-lotto
版本 1.0.3
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 4
常见问题

x402 Lotto 是什么?

Access lottery data and services via x402 payment protocol, including listing lotteries, fetching jackpots, purchasing tickets, and checking results. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 130 次。

如何安装 x402 Lotto?

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

x402 Lotto 是免费的吗?

是的,x402 Lotto 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

x402 Lotto 支持哪些平台?

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

谁开发了 x402 Lotto?

由 shanemort1982(@shanemort1982)开发并维护,当前版本 v1.0.3。

💬 留言讨论