2H

2alf/heimdall

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

46 stars 42 forks 质量 67 趋势 16GPL-3.0

2alf/heimdall 是一个从 https://github.com/2alf/heimdall. 导入的 MCP 服务器候选。

概览

2alf/heimdall 是一个从 https://github.com/2alf/heimdall. 导入的 MCP 服务器候选。

概述(AI 翻译)

海姆达尔

你本地AI代理MCP层的守望者。

Heimdall 指纹了 MCP 配置和服务器文件,Claude Desktop, Claude Code、Cursor、Windsurf和LM Studio加载,并响起警报 一瞬间,你背后会被改变。

以守卫通往阿斯加德唯一桥梁并吹响的北欧守卫命名 当敌人靠近时>号角——它守护你的入口,它在观察 和警告**,而且它并不假装是一堵墙。(前克劳德·迪芬德, 名字变大后改名,不再只是克劳德。)


目录

  • 威胁:《指环王》至MCP ·其运作方式 ·内部一窥
  • 为什么基线无法伪造 ·支持的MCP主机 ·功能
  • 封装 ·基准测试 ·安装 ·CLI
  • 它是什么——与不是什么 ·路线图 ·安全性与许可

威胁:通过MCP的LOTL

“自家”攻击者不会带来恶意软件——他们颠覆了合法的 工具已经存在于你的机器上。MCP服务器是完美的目标:一个可信赖的对象 编程你的特工发射完全访问权限。毒害源头,或者滑动 恶意服务器被代理读取的配置,结果你就得到了一个被木马化的条目

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Heimdall fingerprints the MCP config and server files that Claude Desktop, Claude Code, Cursor, Windsurf, and LM Studio load, and sounds the alarm the instant one is altered behind your back.

Named for the Norse watchman who guards the one bridge into Asgard and blows the horn when enemies approach — it guards your entry points, it watches and warns, and it doesn’t pretend to be a wall. (Formerly Claude Defender, renamed once it grew past just Claude.)


Contents


The threat: LOTL through MCP

Living-off-the-land attackers don’t bring malware — they subvert the legitimate tools already on your machine. An MCP server is a perfect target: a trusted program your agent launches with full access. Poison its source, or slip a malicious server into a config an agent reads, and you have a trojanised entry point that runs every time — and nothing looks wrong. That’s the point of LOTL.

Heimdall’s job is to notice: it fingerprints every config and server file, and the instant one changes it shows you exactly what changed and lets you revert.

How it works

flowchart LR
  subgraph Hosts["MCP hosts (auto-discovered)"]
    A[Claude Desktop]
    B[Claude Code]
    C[Cursor]
    D[Windsurf]
    E[LM Studio]
  end
  Hosts -->|configs + server files| W[Filesystem watcherevent-driven]
  W --> Core[Detection coreBLAKE3 fingerprints]
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →