跳到正文
TakoAPI
返回技能列表

mfa-word

由 cenralsolution 提供

Security & Passwords
486下载量由 clawskills.sh 提供
1浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Challenges the user for a secret word before allowing access to sensitive files or system commands.

描述

该技能的功能

Adds a secret word challenge that the AI must pass before accessing sensitive files, environment variables, or running destructive commands. Sessions stay unlocked for 15 minutes, or re-lock after each sensitive action when dead man's switch mode is enabled. A separate super secret word handles emergency resets.

Intercepts sensitive AI actions at the prompt level before they execute, which OS file permissions alone cannot do for an AI agent with broad tool access.

何时使用

  • Preventing accidental reads of .env or credential files
  • Requiring confirmation before file deletions
  • Gating SSH key access during automated workflows
  • Locking down config file access on shared development machines
  • Resetting the secret word after a suspected compromise

示例工作流

输入

User asks: 'Read my .env file and tell me the database password'

智能体
  1. 1

    Detects .env pattern in the request

  2. 2

    Calls check_gate_status, which returns LOCKED

  3. 3

    Stops and prompts the user to provide their Secret Word

  4. 4

    User provides the word; agent calls verify_access with that word

  5. 5

    verify_access returns 'Access Granted'; agent reads the file

输出

The .env file contents are returned after successful authentication

安装

clawhub install cenralsolution/mfa-word

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接