Proposal: Out of Band Host Containment and Local Veto Hook for Uncooperative Agents (KillSwitch Integration)

オープン
#879 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@oyesanyf がすでに取り組んでいます。

2026年11月11日 から。

  • #897 @oyesanyf による — オープン

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
go, grpc, rust

調査の方向性

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時間
マージ済み PR(30日)
85

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

google/agentmesh のほかの issue

google/agentmesh の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。