微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🛡️

动态口令守护敏感操作

MFA WORD · v1.1.0
办公 安全 B 级 作者 cenralsolution 公开目录收录
下载 1.4k 安装 0 收藏 3.8k 浏览 14
原始页面

简介

为敏感文件与系统操作设置动态口令验证,支持15分钟会话与单次即锁两种安全模式,实现零信任架构下的最小权限控制。

原始描述

Enforces MFA by requiring a secret word to access protected sensitive data and allows emergency reset with a super secret word.

技能正文


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.

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

其他来源收录

同一技能在不同目录的原始页面:

标签

securitymfaprivacyzero-trustaudit-logsaccess-controlsession-management

同类 Skill