← 返回 Skills 市场
lewis-404

Otc Confirmation

作者 Lewis Liu · GitHub ↗ · v3.1.0
cross-platform ✓ 安全检测通过
390
总下载
0
收藏
1
当前安装
9
版本数
在 OpenClaw 中安装
/install otc-confirmation
功能描述
One-Time Confirmation code security mechanism for sensitive agent operations. Generates a cryptographically secure single-use code, delivers it via a private...
安全使用建议
Before installing or enabling this skill: 1) Manually inspect the three shell scripts (generate_code.sh, send_otc_email.sh/send_email_smtp.sh, verify_code.sh) to confirm they do not echo the code, do not log secrets, and that credentials are not passed on the command line in a way visible via ps. 2) Run the skill in a non-production sandbox first and test the state-file lifecycle and permission bits (state dir mode 700, state file mode 600). 3) Use a dedicated SMTP account with limited privileges and rotate its password if compromised. 4) If you enable a custom backend script, verify it is trusted and executable only by your user. 5) Be aware the 'agent must not read the state file' is a procedural control — a compromised agent running as the same OS user could read it; consider isolating the guard (different user, container, or stricter sandbox). 6) Note the SKILL.md includes prompt-injection discussion — review the docs and templates so you are comfortable there are no instructions that would weaken your agent's system prompt or security posture. If you want extra assurance, have a security-savvy reviewer audit the scripts for credential handling (curl usage, logging, process args) prior to production use.
功能分析
Type: OpenClaw Skill Name: otc-confirmation Version: 3.1.0 The 'otc-confirmation' skill bundle is a well-designed security tool providing a human-in-the-loop confirmation mechanism for AI agents. It implements a 'zero-knowledge' architecture where the agent generates and verifies codes via secure local state files (mode 600) without ever seeing the code in its own context or logs. The scripts (generate_code.sh, send_otc_email.sh, verify_code.sh) use cryptographically secure entropy and follow defensive programming practices. Furthermore, the bundle includes an extensive 'Security Architecture Pack' with Python reference implementations for audit logging and permission guarding, specifically designed to protect against prompt injection and unauthorized command execution.
能力评估
Purpose & Capability
The skill is an OTC/email confirmation system and it requires SMTP credentials and curl to send email — these requirements are expected and proportionate. The bundle contains both production-ready shell scripts (generate/send/verify) and Python reference implementations, which matches the README claim of two implementation paths. Declared primaryEnv (OTC_EMAIL_RECIPIENT) and required env vars align with the stated purpose.
Instruction Scope
The SKILL.md instructs the agent to call the included scripts and to keep the code in a permission-restricted state file; that is within scope. However, the document also contains examples and discussion of prompt-injection and 'system prompt override' patterns (pre-scan flagged these). Those appear to be explanatory examples in the threat model rather than instructions to override guards, but you should review the SKILL.md and scripts to confirm no lines attempt to change agent system prompts or perform out-of-band data collection. The skill asks that the agent 'not read the state file' — this is a policy constraint in docs and not an enforced OS-level guarantee; a compromised agent running as the same OS user could still access the file.
Install Mechanism
No remote install or arbitrary downloads — this is an instruction-only skill with bundled scripts and docs. That reduces supply-chain risk compared with fetching executables from unknown URLs. The only external binary dependency declared is curl, which is reasonable for SMTP-over-curl email sending.
Credentials
The skill requires SMTP credentials (OTC_SMTP_USER and OTC_SMTP_PASS) and an email recipient. Those are necessary for its stated function. However, SMTP credentials are sensitive; inspect scripts to ensure credentials are not exposed (for example, passed as literal args visible in process listings or written to logs). SKILL.md references additional optional env vars (SMTP_HOST/PORT, OTC_EMAIL_BACKEND, OTC_CUSTOM_EMAIL_SCRIPT) which are reasonable but should be audited when enabling backends or custom scripts.
Persistence & Privilege
The skill does not request always:true and is user-invocable. It does not claim to modify other skills or system-wide agent configuration. Its stated behavior (create per-user state dir and state file) is standard for this type of guard and scoped to the skill.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install otc-confirmation
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /otc-confirmation 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v3.1.0
AI DevOps Agent Security Pack (12 files) + README bilingual rewrite + Python reference implementations
v3.0.4
otc-confirmation 3.0.4 - Updated documentation in SKILL.md with minor corrections and improved clarity. - No code or functionality changes; this release is documentation-only.
v3.0.3
3.0.3 Changelog - Updated README.md for improved documentation clarity and setup instructions. - No code or functionality changes; this is a documentation-only update.
v3.0.2
v3.0.2: Declare OTC_SMTP_USER and OTC_SMTP_PASS in metadata requires.env
v3.0.1
v3.0.1: Fix metadata and reindex.
v3.0.0
v3.0: Zero-stdout security model - code flows through state file (mode 600), never printed. Crypto-secure /dev/urandom generation. Atomic single-use enforcement. No silent fallbacks. No arbitrary file sourcing. Proper metadata declaration. Sanitized docs.
v2.0.1
otc-confirmation 2.0.1 - Added four new files: _meta.json, references/enforcement-discipline.md, and bilingual email templates (email_template_en.txt, email_template_zh.txt) - Updated documentation and changelog - Improved and refined email sending scripts (send_email_smtp.sh, send_otc_email.sh) for better flexibility and clarity - Enhanced enforcement and configuration references
v2.0.0
Major upgrade: Zero-dependency SMTP, multiple email backends, enhanced documentation, OpenClaw config integration
v1.0.0
Initial release
元数据
Slug otc-confirmation
版本 3.1.0
许可证
累计安装 1
当前安装数 1
历史版本数 9
常见问题

Otc Confirmation 是什么?

One-Time Confirmation code security mechanism for sensitive agent operations. Generates a cryptographically secure single-use code, delivers it via a private... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 390 次。

如何安装 Otc Confirmation?

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

Otc Confirmation 是免费的吗?

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

Otc Confirmation 支持哪些平台?

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

谁开发了 Otc Confirmation?

由 Lewis Liu(@lewis-404)开发并维护,当前版本 v3.1.0。

💬 留言讨论