Proposal: Out of Band Host Containment and Local Veto Hook for Uncooperative Agents (KillSwitch Integration)
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Go
- Estrellas
- 1.2k
- Forks
- 207
- Merge medio
- 1 d 10 h
- PR fusionados (30 d)
- 85
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de google/agentmesh
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 56/100
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
google/agentmesh#952 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 Medio día Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 15/100
google/agentmesh#844 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de google/agentmesh
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
projectcalico/calico#14766 ·
Los mantenedores suelen responder en 1 día
-
forward/review service/container
Dificultad 1/5 Menos de una hora Aptitud para principiantes 86/100
hashicorp/terraform-provider-google#30852 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
docs(scheduling): a rolling deploy can open a second launch-gate episode (old replica after new)Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
SocialGouv/iterion#3826 ·
Los mantenedores suelen responder en 1 día