← 返回 Skills 市场
paytrigo

PayTrigo (OpenClawBot, Base/USDC)

作者 paytrigo · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
1565
总下载
2
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install paytrigo-openclawbot
功能描述
Use when an OpenClawBot needs to create or verify PayTrigo payments on Base/USDC without webhooks.
安全使用建议
This skill mostly does what it says (creates invoices, returns intents, polls status), but exercise caution before installing or running it: - Do not rely on the embedded API keys. Treat the hardcoded 'sk_live_...' values as secrets that could be abused by whoever controls them. Prefer to replace them with your own platform key (provided securely) or modify the code to read a key from a protected environment variable. - Verify the source. The skill has no homepage and an unknown source; confirm you trust the author before using keys embedded in their code. - Avoid passing raw private keys on the command line (use encrypted wallet files and passphrases). Passing a private key via --pk can expose it in process listings; use the encrypted wallet store and supply passphrases via a file with strict permissions. - Review and, if desired, remove or rotate any embedded keys before running in production. Test with minimal amounts and in an isolated environment first. - If you need this functionality but don't want to trust embedded credentials, fork the code, remove the hardcoded keys, and inject your API key via env vars or a secure secrets mechanism. If you want, I can help produce a safe checklist or provide a patched version of the scripts that reads API keys from environment variables and warns if a hardcoded key is present.
功能分析
Type: OpenClaw Skill Name: paytrigo-openclawbot Version: 1.0.0 The skill is classified as suspicious primarily due to the presence of hardcoded API keys in multiple scripts (`scripts/moltbot-bot-flow.mjs`, `scripts/moltbot-human-flow.mjs`, `scripts/paytrigo.mjs`). While the `SKILL.md` documentation states these are 'platform API keys' for 'no-setup usage' with `api.paytrigo.net`, hardcoding live secrets is a significant security risk. There is no clear evidence of intentional malicious behavior such as data exfiltration to unauthorized endpoints, arbitrary code execution, or prompt injection attempts against the agent to deviate from its stated purpose. The `scripts/moltbot-wallet-setup.mjs` handles sensitive wallet data responsibly by encrypting wallets and applying secure file permissions (0o600).
能力评估
Purpose & Capability
The code (scripts/*.mjs) implements invoice creation, intent retrieval, tx submission and polling against api.paytrigo.net, which matches the skill description (PayTrigo on Base/USDC). However, instead of requiring the operator to supply a platform API key or declare it as a credential, the scripts ship with hardcoded 'sk_live_...' API keys, which is unusual and insecure for a reusable skill — embedding keys is not necessary for the stated purpose and reduces control for the user.
Instruction Scope
SKILL.md instructs the agent/user to create/read local wallet files, passphrase files, and optionally provide a raw private key via CLI. These actions are within the payment flow's scope, but accepting private keys on the command line (or storing unprotected files) and using an embedded platform key expands the risk surface; the instructions do not require or instruct any unrelated system access.
Install Mechanism
There is no external download/install spec beyond npm install and a single dependency (ethers). No remote archives or unknown URL downloads are used; installation risk is limited to typical npm dependency installation.
Credentials
The package declares no required env vars and SKILL.md claims a platform key is embedded for no-setup usage. The code contains multiple hardcoded platform keys (files: scripts/moltbot-bot-flow.mjs, scripts/moltbot-human-flow.mjs, scripts/paytrigo.mjs). Embedding live-looking API keys in distributed code is disproportionate and risky: keys can be abused, are not user-controlled, and there is no declaration of who owns them. The scripts also encourage passing private keys via CLI (exposes them to process lists) or storing passphrases/files locally — both are legitimate for operation but should be handled more securely and explicitly documented as risky.
Persistence & Privilege
always:false and no install-time persistence or modification of other skills is requested. The skill does not claim or implement system-wide configuration changes beyond writing its own local wallet/recipient files under a .openclawbot directory.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install paytrigo-openclawbot
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /paytrigo-openclawbot 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of paytrigo-openclawbot - Provides OpenClawBot support for PayTrigo payments on Base/USDC via polling instead of webhooks. - Includes CLI scripts for both human-in-the-loop and direct bot payment scenarios. - Requires no environment setup—platform API key is embedded for out-of-the-box usage. - Adds local wallet management features for recipient and payer addresses. - Supports full payment flow: invoice creation, intent retrieval, payment submission, and status polling. - Documents safe polling intervals, error handling, and common pitfalls for bot integration.
元数据
Slug paytrigo-openclawbot
版本 1.0.0
许可证
累计安装 1
当前安装数 1
历史版本数 1
常见问题

PayTrigo (OpenClawBot, Base/USDC) 是什么?

Use when an OpenClawBot needs to create or verify PayTrigo payments on Base/USDC without webhooks. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1565 次。

如何安装 PayTrigo (OpenClawBot, Base/USDC)?

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

PayTrigo (OpenClawBot, Base/USDC) 是免费的吗?

是的,PayTrigo (OpenClawBot, Base/USDC) 完全免费(开源免费),可自由下载、安装和使用。

PayTrigo (OpenClawBot, Base/USDC) 支持哪些平台?

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

谁开发了 PayTrigo (OpenClawBot, Base/USDC)?

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

💬 留言讨论