found-cake/kali-mcp-go
MCP runtime for AI-assisted security testing with Kali tools, explicit target controls, bounded scanning, structured evidence, and persistent Docker deployment.
c9462f2e6a67Paths 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
Behavior Transparency is not analysed and has no number.
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.
- Behavior Transparency: no tool description could be read to compare with the code
- In 17 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
- 6 of 9 tools, prompts and resources could not be followed through the code
- 3 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
- MEDIUM1 production dependency has known vulnerabilities (worst: medium).
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
golang.org/x/crypto0.58.1-0.20261009181718-2f1f834330b2 or later. - 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 9 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.
(name computed at run time)No tool was seen to: start other programs on the machine; read or write files; read passwords, tokens or keys; read environment variables; touch sensitive locations.
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.
c.base· (name computed at run time)
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
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- web or API responses3 tools · (name computed at run time)
Not all three are present in the tools the scanner traced.
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 (9: 9 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 Networkoutside text
No description.
(name computed at run time)tool Networkoutside text
No description.
(name computed at run time)tool Networkoutside text
No description.
get_scan_capabilitiestool
No description.
registration.schemastool
No description.
resolve_targettool Resolve target candidates and return signed target_context values with context_expires_at. The caller explicitly selects a candidate and decides when another co
Resolve target candidates and return signed target_context values with context_expires_at. The caller explicitly selects a candidate and decides when another connectivity check and fresh target_context are needed; the server never silently chooses or renews a candidate.
result_artifact_readtool
No description.
schemastool
No description.
server_healthtool Check Kali runtime health and installed-tool readiness.
Check Kali runtime health and installed-tool readiness.
Text the model reads (9)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
get_scan_capabilities tool
(name computed at run time) tool
schemas tool
registration.schemas tool
server_health tool
Check Kali runtime health and installed-tool readiness.
(name computed at run time) tool
(name computed at run time) tool
result_artifact_read tool
resolve_target tool
Resolve target candidates and return signed target_context values with context_expires_at. The caller explicitly selects a candidate and decides when another connectivity check and fresh target_context are needed; the server never silently chooses or renews a candidate.
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 injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 3 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 3 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 3 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Requests any addressNo tool sends a request to an address the caller supplies — 3 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 3 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processesNot seen in the traced code of 9 capabilities; 3 more call code the scanner could not follow, where it may happen
- Tools that touch filesNot seen in the traced code of 9 capabilities; 3 more call code the scanner could not follow, where it may happen
- Tools that call the network3 of 9 capabilities call the network
Where the code is: 9 handlers in 6 files at commit c9462f2e6a67
cmd/mcp-client/capabilities.goget_scan_capabilitiescmd/mcp-client/http_request.go(name computed at run time)cmd/mcp-client/job_tools.goschemascmd/mcp-client/main.goregistration.schemas, server_health, (name computed at run time), (name computed at run time)cmd/mcp-client/result_artifacts.goresult_artifact_readcmd/mcp-client/target_resolution.goresolve_target
- 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 MEDIUM1 production package with known advisories
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK versiongithub.com/modelcontextprotocol/go-sdk v1.8.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 seen in the traced code of 9 capabilities; 3 more call code the scanner could not follow, where it may happen
- 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 (3 only in code no tool reaches)
- 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 (1 in production)
golang.org/x/cryptoGo v0.58.0 MEDIUM 1 advisory 2026-10-09
- MEDIUMGO-2026-5932The golang.org/x/crypto/openpgp package is unmaintained, unsafe by design, and has known security issues
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 | not stated in the code the scanner read; most local servers talk over stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | github.com/modelcontextprotocol/go-sdk v1.8.0 |
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-11-14 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 1 catalog (github_search) |
|---|---|
| License | MIT |
| Created | 2026-04-01 |
| Topics | kali kali-tools mcp mcp-server pentest pentest-tool security |
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.