360 Secure SkillHub
360 安全技能中心

MFA WORD

该 Skill 通过 initialize_mfa 配置主口令、应急重置口令与受保护的敏感模式列表;在涉及敏感文件或系统命令的操作前用 check_gate_status 检查门控状态,锁定状态下要求用户提供口令并用 verify_access 校验,支持一次性授权(Dead Man's Switch)与重置流程。

cenralsolution
cenralsolution
热度 62.63
最近更新 2026-05-18 12:02:24
分类:安全依赖:MCP 服务应用场景:工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add mfa-word
Metadata
name
mfa-word
description
Challenges the user for a secret word before allowing access to sensitive files or system commands.
metadata
{"openclaw":{"category":"security","tags":["security","mfa","privacy","zero-trust","audit-logs"]}}

MFA Word (Security Gatekeeper)

Operational Protocol

  1. Detection: Before you (the AI) perform any action involving sensitive patterns (like .env, .ssh, passwords, or deletions), you MUST call check_gate_status.
  2. Standard Mode: If check_gate_status returns "OPEN", you may proceed. This session is valid for 15 minutes.
  3. Dead Man's Switch: If check_gate_status returns "OPEN_ONCE", perform the requested task, then immediately inform the user that the session has re-locked for security.
  4. Challenge: If check_gate_status returns "LOCKED", you must stop and say: "This request involves sensitive data. Please provide your Secret Word to continue."
  5. Validation: Once the user provides a word, call verify_access. Only proceed if it returns "Access Granted."

Tools

initialize_mfa

Sets up the security layer and user preferences.

  • secret: The primary secret word.
  • super_secret: The emergency reset word.
  • sensitive_list: Array of strings or patterns to protect (default: .env, password, config, sudo).
  • use_dead_mans_switch: Boolean. If true, the gate locks after every single sensitive action.

verify_access

Validates the secret word provided by the user.

  • word: The word provided by the user in chat.

check_gate_status

Internal tool to check if the current session is authenticated.

reset_mfa

Resets the secret word using the super secret word.

  • super_word: The emergency reset word.
  • new_secret: The new primary secret.