Proposal: Out of Band Host Containment and Local Veto Hook for Uncooperative Agents (KillSwitch Integration)
维护者通常 1 天内回复
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
调研方向
Start by reading the v0.2.0 architecture and roadmap items for Autonomous Local Veto and sandbox confinement, then trace the agentmesh-node, agentmesh-control-plane, and agentmesh-router entry points described here. The proposal covers local containment events, loopback socket pinning, and control-plane eviction; maintainers first need to decide whether this integration fits the design before implementation can be scoped.
由索引模型根据 Issue 内容生成。
描述
Hello Agent Mesh maintainers,
I have been reviewing the v0.2.0 architecture and the current roadmap items around Autonomous Local Veto and uncooperative sandbox confinement for agent execution. Agent Mesh solves the peer to peer discovery, NAT traversal, and zero trust service authorization problems cleanly via libp2p and offline verifiable Biscuit tokens. However, I would like to propose a loosely coupled integration pattern to close the enforcement gap between user space mesh policy revocation and kernel level host containment when an agent becomes uncooperative or compromises its local execution environment.
Currently, agentmesh-node runs as a user space companion proxy exposing a loopback MCP server and an OpenAI compatible endpoint, while authorization relies on short lived Biscuit tokens evaluated offline. This introduces two edge cases for high assurance deployments. First, because Biscuit tokens are verified offline by peers, revoking a runaway or compromised agent across the mesh is subject to token TTL windows or active revocation propagation delays across agentmesh-router nodes. Second, if an uncooperative agent breaks out of its application wrapper on the host, it can bypass the local agentmesh-node loopback proxy entirely to open raw outbound sockets, manipulate local files, or interfere with the local agentmesh-node process itself.
I am currently developing KillSwitch (https://github.com/oyesanyf/killswitch), an open source, cross platform agentic runtime governance and containment system written in Rust, and I have already signed the Google Individual CLA under my GitHub handle oyesanyf. KillSwitch operates out of band at the host and kernel boundary using eBPF LSM probes on Linux and Windows Filtering Platform callouts on Windows, backed by Raft and Valkey consensus. Rather than proposing any cross language dependencies in the Agent Mesh Go codebase, I would like to propose a lightweight, optional webhook or local Unix domain socket contract between agentmesh-node, agentmesh-control-plane, and external host containment engines like KillSwitch.
This integration would focus on three specific workflows that directly support the sandboxed agent preview.
First, for the Autonomous Local Veto hook, when agentmesh-node detects repeated ingress or egress policy violations from the local agent, or receives an explicit revocation signal from the control plane, it can emit a standardized local containment event over a Unix domain socket or loopback gRPC hook. KillSwitch can listen for this signal and immediately freeze the offending agent process at the OS level and drop all of its non mesh raw sockets via eBPF or WFP, guaranteeing hard containment before the node's offline Biscuit token even expires.
Second, for Loopback Socket Pinning, on hosts running both agentmesh-node and KillSwitch, KillSwitch can enforce kernel level socket binding policies so that only the specific, attested agent binary PID is permitted to communicate with the 127.0.0.1:8080 MCP server, preventing lateral local processes on multi tenant workstations from hijacking the mesh proxy.
Third, for Bidirectional Control Plane Eviction, if KillSwitch detects a host level breakout or memory corruption event at Ring 0, it can trigger a webhook on agentmesh-control-plane to immediately strip the node's enrollment and notify agentmesh-router peers to sever active libp2p streams, isolating the compromised host from the rest of the mesh instantaneously.
If this aligns with your vision for the sandboxed agent blueprints and the v0.2.0 security milestones, I would be glad to put together a concise design document and build a reference blueprint demonstrating agentmesh-node paired with KillSwitch in a local containerized test environment. I would love to hear your thoughts on whether a standardized local veto and containment webhook fits your current design for the sandbox preview.
- 主要语言
- Go
- 星标
- 1.2k
- 派生
- 207
- 平均合并
- 1 天 10 小时
- 30 天内合并 PR
- 85
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
google/agentmesh 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 56/100
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 35/100
google/agentmesh#952 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 3/5 半天 新手友好度 35/100
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 15/100
google/agentmesh#844 · 2 条评论 ·
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
projectcalico/calico#14766 ·
维护者通常 1 天内回复
-
forward/review service/container
难度 1/5 1 小时以内 新手友好度 86/100
hashicorp/terraform-provider-google#30852 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 68/100
-
docs(scheduling): a rolling deploy can open a second launch-gate episode (old replica after new)未关闭
难度 1/5 1 小时以内 新手友好度 82/100
SocialGouv/iterion#3826 ·
维护者通常 1 天内回复