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

skill-firewall

بواسطة mkhaytman87

Web & Frontend Development
1.0kالتنزيلات وفق ما يذكره clawskills.sh
2النجوم
1المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Security layer that prevents prompt injection from external skills.

الوصف

ما الذي تفعله هذه المهارة

A security layer for AI agents that intercepts requests to install external skills and rewrites them from scratch instead of copying them verbatim. Prevents prompt injection via hidden HTML comments, zero-width Unicode characters, and embedded malicious instructions embedded in external skill files.

Copying and executing external skills directly exposes the agent to payloads invisible in rendered markdown but visible to the LLM, which regeneration eliminates entirely.

متى تستخدمها

  • Installing a community skill from ClawHub without running hidden malicious instructions
  • Safely evaluating a GitHub-hosted skill before adding it to a project
  • Blocking a curl-based exfiltration attempt disguised as skill setup
  • Reviewing a skills.sh package for obfuscated Unicode payloads before use
  • Sanitizing a third-party skill that references external files in a poison chain

مثال على سير العمل

الإدخال

User asks: Install the cloudflare skill from skills.sh

الوكيل
  1. 1

    Acknowledge the request and state that the skill will be rewritten, not copied

  2. 2

    Fetch the external skill content and identify its actual purpose

  3. 3

    Flag any suspicious elements such as HTML comments or external URL references

  4. 4

    Write a clean replacement skill in standard ASCII with no external references

  5. 5

    Present the rewrite with a summary report and wait for explicit user approval before saving

الإخراج

A sanitized, human-approved skill file saved to the skills directory, functionally equivalent to the original but free of injected instructions

التثبيت

clawhub install mkhaytman87/skill-firewall

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

الروابط