Altinity/altinity-mcp
Model Context Protocol server to use ClickHouse® databases in your AI agents
52a69eaa8153Paths 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
Prompt Integrity 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.
- Prompt Integrity: no tool description could be read from the code
- In 15 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
- 3 of 16 tools, prompts and resources could not be followed through the code
- 11 places in the code register tools whose names are computed at run time; how many tools that makes cannot be read from the code
- 1 tool, prompt or resource registered only in the repository's tests is not counted on this page
Top risks in plain words
- HIGHTools
execute_query,write_queryrun SQL by design: an agent steered by prompt injection can use them that way. - HIGH7 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.
- Connect it with a read-only database user
execute_query,write_querycan run any query it is given. - Turn off the tools you do not use
Most MCP clients let you disable single tools. If you do not need
execute_query,write_query, switch them off. - Update its vulnerable packages
Use
github.com/andybalholm/brotli1.2.7 or later,github.com/go-jose/go-jose/v44.1.6 or later,github.com/klauspost/compress1.20.2 or later,go.opentelemetry.io/otel1.47.0 or later and 3 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 7 tools, 6 resources, 2 prompts. 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.
HandleSchemaResource, HandleTableResource, execute_query, write_queryNo tool was seen to: start other programs on the machine; connect to the internet or other hosts; 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.
- 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
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.
- files4 tools · HandleSchemaResource, HandleTableResource, execute_query +1
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 (15: 7 tools, 6 resources, 2 prompts)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
execute_querytool Executes a read-only SQL query against ClickHouse and returns the results. Only SELECT, WITH, SHOW, DESCRIBE, EXISTS, and EXPLAIN statements are allowed — writeFilesoutside textRuns SQL
Executes a read-only SQL query against ClickHouse and returns the results. Only SELECT, WITH, SHOW, DESCRIBE, EXISTS, and EXPLAIN statements are allowed — write operations are rejected; use write_query for those.
write_querytool Executes a write query (INSERT, UPDATE, DELETE, ALTER, CREATE, DROP, TRUNCATE) against ClickHouse. Not registered when the server runs in read-only mode.Filesoutside textRuns SQL
Executes a write query (INSERT, UPDATE, DELETE, ALTER, CREATE, DROP, TRUNCATE) against ClickHouse. Not registered when the server runs in read-only mode.
(name computed at run time)prompt
No description.
(name computed at run time)prompt
No description.
(name computed at run time)resource
No description.
(name computed at run time)resource
No description.
(name computed at run time)resource
No description.
(name computed at run time)resource
No description.
HandleSchemaResourceresource Filesoutside text
No description.
HandleTableResourceresource Filesoutside text
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.
Text the model reads (15)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
(name computed at run time) tool
execute_query tool
Executes a read-only SQL query against ClickHouse and returns the results. Only SELECT, WITH, SHOW, DESCRIBE, EXISTS, and EXPLAIN statements are allowed — write operations are rejected; use write_query for those.
write_query tool
Executes a write query (INSERT, UPDATE, DELETE, ALTER, CREATE, DROP, TRUNCATE) against ClickHouse. Not registered when the server runs in read-only mode.
(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) prompt
(name computed at run time) prompt
(name computed at run time) resource
(name computed at run time) resource
(name computed at run time) resource
(name computed at run time) resource
HandleSchemaResource resource
HandleTableResource resource
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 — 13 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 — 13 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 — 13 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 — 13 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQL2 findings the scanner could not decide; see the findings below
- Tools that start processesNot seen in the traced code of 15 capabilities; 12 more call code the scanner could not follow, where it may happen
- Tools that touch files4 of 15 capabilities touch files; 8 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 15 capabilities; 12 more call code the scanner could not follow, where it may happen
Where the code is: 15 handlers in 3 files at commit 52a69eaa8153
pkg/server/server.go(name computed at run time), (name computed at run time), (name computed at run time), (name computed at run time), execute_query, write_query, (name computed at run time), (name computed at run time), (name computed at run time), (name computed at run time)pkg/server/server_dynamic_tools.go(name computed at run time), (name computed at run time), (name computed at run time)pkg/server/server_resources.goHandleSchemaResource, HandleTableResource
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityNot checked: no tool description could be read from the code
- Dependency manifests1 manifest: go.mod
- Lockfiles checked against OSV1 file resolved and checked against the OSV database
- Known vulnerabilities in production dependencies HIGH7 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/modelcontextprotocol/go-sdk v1.8.0
- 2 checks: undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Credential harvestingNot checked: no tool description could be read from the code
- Tools that read credentialsNot seen in the traced code of 15 capabilities; 12 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 executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read (11 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 (7 in production)
github.com/go-jose/go-jose/v4Go v4.1.5 HIGH 1 advisory 4.1.6
- HIGHGHSA-mgcc-cww5-fp2q CVE-2026-116587Go JOSE: DoS when parsing JWKs that contain RSA keys
golang.org/x/netGo v0.59.0 MEDIUM 7 advisories 0.60.00.62.0
- MEDIUMGO-2026-6610 BIT-golang-2026-78660 CVE-2026-78660HTTP/2 transport accepts malformed framing-related headers in net/http
- MEDIUMGO-2026-6612 BIT-golang-2026-78663 CVE-2026-78663Double flow control refund on HTTP/2 server streams in net/http
- MEDIUMGO-2026-6860 CVE-2026-78661Avoid quadratic complexity when coalescing text nodes in html in golang.org/x/net
- MEDIUMGO-2026-6611 BIT-golang-2026-78669 CVE-2026-78669Excessive CPU consumption from repeated initial window changes in net/http
- MEDIUMGO-2026-6603 BIT-golang-2026-78659 CVE-2026-78659HTTP/2 server memory exhaustion due to Trailer headers 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-6866 CVE-2026-97045Check all ancestor namespace transitions when rendering raw text in html in golang.org/x/net
go.opentelemetry.io/otel/traceGo v1.44.0 MEDIUM 2 advisories 1.47.0
- MEDIUMGO-2026-6974 CVE-2026-128085 GHSA-q7gw-24fr-5p69AttributeValueLengthLimit bypass via U+FFFD runes in go.opentelemetry.io/otel/sdk
- MEDIUMGHSA-q7gw-24fr-5p69 CVE-2026-128085 GO-2026-6974opentelemetry-go: AttributeValueLengthLimit is fully bypassed by attribute values composed of valid U+FFFD runes
github.com/andybalholm/brotliGo v1.2.2 MEDIUM 1 advisory 1.2.7
- MEDIUMGO-2026-6888 BIT-brotli-2026-111497 BIT-dotnet-2026-111497 BIT-dotnet-sdk-2026-111497 BIT-node-2026-111497 BIT-node-min-2026-111497 BIT-powershell-2026-111497 CVE-2026-111497 GHSA-9v8h-qqgm-4m35 GHSA-c9gr-gmg4-2vqv PYSEC-2026-4322 PYSEC-2026-4323Excessive memory allocation when decompressing crafted streams in github.com/andybalholm/brotli
github.com/klauspost/compressGo v1.19.1 MEDIUM 1 advisory 1.20.2
- MEDIUMGO-2026-6865 CVE-2026-116591 GHSA-fpmh-frq8-7rj8Panic on two-block frames in github.com/klauspost/compress
go.opentelemetry.io/otelGo v1.44.0 MEDIUM 1 advisory 1.47.0
- MEDIUMGO-2026-6975 CVE-2026-128086 GHSA-rrfc-gjm9-cgrjMemory allocation amplification in W3C baggage parsing in go.opentelemetry.io/otel
golang.org/x/cryptoGo v0.57.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 | 3 catalogs (github_search, glama, mcp_toplist) |
|---|---|
| License | not stated |
| Created | 2025-06-06 |
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.