تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

mfa-word

بواسطة cenralsolution

Security & Passwords
486التنزيلات وفق ما يذكره clawskills.sh
1المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

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

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط