跳到正文
TakoAPI
返回技能列表

clawdefender

由 nukewire 提供

Clawdbot Tools
7.0k下载量由 clawskills.sh 提供
29星标
1浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Security scanner and input sanitizer for AI agents.

描述

该技能的功能

Security scanner and input sanitizer for AI agents. Detects prompt injection, command injection, SSRF, credential exfiltration, and path traversal across 90+ patterns. Runs as shell scripts that pipe into any agent workflow.

It runs as a standard shell pipe with no external dependencies, so it integrates into any existing agent workflow without additional configuration.

何时使用

  • Auditing all installed skills for malware before running them
  • Sanitizing API responses before an agent acts on them
  • Validating a URL before fetching to prevent SSRF
  • Filtering GitHub issue content to block embedded injection attempts
  • Blocking credential theft attempts in untrusted email content

示例工作流

输入

User asks: sanitize this API response before the agent processes it

智能体
  1. 1

    Pipe the API response through sanitize.sh with the --json flag

  2. 2

    Scanner checks content against prompt injection, command injection, and exfiltration patterns

  3. 3

    Flagged sections are wrapped with warning markers and withheld from processing

  4. 4

    Clean content passes through for normal agent use

输出

Sanitized JSON ready for the agent, with suspicious sections marked and flagged to the user

安装

clawhub install nukewire/clawdefender

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

链接