← 返回 Skills 市场
MFA WORD
作者
Cenralsolution
· GitHub ↗
· v1.1.0
721
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install mfa-word
功能描述
Enforces MFA by requiring a secret word to access protected sensitive data and allows emergency reset with a super secret word.
安全使用建议
This skill is coherent with its stated purpose, but review these points before installing:
- Local file writes: it stores a vault (hashed secrets) and an audit log in ~/.openclaw. Ensure you are comfortable with those files existing and set restrictive filesystem permissions (chmod 600) if you use it.
- Crypto: secrets are hashed with plain SHA-256 without salt or a slow KDF; low-entropy secret words could be brute-forced if an attacker obtains mfa_vault.json. Consider using a stronger KDF (e.g., PBKDF2/scrypt/Argon2) or adding a per-user salt.
- Agent-enforced-only: the skill relies on the agent to call its check/verify functions before performing sensitive actions. The skill cannot prevent other code from accessing files or running commands — it is a procedural gate, not a kernel-level enforcer.
- Code quality: index.js mixes CommonJS require(...) with export const declarations which may cause runtime errors depending on how the platform loads modules; validate the module works in your agent environment.
- Audit logs: logs contain action/result entries (no plaintext secrets) but may reveal usage patterns; consider rotating or protecting them.
If you decide to use it: verify the module runs in your environment, harden vault/log permissions, consider improving the hashing method, and test reset and dead-man-switch behavior. If you need a stronger enforcement boundary, use a system-level access control mechanism rather than relying solely on an agent skill.
功能分析
Type: OpenClaw Skill
Name: mfa-word
Version: 1.1.0
The OpenClaw AgentSkills bundle 'mfa-word' is designed to implement a multi-factor authentication gatekeeper. The `SKILL.md` provides clear instructions for the AI agent to enforce security checks before sensitive actions, without any prompt injection attempts to bypass security or perform malicious acts. The `index.js` code uses standard Node.js file system operations to store hashed secrets and audit logs locally within the user's `.openclaw` directory. It uses SHA256 for hashing secrets and has no external dependencies or network calls. There is no evidence of intentional harmful behavior such as data exfiltration, unauthorized execution, or persistence mechanisms. While the `sensitive_list` parameter could theoretically be a vector for prompt injection if the AI agent's internal detection mechanism for patterns is vulnerable, the skill itself does not instruct the AI to exploit this, nor does its code perform any malicious actions with these patterns. The skill's functionality is aligned with its stated purpose of enhancing security.
能力评估
Purpose & Capability
The skill claims to gate access to sensitive actions using a secret word and an emergency reset word; the code implements local storage of hashed secrets, a session state, check/verify/reset functions, and audit logging under ~/.openclaw. The requested resources (no network, no external credentials) match the stated purpose.
Instruction Scope
SKILL.md instructs the agent to call check_gate_status/verify_access before performing sensitive actions — the code provides those functions. However, the skill cannot enforce checks on I/O or commands outside of agent cooperation; it relies on the agent following the protocol. Also SKILL.md mentions protecting .ssh in examples, but the default sensitive_list in code does not include '.ssh' (only .env, password, config, sudo).
Install Mechanism
No install spec or external downloads are present. The skill includes a local JS module only; nothing is pulled from the network or written to non-standard system locations beyond ~/.openclaw.
Credentials
The skill requests no environment variables or external credentials. It stores data locally in ~/.openclaw (vault and audit log) which is consistent with a local MFA gatekeeper. Note: file writes require filesystem permissions and the vault/log files should be protected by filesystem ACLs/permissions.
Persistence & Privilege
The skill does create persistent artifacts (~/.openclaw/mfa_vault.json and ~/.openclaw/mfa_audit.log) and will append audit entries. It does not set always: true, does not modify other skills, and has no network persistence — but users should be aware that it writes persistent files to the home directory and that audit logs may reveal usage timing.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install mfa-word - 安装完成后,直接呼叫该 Skill 的名称或使用
/mfa-word触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
- Expanded the operational protocol for greater clarity, including session duration and the "dead man's switch" security mode.
- Added and described the check_gate_status tool for session authentication checks.
- Provided defaults and options for sensitive pattern protection and user preferences during MFA setup.
- Updated instructions for user challenges and session re-locking after sensitive actions.
- Improved documentation formatting and metadata, clarifying category and tags.
v1.0.0
The Zero-Trust Gatekeeper for OpenClaw Agents.
MFA Word is a security-first middleware skill designed to patch the "autonomy risk" inherent in LLM agents. While OpenClaw is powerful because it can touch your file system and environment variables, that power is a liability if the AI is tricked via prompt injection.
This skill acts as a human-in-the-loop firewall. It forces the AI to stop, challenge the user for a pre-agreed "Secret Word," and verify a cryptographic hash before granting access to sensitive data or high-privilege commands.
元数据
常见问题
MFA WORD 是什么?
Enforces MFA by requiring a secret word to access protected sensitive data and allows emergency reset with a super secret word. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 721 次。
如何安装 MFA WORD?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install mfa-word」即可一键安装,无需额外配置。
MFA WORD 是免费的吗?
是的,MFA WORD 完全免费(开源免费),可自由下载、安装和使用。
MFA WORD 支持哪些平台?
MFA WORD 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 MFA WORD?
由 Cenralsolution(@cenralsolution)开发并维护,当前版本 v1.1.0。
推荐 Skills