MCP server · Audited from source
GitDiagram MCP server
by ahmedkhaleel2004/gitdiagramMIT licenceAudited 14 Oct 2026 · source bba2a4fa4828
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.
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
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
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
/.env" ... fetch(
- Why
- reads secrets in the same file that sends data out
- Fix
- —
HIGHPrompt injectionprompt.override · experiments/video-practical/previous-prompt.txt:8
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
# 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
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
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
const ORIGIN = process.env.STAGE_ORIGIN ?? "http://127.0.0.1:4599";
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInventory / provenanceinv.suspicious_name · src/features/mcp-app/diagram-payload.test.ts
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
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
createHash("md5")- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInsecure cryptocrypto.weak_hash · src/server/generate/source-context.test.ts:17
createHash("sha1")- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.credential_store · src/lib/cloudflare-edge.test.ts:185
"/.aws/credentials",
- Why
- touches a credential store
- Fix
- —
LOWFilesystem / pathfs.credential_store · src/lib/cloudflare-edge.test.ts:186
"/s3/.aws/config",
- Why
- touches a credential store
- Fix
- —
LOWFilesystem / pathfs.traversal · experiments/video-whisper-workers-ai/analyze.ts:31
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
} 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
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
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
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
"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
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
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
["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
["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
| Tool | What it does | Risk |
|---|---|---|
write_script | DIRECTOR only: submit the film | write |
write_shots | DESIGNER only: submit the exact shots for the beats you were assigned. | write |
GitDiagram | Read selected repositories to generate architecture diagrams | read |
find_repository_diagrams | No description in the source | read |
get_explainer_video | No description in the source | read |
Safer alternatives
wildcard-official/deepcontext-mcp
DeepContext is an MCP server that adds symbol-aware semantic search to Claude Code, Codex CLI, and other agents for faster, smarter context on large codebases.
glifxyz/glif-mcp-server
Glif's hosted MCP server, plugin and skills for creating images, video and audio. Works with Claude, ChatGPT, Codex, Cursor and more.
toloka/tendem-mcp
Home for Human In The Loop Tendem plugin for your agent.
Audit history
- ✕BLOCK D 69 / 100
First audit ·
bba2a4fa4828
README badge
Badges show the current verdict, BLOCK included
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?
What tools does GitDiagram expose?
Is GitDiagram safe to connect to an agent?
What credentials does GitDiagram need?
How does GitDiagram run?
How current is this page?
I already installed GitDiagram. What should I do?
Can the verdict change?
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.
- What is the GitDiagram MCP server?
- What tools does GitDiagram expose?
- Is GitDiagram safe to connect to an agent?