跳到正文
DEV Community· Juwen Lie·· 3 天前AI 評分55

Hexbane 掃描智能體技能、MCP 伺服器及工具中的隱藏、偽裝和投毒指令

Hexbane: Breaks the hex before your AI agent falls for it: scans agent skills, MCP servers and tools for hidden…

AI 導讀

Juwen Lie 開發的 Hexbane 會掃描智能體技能、MCP 伺服器及工具中的隱藏、偽裝和投毒指令,並在執行時守護工具呼叫和聊天。它設有安裝前的 Load gate、每次工具呼叫及工具結果的 Call gate,以及每則用戶訊息的 Chat gate。

正文

Juwen Lie

What does Hexbane even do?

Something I built: Hexbane.

Breaks the hex before your AI agent falls for it: scans agent skills, MCP servers and tools for hidden, disguised and poisoned instructions, and guards tool calls and chat at run time. Browser, CLI, GitHub Action.

Highlights:

  • Load gate: before a skill, MCP server or tool is installed.
  • Call gate: every tool call and tool result at run time.
  • Chat gate: every user message.

Feedback welcome, especially the critical kind.

What else it does

  • Rug-pull lock: after you approved it.

Under the hood

  • Written mostly in Python
  • Hosted for free on GitHub Pages
  • Tests run in GitHub Actions on every push
  • MIT licensed

Links

來源:DEV Community · dev.to