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

MCP server · Audited from source

GitDiagram MCP server

by ahmedkhaleel2004/gitdiagramMIT licenceAudited 14 Oct 2026 · source bba2a4fa4828

npm gitdiagram-renderstreamable-http★ 18,177
✕BLOCKGrade D · 69/100 · 14 Oct 2026 · bba2a4f

Is it safe? No — BLOCK, grade D (69/100). It exposes 5 tools: 3 read, 2 write and 0 destructive. The audit recorded 26 findings (0 critical, 3 high, 4 medium, 19 low). Maintainer's description: Visualize any GitHub codebase: free interactive architecture diagrams and one-minute explainer videos. Replace 'hub' with 'diagram' in any GitHub URL.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “GitDiagram MCP server (ahmedkhaleel2004/gitdiagram)”. Retrieved 14 Oct 2026. https://modelsatlas.com/mcp/ahmedkhaleel2004/gitdiagram

Why this is BLOCK. The audit found 0 critical and 3 high findings; the most severe is Inventory / provenance at src/features/mcp-app/diagram-payload.ts. Each finding is listed below with its file and line.

Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.

Trust audit

Audit 0.4.1 · full source read 14 Oct 2026

Trust score69/100✕BLOCK D
0 critical3 high4 medium19 low0 info

26 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

  • FilesystemDeclared3 observations
  • NetworkDeclared10 observations
  • ShellDeclared5 observations
  • DependenciesNot pinnedSome ranges float
  • SecretsNone foundNo keys in source

Findings (26)

Sorted by severity · the 25 most severe of 26 are listed

HIGHInventory / provenanceinv.suspicious_name · src/features/mcp-app/diagram-payload.ts
F-13 Inventory / provenanceCWE-1104Layer L0
diagram-payload.ts
Why
member named after an attack tool
Fix
remove or justify
HIGHNetwork egressnet.env_exfil · experiments/video-whisper-workers-ai/lib.ts:21
F-04 Network egressCWE-200 · CWE-319Layer L1
/.env" ... fetch(
Why
reads secrets in the same file that sends data out
Fix
—
HIGHPrompt injectionprompt.override · experiments/video-practical/previous-prompt.txt:8
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
The repository material (README, file tree, source excerpts) arrives between <repository_material> and </repository_material>. Pictures attached from the README, just before it, are repository materia
Why
asks the agent to drop prior instructions or safety
Fix
remove the instruction
MEDIUMNetwork egressnet.raw_ip · .env.example:166
F-04 Network egressCWE-200 · CWE-319Layer L1
# origin on Vercel, http://127.0.0.1:$PORT in a production container.
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.raw_ip · experiments/video-bespoke/frames.ts:16
F-04 Network egressCWE-200 · CWE-319Layer L1
const ORIGIN = process.env.STAGE_ORIGIN ?? "http://127.0.0.1:4599";
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.raw_ip · experiments/video-bespoke/render.ts:20
F-04 Network egressCWE-200 · CWE-319Layer L1
const origin = process.env.STAGE_ORIGIN ?? "http://127.0.0.1:4599";
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.raw_ip · experiments/video-haiku-designer/sheets.ts:16
F-04 Network egressCWE-200 · CWE-319Layer L1
const ORIGIN = process.env.STAGE_ORIGIN ?? "http://127.0.0.1:4599";
Why
No further detail recorded for this rule.
Fix
—
LOWInventory / provenanceinv.hidden_file · .prettierignore
F-13 Inventory / provenanceCWE-1104Layer L0
.prettierignore
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · workers/presence/.dev.vars.example
F-13 Inventory / provenanceCWE-1104Layer L0
.dev.vars.example
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.suspicious_name · src/features/mcp-app/diagram-payload.test.ts
F-13 Inventory / provenanceCWE-1104Layer L0
diagram-payload.test.ts
Why
member named after an attack tool
Fix
remove or justify
LOWCode injectioncode.eval_exec · src/lib/chunk-reload.test.ts:23
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
new Function("window", chunkReloadScript)(win);
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
LOWInsecure cryptocrypto.weak_hash · src/lib/colo-cache.test.ts:104
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
createHash("md5")
Why
No further detail recorded for this rule.
Fix
—
LOWInsecure cryptocrypto.weak_hash · src/server/generate/source-context.test.ts:17
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
createHash("sha1")
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.credential_store · src/lib/cloudflare-edge.test.ts:185
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
"/.aws/credentials",
Why
touches a credential store
Fix
—
LOWFilesystem / pathfs.credential_store · src/lib/cloudflare-edge.test.ts:186
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
"/s3/.aws/config",
Why
touches a credential store
Fix
—
LOWFilesystem / pathfs.traversal · experiments/video-whisper-workers-ai/analyze.ts:31
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
const { narrateBeats } = await import("../../src/server/explainer/narration");
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · experiments/video-whisper-workers-ai/voice-stub.ts:8
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
} from "../../src/server/explainer/voice-alignment";
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/components/generation/diagram-connections.test.tsx:75
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
expect(evidenceUrl("owner/repo", "../../evil/x.ts")).toBe(
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/lib/sponsor-creative.test.ts:8
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
const root = new URL("../../", import.meta.url);
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/lib/sponsor-readme.test.ts:9
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
const root = new URL("../../", import.meta.url);
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.metadata_ip · src/server/explainer/readme-images.test.ts:277
F-04 Network egressCWE-200 · CWE-319Layer L1
"169.254.169.254",
Why
cloud metadata endpoint: the classic SSRF credential grab
Fix
—
LOWNetwork egressnet.metadata_ip · src/server/explainer/readme-images.test.ts:407
F-04 Network egressCWE-200 · CWE-319Layer L1
dns.set("inside.example.com", ["169.254.169.254"]);
Why
cloud metadata endpoint: the classic SSRF credential grab
Fix
—
LOWNetwork egressnet.raw_ip · docs/dev-setup.md:139
F-04 Network egressCWE-200 · CWE-319Layer L1
The same source can be redeployed to Railway later through `Dockerfile` and `railway.json`. Those files are an offline recovery recipe, not a live standby. The container uses Next.js standalone output
Why
No further detail recorded for this rule.
Fix
—
LOWObfuscation / stealthobf.zero_width · src/server/generate/repository-context.parity.test.ts:301
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
["api/service.go", "blob"],
Why
No further detail recorded for this rule.
Fix
—
LOWObfuscation / stealthobf.zero_width · src/server/generate/repository-context.parity.test.ts:305
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
["api/service.go", { sha: "a".repeat(40), size: 127_000 }],
Why
No further detail recorded for this rule.
Fix
—

Tools it exposes

5 declared in source · 0 destructive

3 read2 write0 destructive
ToolWhat it doesRisk
write_scriptDIRECTOR only: submit the filmwrite
write_shotsDESIGNER only: submit the exact shots for the beats you were assigned.write
GitDiagramRead selected repositories to generate architecture diagramsread
find_repository_diagramsNo description in the sourceread
get_explainer_videoNo description in the sourceread

Safer alternatives

Audit history

  1. ✕BLOCK D 69 / 100

    First audit · bba2a4fa4828

README badge

Badges show the current verdict, BLOCK included

ModelsAtlas: BLOCK DMODELSATLASBLOCK · D

A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.

Questions about GitDiagram MCP server

What is the GitDiagram MCP server?
Visualize any GitHub codebase: free interactive architecture diagrams and one-minute explainer videos. Replace 'hub' with 'diagram' in any GitHub URL.
What tools does GitDiagram expose?
5 in total: 3 read-only, 2 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is GitDiagram safe to connect to an agent?
No — not without reading the findings first. The audit graded it D (69/100) and found 3 critical or high issues in the source. Each one is listed on this page with the file and line it is on.
What credentials does GitDiagram need?
It reads ANTHROPIC_ADMIN_KEY, ANTHROPIC_API_KEY, CACHE_KEY_SECRET, CLOUDFLARE_API_TOKEN, CRON_SECRET, GLOBALPING_TOKEN, INDEXNOW_KEY, NEXT_PUBLIC_POSTHOG_KEY, OPENAI_API_KEY, OPENAI_COMPLIMENTARY_DAILY_LIMIT_TOKENS, OPENROUTER_API_KEY and PAGESPEED_API_KEY 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 does GitDiagram run?
It speaks streamable-http, so it runs as a service you connect to over the network. It is published on npm as gitdiagram-render.
How current is this page?
The grade is for one exact copy of the source (bba2a4fa4828), read on 2026-10-14. The repository is watched and re-audited when it changes.
I already installed GitDiagram. What should I do?
Remove it from your client's MCP configuration, then rotate any API keys and tokens that were in your environment while it ran.
Can the verdict change?
Yes. The repository is watched and re-audited when its source changes. If the findings are removed the verdict updates, and the history on this page shows it.

Sources

  • ahmedkhaleel2004/gitdiagram on GitHub — the source we read, its licence, stars and activityObserved · 14 Oct 2026
  • ModelsAtlas trust audit — BLOCK verdict for commit bba2a4fa4828Observed · 14 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.