Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Klag MCP server

by themoah/klagApache-2.0 licenceAudited 7 Oct 2026 · source 634d677e312d

npm klag-website 0.2.0★ 88
✓SAFEGrade B · 89/100 · 7 Oct 2026 · 634d677
88GitHub stars

Is it safe? Yes — SAFE, grade B (89/100). It exposes 7 tools: 5 read, 2 write and 0 destructive. The audit recorded 13 findings (0 critical, 0 high, 0 medium, 11 low). Maintainer's description: new kafka lag exporter: lightweight and extendable.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Klag MCP server (themoah/klag)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/themoah/klag

Trust audit

Audit 0.4.1 · full source read 7 Oct 2026

Trust score89/100✓SAFE B
0 critical0 high0 medium11 low2 info

13 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemNone observedNothing seen in the source
  • NetworkDeclared2 observations
  • ShellNone observedNothing seen in the source
  • DependenciesNot pinnedSome ranges float
  • SecretsNone foundNo keys in source

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS 4 findings
L1 Static sourceSecrets, path traversal, supply chainPASS 7 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 2 findings
L3 InventoryDeclared tools match the sourcePASS
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner themoahUser accountAccount type recorded when we read the repository.
  • PackagePublished on npmklag-website at version 0.2.0
  • LicenceApache-2.0From the repository, as read at the audited commit.
  • Last push2 days agoActivity of the repository when we read it.
  • Source commit read634d677e312dThe audit covers exactly this commit, read on 7 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory7 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (13)

Sorted by severity

LOWInventory / provenanceinv.hidden_file · .node-version
F-13 Inventory / provenanceCWE-1104Layer L0
.node-version
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · dashboard/.convert_v2_to_v1.py
F-13 Inventory / provenanceCWE-1104Layer L0
.convert_v2_to_v1.py
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · website/.node-version
F-13 Inventory / provenanceCWE-1104Layer L0
.node-version
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · website/public/.assetsignore
F-13 Inventory / provenanceCWE-1104Layer L0
.assetsignore
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWCode injectioncode.deserialize · website/scripts/gen-llms.mjs:21
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
parse: (str) => yaml.load(str) ?? {},
Why
deserialises untrusted bytes into live objects
Fix
use json or yaml.safe_load
LOWCode injectioncode.deserialize · website/scripts/gen-skills.mjs:20
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
parse: (str) => yaml.load(str) ?? {},
Why
deserialises untrusted bytes into live objects
Fix
use json or yaml.safe_load
LOWFilesystem / pathfs.credential_store · scripts/e2e-strimzi-test.sh:95
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
refresh_discovery(){ rm -rf "${HOME}/.kube/cache/discovery" "${HOME}/.kube/cache/http" 2>/dev/null || true; }
Why
touches a credential store
Fix
—
LOWNetwork egressnet.beacon_words · website/astro.config.mjs:52
F-04 Network egressCWE-200 · CWE-319Layer L1
src: 'https://static.cloudflareinsights.com/beacon.min.js',
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.beacon_words · website/astro.config.mjs:53
F-04 Network egressCWE-200 · CWE-319Layer L1
'data-cf-beacon': JSON.stringify({ token: cfToken }),
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · src/test/java/io/github/themoah/klag/mcp/McpUploadIntegrationTest.java:75
F-04 Network egressCWE-200 · CWE-319Layer L1
endpoint = URI.create("http://127.0.0.1:" + server.actualPort() + "/mcp");
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · website/package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@astrojs/sitemap, @astrojs/starlight, astro, gray-matter, js-yaml, sharp, @astrojs/check, typescript
Why
9 dependency range(s) float
Fix
pin exact versions or ship a lockfile
INFOPrompt injectionprompt.credential_read · website/src/content/docs/about.md:11
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
read-only credentials, and it does nothing else — it never produces, consumes, or commits
Why
asks the agent to read credentials
Fix
—
INFOPrompt injectionprompt.credential_read · website/src/content/docs/configuration/reference.md:31
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
settings such as `DD_*`, `OTLP_*`, and `OTEL_*` read environment variables directly and
Why
asks the agent to read credentials
Fix
—

Tools it exposes

7 declared in source · 0 destructive

5 read2 write0 destructive
ToolRiskWhat it does
klagwriteAgent skills for Klag, the Kafka consumer lag exporter: install it against a
klag-llms-indexwriteProject summary, quick start, key metrics, and a linked index of every page.
get_klag_configreadLook up Klag environment variables: name, default value, and what they do
get_klag_docreadReturn the full markdown of a single klag.dev page by its URL path, e.g.
get_klag_metricreadLook up the metrics Klag exports (klag.consumer.lag, klag.consumer.lag.velocity,
klag-llms-fullreadThe full text of every klag.dev page in one document.
search_klag_docsreadFull-text search across klag.dev, the documentation for Klag (the Kafka consumer

Install

Package version 0.2.0 · audited commit 634d677

One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 0.2.0. The audit covers commit 634d677 only.

claude mcp add klag-website --env CF_ANALYTICS_TOKEN=${CF_ANALYTICS_TOKEN} -- npx -y [email protected]

The command pins the package version recorded in the source (0.2.0); the audit covers commit 634d677e312d. Transport: not declared. Reads this environment variable: CF_ANALYTICS_TOKEN. Give it the narrowest token it needs.

Audit history

  1. ✓SAFE B 89 / 100

    First audit · 634d677e312d

README badge

For maintainers · updates on every re-audit

ModelsAtlas: SAFE BMODELSATLASSAFE · B
[![ModelsAtlas: SAFE B](https://modelsatlas.com/mcp/themoah/klag/badge.svg)](https://modelsatlas.com/mcp/themoah/klag/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about Klag MCP server

What is the Klag MCP server?
new kafka lag exporter: lightweight and extendable.
What tools does Klag expose?
7 in total: 5 read-only, 2 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Klag safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does Klag need?
It reads CF_ANALYTICS_TOKEN from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How current is this page?
The grade is for one exact copy of the source (634d677e312d), read on 2026-10-07. The repository is watched and re-audited when it changes.

Sources

  • themoah/klag on GitHub — the source we read, its licence, stars and activityObserved · 7 Oct 2026
  • ModelsAtlas trust audit — SAFE verdict for commit 634d677e312dObserved · 7 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.