basebandit/kai
An MCP Server for Kubernetes
6343a8741550Paths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
Code Safety, Capability Exposure and Behavior Transparency are not analysed and have no number.
- Code Safety and Capability Exposure: no tool's code could be followed from its input
- Behavior Transparency: no tool description could be read to compare with the code
- 75 places in the code register tools whose names are computed at run time; how many tools that makes cannot be read from the code
Top risks in plain words
- HIGH6 production dependencies have known vulnerabilities (worst: high).
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Update its vulnerable packages
Use
github.com/klauspost/compress1.20.2 or later,github.com/mark3labs/mcp-go1.5.1-0.20261109144041-2f5b9637ea84 or later,github.com/moby/spdystream0.5.1 or later,golang.org/x/net0.62.0 or later and 2 more. - Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 103 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
The code of the tools could not be followed, so what they can reach is not known.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
No tool was seen returning text from outside the server to the model.
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (103: 103 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
apply_yamltool Apply one or more Kubernetes resources from a YAML/JSON manifest (like `kubectl apply -f`) Supports multiple documents separated by `---` and any kind, includin
Apply one or more Kubernetes resources from a YAML/JSON manifest (like `kubectl apply -f`) Supports multiple documents separated by `---` and any kind, including CRDs. Uses server-side apply: resources are created if absent or merged if they already exist.
create_persistent_volume_claimtool Create a persistent volume claim
Create a persistent volume claim
delete_custom_resourcetool Delete a single custom resource instance by group/version/resource/name
Delete a single custom resource instance by group/version/resource/name
delete_persistent_volumetool Delete a persistent volume
Delete a persistent volume
delete_persistent_volume_claimtool Delete a persistent volume claim
Delete a persistent volume claim
delete_yamltool Delete one or more Kubernetes resources described by a YAML/JSON manifest (like `kubectl delete -f`). Supports multiple documents separated by `---` and any kin
Delete one or more Kubernetes resources described by a YAML/JSON manifest (like `kubectl delete -f`). Supports multiple documents separated by `---` and any kind, including CRDs. Objects that are already gone are reported, not errored.
get_cluster_roletool Get a cluster role with its rules
Get a cluster role with its rules
get_cluster_role_bindingtool Get a cluster role binding
Get a cluster role binding
get_crdtool Get details about a CustomResourceDefinition, including how to query its instances
Get details about a CustomResourceDefinition, including how to query its instances
get_custom_resourcetool Get a single custom resource instance by group/version/resource/name
Get a single custom resource instance by group/version/resource/name
get_persistent_volumetool Get details about a specific persistent volume
Get details about a specific persistent volume
get_persistent_volume_claimtool Get details about a specific persistent volume claim
Get details about a specific persistent volume claim
get_roletool Get an RBAC role with its rules
Get an RBAC role with its rules
get_role_bindingtool Get an RBAC role binding
Get an RBAC role binding
get_service_accounttool Get a service account
Get a service account
get_storage_classtool Get details about a specific storage class
Get details about a specific storage class
handlertool
No description.
list_api_resourcestool List the server's preferred API resources (like 'kubectl api-resources')
List the server's preferred API resources (like 'kubectl api-resources')
list_cluster_role_bindingstool List cluster role bindings
List cluster role bindings
list_cluster_rolestool List cluster roles
List cluster roles
list_crdstool List all CustomResourceDefinitions registered in the cluster
List all CustomResourceDefinitions registered in the cluster
list_custom_resourcestool List instances of a custom resource by group/version/resource
List instances of a custom resource by group/version/resource
list_persistent_volume_claimstool List persistent volume claims in a namespace
List persistent volume claims in a namespace
list_persistent_volumestool List all persistent volumes (cluster-scoped)
List all persistent volumes (cluster-scoped)
list_role_bindingstool List RBAC role bindings in a namespace
List RBAC role bindings in a namespace
list_rolestool List RBAC roles in a namespace
List RBAC roles in a namespace
list_service_accountstool List service accounts in a namespace
List service accounts in a namespace
list_storage_classestool List all storage classes in the cluster
List all storage classes in the cluster
Text the model reads (103)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
handler tool
apply_yaml tool
Apply one or more Kubernetes resources from a YAML/JSON manifest (like `kubectl apply -f`) Supports multiple documents separated by `---` and any kind, including CRDs. Uses server-side apply: resources are created if absent or merged if they already exist.
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
list_crds tool
List all CustomResourceDefinitions registered in the cluster
get_crd tool
Get details about a CustomResourceDefinition, including how to query its instances
list_custom_resources tool
List instances of a custom resource by group/version/resource
get_custom_resource tool
Get a single custom resource instance by group/version/resource/name
delete_custom_resource tool
Delete a single custom resource instance by group/version/resource/name
list_api_resources tool
List the server's preferred API resources (like 'kubectl api-resources')
delete_yaml tool
Delete one or more Kubernetes resources described by a YAML/JSON manifest (like `kubectl delete -f`). Supports multiple documents separated by `---` and any kind, including CRDs. Objects that are already gone are reported, not errored.
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
list_roles tool
List RBAC roles in a namespace
get_role tool
Get an RBAC role with its rules
list_role_bindings tool
List RBAC role bindings in a namespace
get_role_binding tool
Get an RBAC role binding
list_cluster_roles tool
List cluster roles
get_cluster_role tool
Get a cluster role with its rules
list_cluster_role_bindings tool
List cluster role bindings
get_cluster_role_binding tool
Get a cluster role binding
list_service_accounts tool
List service accounts in a namespace
get_service_account tool
Get a service account
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
list_persistent_volumes tool
List all persistent volumes (cluster-scoped)
get_persistent_volume tool
Get details about a specific persistent volume
delete_persistent_volume tool
Delete a persistent volume
create_persistent_volume_claim tool
Create a persistent volume claim
list_persistent_volume_claims tool
List persistent volume claims in a namespace
get_persistent_volume_claim tool
Get details about a specific persistent volume claim
delete_persistent_volume_claim tool
Delete a persistent volume claim
list_storage_classes tool
List all storage classes in the cluster
get_storage_class tool
Get details about a specific storage class
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionNot checked: no tool's code could be followed from its input
- 5 checks: runs programs the caller chooses, executes caller-supplied code, reads or writes any file path, requests any address, runs caller-supplied SQLNot checked: no tool's code could be followed from its input
- Tools that start processesNot known: no tool's code could be followed
- Tools that touch filesNot known: no tool's code could be followed
- Tools that call the networkNot known: no tool's code could be followed
Where the code is: 103 handlers in 20 files at commit 6343a8741550
server.gohandlertools/apply.goapply_yamltools/configmap.go(name computed at run time), (name computed at run time), (name computed at run time), (name computed at run time), (name computed at run time)tools/context.go(name computed at run time), (name computed at run time), (name computed at run time), (name computed at run time), (name computed at run time), (name computed at run time), (name computed at run time)tools/cronjob.go(name computed at run time), (name computed at run time), (name computed at run time), (name computed at run time), (name computed at run time), (name computed at run time), (name computed at run time)tools/customresource.golist_crds, get_crd, list_custom_resources, get_custom_resource, delete_custom_resource, list_api_resourcestools/delete.godelete_yamltools/deployment.go(name computed at run time), (name computed at run time), (name computed at run time), (name computed at run time), (name computed at run time), (name computed at run time), (name computed at run time), (name computed at run time), (name computed at run time), (name computed at run time), (name computed at run time), (name computed at run time) +1tools/event.go(name computed at run time)tools/health.go(name computed at run time), (name computed at run time), (name computed at run time)tools/ingress.go(name computed at run time), (name computed at run time), (name computed at run time), (name computed at run time), (name computed at run time)tools/job.go(name computed at run time), (name computed at run time), (name computed at run time), (name computed at run time), (name computed at run time)tools/namespace.go(name computed at run time), (name computed at run time), (name computed at run time), (name computed at run time), (name computed at run time)tools/node.go(name computed at run time), (name computed at run time), (name computed at run time), (name computed at run time), (name computed at run time)tools/operations.go(name computed at run time), (name computed at run time), (name computed at run time)tools/pod.go(name computed at run time), (name computed at run time), (name computed at run time), (name computed at run time), (name computed at run time)tools/rbac.golist_roles, get_role, list_role_bindings, get_role_binding, list_cluster_roles, get_cluster_role, list_cluster_role_bindings, get_cluster_role_binding, list_service_accounts, get_service_accounttools/secret.go(name computed at run time), (name computed at run time), (name computed at run time), (name computed at run time), (name computed at run time)tools/service.go(name computed at run time), (name computed at run time), (name computed at run time), (name computed at run time), (name computed at run time), (name computed at run time)tools/storage.golist_persistent_volumes, get_persistent_volume, delete_persistent_volume, create_persistent_volume_claim, list_persistent_volume_claims, get_persistent_volume_claim, delete_persistent_volume_claim, list_storage_classes, get_storage_class
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests1 manifest: go.mod
- Lockfiles checked against OSV1 file resolved and checked against the OSV database
- Known vulnerabilities in production dependencies HIGH6 production packages with known advisories
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK versiongithub.com/mark3labs/mcp-go v0.52.0
- 1 check: credential harvestingChecked on every scan. Results in this category are published only after a person has verified them.
- Undeclared credential accessNot checked: no tool description could be read to compare with the code
- Credentials sent over the networkNot checked: no tool description could be read to compare with the code
- Tools that read credentialsNot known: no tool's code could be followed
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionNot checked: no tool description could be read to compare with the code
- Tool descriptions presentEvery tool has a description the model and the user can read
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (6 in production)
github.com/klauspost/compressGo v1.18.0 HIGH 3 advisories 1.18.71.20.2
- HIGHGHSA-259r-337f-4rfw CVE-2026-63209 GO-2026-5841Compress/s2: Integer Overflow or Wraparound and Out-of-bounds Write in compress
- MEDIUMGO-2026-5841 CVE-2026-63209 GHSA-259r-337f-4rfwOOB read in github.com/klauspost/compress/s2
- MEDIUMGO-2026-6865 CVE-2026-116591 GHSA-fpmh-frq8-7rj8Panic on two-block frames in github.com/klauspost/compress
github.com/moby/spdystreamGo v0.5.0 HIGH 2 advisories 0.5.1
- HIGHGHSA-pc3f-x583-g7j2 CVE-2026-35469 GO-2026-4958SpdyStream: DOS on CRI
- MEDIUMGO-2026-4958 CVE-2026-35469 GHSA-pc3f-x583-g7j2Uncontrolled resource consumption when parsing SPDY frames in github.com/moby/spdystream
golang.org/x/netGo v0.43.0 MEDIUM 18 advisories 0.45.00.53.00.55.0+4 more
- MEDIUMGO-2026-6603 BIT-golang-2026-78659 CVE-2026-78659HTTP/2 server memory exhaustion due to Trailer headers in net/http
- MEDIUMGO-2026-5029 CVE-2026-25681Invoking incorrect handling of character references in DOCTYPE nodes in golang.org/x/net/html
- MEDIUMGHSA-5cv4-jp36-h3mw CVE-2026-25680 GO-2026-5028Go Net HTML parser is vulnerable to denial of service
- MEDIUMGO-2026-6611 BIT-golang-2026-78669 CVE-2026-78669Excessive CPU consumption from repeated initial window changes in net/http
- MEDIUMGO-2026-6617 BIT-golang-2026-97032 CVE-2026-97032HTTP/2 server crash due to HPACK encoder race in net/http
- MEDIUMGO-2026-4918 BIT-golang-2026-33814 CVE-2026-33814Infinite loop in HTTP/2 transport when given bad SETTINGS_MAX_FRAME_SIZE in net/http/internal/http2 in golang.org/x/net
- MEDIUMGO-2026-5027 CVE-2026-42502Invoking incorrect handling of HTML elements in foreign content in golang.org/x/net/html
- MEDIUMGO-2026-6612 BIT-golang-2026-78663 CVE-2026-78663Double flow control refund on HTTP/2 server streams in net/http
- MEDIUMGO-2026-5026 CVE-2026-39821Invoking failure to reject ASCII-only Punycode-encoded labels in golang.org/x/net/idna
- MEDIUMGO-2026-6866 CVE-2026-97045Check all ancestor namespace transitions when rendering raw text in html in golang.org/x/net
- MEDIUMGO-2026-5030 CVE-2026-27136Invoking duplicate attributes can cause XSS in golang.org/x/net/html
- MEDIUMGO-2026-6860 CVE-2026-78661Avoid quadratic complexity when coalescing text nodes in html in golang.org/x/net
- MEDIUMGO-2026-4440 CVE-2025-47911 GHSA-w4gw-w5jq-g9jhQuadratic parsing complexity in golang.org/x/net/html
- MEDIUMGO-2026-5942 BIT-golang-2026-46600 CVE-2026-46600Parsing an invalid SVCB or HTTPS RR can panic in golang.org/x/net/dns/dnsmessage
- MEDIUMGO-2026-5028 CVE-2026-25680 GHSA-5cv4-jp36-h3mwInvoking denial of service when parsing arbitrary HTML in golang.org/x/net/html
- MEDIUMGO-2026-5025 CVE-2026-42506Invoking incorrect handling of namespaced elements in foreign content in golang.org/x/net/html
- MEDIUMGO-2026-6610 BIT-golang-2026-78660 CVE-2026-78660HTTP/2 transport accepts malformed framing-related headers in net/http
- MEDIUMGO-2026-4441 CVE-2025-58190Infinite parsing loop in golang.org/x/net
golang.org/x/textGo v0.28.0 MEDIUM 2 advisories 0.39.00.41.0
- MEDIUMGO-2026-6629 CVE-2026-56851Panic parsing crafted input in x/text/secure/precis in golang.org/x/text
- MEDIUMGO-2026-5970 CVE-2026-56852Infinite loop on invalid input in golang.org/x/text
github.com/mark3labs/mcp-goGo v0.52.0 MEDIUM 1 advisory 2026-11-09
- MEDIUMGO-2026-6911SSRF and credential leak via unvalidated redirects and SSE endpoint origin in github.com/mark3labs/mcp-go
golang.org/x/sysGo v0.35.0 MEDIUM 1 advisory 0.44.0
- MEDIUMGO-2026-5024 CVE-2026-39824Invoking integer overflow in NewNTUnicodeString in golang.org/x/sys/windows
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | Streamable HTTP, SSE, stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | github.com/mark3labs/mcp-go v0.52.0 |
| Servers in the code | 1 (Kubernetes MCP Server) |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-07-27 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 3 catalogs (awesome_tensorblock, github_search, mcpservers_org) |
|---|---|
| License | MIT |
| Created | 2025-03-24 |
| Topics | golang kubernetes mcp mcp-server |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.