← 返回 Skills 市场
openclaw-consensus-bot

x402janus

作者 openclaw-consensus-bot · GitHub ↗ · v3.0.0
cross-platform ⚠ suspicious
433
总下载
0
收藏
0
当前安装
5
版本数
在 OpenClaw 中安装
/install x402janus
功能描述
x402janus — autonomous on-chain wallet security for EVMs: scan approvals, trace fund flow, detect drainers, and build revoke transactions. Pay via x402 USDC...
安全使用建议
This skill largely does what it claims — scanning approvals and building revoke txs — but there are red flags you should address before installing or running it. What to check before installing or running: - Verify provenance: the submitted registry metadata differs from SKILL.md (required envs and binaries). Confirm the source repository/website (https://x402janus.com and the GitHub link in SKILL.md) actually match the code you received. - Do not supply your primary, full‑balance private key. For paid tiers or any run that requires PRIVATE_KEY, use a dedicated agent wallet with minimal funds and only enough USDC to pay micropayments. Prefer ephemeral or watch‑only wallets where possible. - Audit the revoke script carefully: it spawns an external 'cast' process; ensure the implementation does NOT pass your private key on the command line (ps/args exposure) or write it to logs. The source contains comments indicating this may not be fully fixed. - Review network endpoints: the code defaults to third‑party RPCs (tenderly) if BASE_RPC_URL is not set. That can leak which addresses you're interacting with to a third party. Set BASE_RPC_URL to a trusted RPC or your own node. - Consider running in an isolated environment (temporary container or VM) and inspect network traffic when you run the tool, especially first runs and paid-tier flows. - If you only need read-only scans, prefer the Free tier which does not require PRIVATE_KEY. If you need paid tiers, confirm the JANUS_API_URL endpoint is authentic and review the server's 402 challenge flow. If you want, I can: (1) search the provided code for exact places where PRIVATE_KEY may be passed to child processes, (2) extract the exact spawn arguments in the revoke script to confirm whether keys are passed on the CLI, or (3) produce a short checklist/patch suggestions to harden the scripts (avoid CLI args for secrets, require BASE_RPC_URL, add clearer metadata).
功能分析
Type: OpenClaw Skill Name: x402janus Version: 3.0.0 The skill bundle provides a legitimate security toolkit for EVM wallet forensics and approval management, utilizing the x402 micropayment protocol. The scripts (e.g., scripts/scan-wallet.ts and scripts/revoke-approval.ts) are well-structured, using standard libraries like viem and thirdweb to handle blockchain interactions and EIP-3009 payment signing. While the skill requires a PRIVATE_KEY for paid tiers and on-chain revokes, the implementation is transparent, includes security-conscious practices (such as passing keys to sub-processes via environment variables instead of CLI arguments to avoid process-list exposure), and strictly adheres to its stated purpose of enhancing agent security.
能力评估
Purpose & Capability
The skill claims to scan wallets, trace approvals, and build revoke transactions — and the included scripts implement those features and call a JANUS_API_URL for paid scans. Requiring a PRIVATE_KEY for x402 payment signing (and for executing revokes) is consistent with the stated micropayment model. However, registry metadata at the top of the submission lists no required env vars/binaries while SKILL.md and the scripts do require node/npx and JANUS_API_URL (and optionally PRIVATE_KEY). That metadata mismatch is an incoherence to be addressed.
Instruction Scope
SKILL.md instructs running the provided scripts which perform network calls to JANUS_API_URL and RPC endpoints and can build and (optionally) execute real on-chain transactions. The revoke script uses child_process.spawn (cast) to send transactions; comments indicate insecure handling of private keys may still be present (passing keys via CLI). Monitoring can forward alerts to arbitrary webhook URLs or Telegram. These behaviors are within the skill's stated purpose (revoke/monitor), but they expand scope to privileged actions (signing and sending on-chain txs and contacting arbitrary endpoints), so they require user caution and code review.
Install Mechanism
No formal install spec is in the registry (instruction-only), which is lower risk than arbitrary downloads. SKILL.md advises running npm install in the skill folder; package.json/package-lock are provided and pull in thirdweb and a standard dependency tree. Installing npm packages from public registries is expected for this kind of tool, but users should still audit dependencies and supply a safe runtime environment.
Credentials
Paid-tier flows require PRIVATE_KEY (agent wallet) and JANUS_API_URL — both reasonable for x402 payment signing and contacting the service. However: (1) the initial registry metadata claimed no required env vars while SKILL.md requires JANUS_API_URL (and PRIVATE_KEY for paid tiers), an inconsistency; (2) scripts use defaults for RPC (e.g., https://base.gateway.tenderly.co) which will contact third‑party services unless the user overrides BASE_RPC_URL; (3) the revoke script spawns external 'cast' and comments indicate the private key might be passed insecurely (exposing it via process arguments). Requesting a wallet private key is sensible for signing payments, but it is high‑sensitivity and must be handled carefully — ensure the key is limited in funds/permissions and not exposed to CLI args, logs, or third parties.
Persistence & Privilege
always is false and the skill does not request forced global inclusion. The skill can be invoked by the agent autonomously per platform defaults, and it can execute transactions when given PRIVATE_KEY and user-supplied flags (e.g., --execute). That power is coherent with its purpose but increases blast radius; autonomous invocation alone is not flagged, but combining autonomy with direct transaction execution and private key usage means users should be cautious about granting the PRIVATE_KEY to the runtime.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install x402janus
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /x402janus 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v3.0.0
v3.0.0: Complete rewrite — thirdweb x402 SDK integration, 4-tier pricing (free/quick/standard/deep), ACP marketplace listings, hardened scan pipeline, agent integration patterns, exit code automation support
v1.0.2
Refresh docs and verify thirdweb x402 wallet-scan flow
v2.0.0
BREAKING: Migrate from raw private key signing to thirdweb x402 SDK. Add free tier support (no wallet required). PRIVATE_KEY now optional for free scans.
v1.0.1
Security: private key removed from CLI args, RPC validation, tightened EIP-3009 windows
v1.0.0
Initial release — wallet security scans via x402 micropayment. 4 scripts: scan-wallet, list-approvals, revoke-approval, start-monitoring. Free tier support.
元数据
Slug x402janus
版本 3.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 5
常见问题

x402janus 是什么?

x402janus — autonomous on-chain wallet security for EVMs: scan approvals, trace fund flow, detect drainers, and build revoke transactions. Pay via x402 USDC... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 433 次。

如何安装 x402janus?

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

x402janus 是免费的吗?

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

x402janus 支持哪些平台?

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

谁开发了 x402janus?

由 openclaw-consensus-bot(@openclaw-consensus-bot)开发并维护,当前版本 v3.0.0。

💬 留言讨论