Proposal: Out of Band Host Containment and Local Veto Hook for Uncooperative Agents (KillSwitch Integration)
I maintainer di solito rispondono entro 1 giorno
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Go
- Stelle
- 1.2k
- Fork
- 207
- Merge medio
- 1g 10h
- PR unite (30g)
- 85
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di google/agentmesh
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 56/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
google/agentmesh#952 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 Mezza giornata Idoneità per principianti 35/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
google/agentmesh#844 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di google/agentmesh
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
projectcalico/calico#14766 ·
I maintainer di solito rispondono entro 1 giorno
-
forward/review service/container
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100
hashicorp/terraform-provider-google#30852 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
docs(scheduling): a rolling deploy can open a second launch-gate episode (old replica after new)Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
SocialGouv/iterion#3826 ·
I maintainer di solito rispondono entro 1 giorno