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

MCP server · Audited from source

codegraph-brain MCP server

by zaebee/codegraph-brainMIT licenceAudited 14 Oct 2026 · source f4349eb94dd9

npm graph-debugger 0.1.0stdio★ 2
!CAUTIONGrade B · 83/100 · 14 Oct 2026 · f4349eb
2GitHub stars

Is it safe? With care — CAUTION, grade B (83/100). It exposes 2 tools: 2 read, 0 write and 0 destructive. The audit recorded 25 findings (0 critical, 0 high, 4 medium, 17 low). Maintainer's description: Code graph for AI agents: impact analysis and call tracing over MCP (Python, TypeScript). Local, deterministic, SQLite.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “codegraph-brain MCP server (zaebee/codegraph-brain)”. Retrieved 14 Oct 2026. https://modelsatlas.com/mcp/zaebee/codegraph-brain

Trust audit

Audit 0.4.1 · full source read 14 Oct 2026

Trust score83/100!CAUTION B
0 critical0 high4 medium17 low4 info

25 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

  • FilesystemDeclared1 observation
  • NetworkDeclared13 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 5 findings
L1 Static sourceSecrets, path traversal, supply chainWARN 17 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 3 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 zaebeeUser accountAccount type recorded when we read the repository.
  • PackagePublished on npmgraph-debugger at version 0.1.0
  • LicenceMITFrom the repository, as read at the audited commit.
  • Last pushTodayActivity of the repository when we read it.
  • Source commit readf4349eb94dd9The audit covers exactly this commit, read on 14 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory2 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 (25)

Sorted by severity

MEDIUMNetwork egressnet.raw_ip · scripts/colab_bench.sh:64
F-04 Network egressCWE-200 · CWE-319Layer L1
curl -fsS http://127.0.0.1:11434/api/version >/dev/null 2>&1 && break
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.raw_ip · scripts/colab_bench.sh:67
F-04 Network egressCWE-200 · CWE-319Layer L1
curl -fsS http://127.0.0.1:11434/api/version >/dev/null
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.raw_ip · scripts/ollama_visitor.sh:98
F-04 Network egressCWE-200 · CWE-319Layer L1
==> visitor up: http://127.0.0.1:${BIND_PORT} -> ollama-worker-${WORKER_ID} (loopback only)
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.raw_ip · scripts/ollama_visitor.sh:101
F-04 Network egressCWE-200 · CWE-319Layer L1
export GUARDIAN_OLLAMA_HOST=http://127.0.0.1:${BIND_PORT}
Why
No further detail recorded for this rule.
Fix
—
LOWInventory / provenanceinv.hidden_file · .pre-commit-config.yaml
F-13 Inventory / provenanceCWE-1104Layer L0
.pre-commit-config.yaml
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .release-please-manifest.json
F-13 Inventory / provenanceCWE-1104Layer L0
.release-please-manifest.json
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · ui/.env.development
F-13 Inventory / provenanceCWE-1104Layer L0
.env.development
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · ui/.prettierignore
F-13 Inventory / provenanceCWE-1104Layer L0
.prettierignore
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInsecure cryptocrypto.weak_hash · src/cgis/pipeline.py:115
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
return hashlib.md5(content.encode("utf-8"), usedforsecurity=False).hexdigest()
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.credential_store · benchmarks/guardian/pr-313.yaml:29
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
target. Demonstrated: a symlink to a non-existent .ssh/authorized_keys was
Why
touches a credential store
Fix
—
LOWFilesystem / pathfs.credential_store · tests/unit/test_guardian_metrics.py:255
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
victim = tmp_path / "authorized_keys.jsonl"
Why
touches a credential store
Fix
—
LOWFilesystem / pathfs.credential_store · tests/unit/test_guardian_metrics.py:264
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
_record(tmp_path / "authorized_keys")
Why
touches a credential store
Fix
—
LOWFilesystem / pathfs.credential_store · tests/unit/test_guardian_metrics.py:274
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
target = tmp_path / "secrets" / "authorized_keys"
Why
touches a credential store
Fix
—
LOWFilesystem / pathfs.credential_store · tests/unit/test_mcp_server.py:915
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
target = tmp_path / "authorized_keys"
Why
touches a credential store
Fix
—
LOWFilesystem / pathfs.traversal · tests/unit/test_backfill_review_fingerprint.py:158
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
json.dumps({"guardian_sha": "../../etc/passwd", "finder_model": "gemini-2.5-flash"}) + "\n"
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · tests/unit/test_guardian_evidence.py:162
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
"path", ["/etc/passwd", "../outside.py", "src/../../escape.py", "C:\\windows\\a.py"]
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · tests/unit/test_tsconfig_paths.py:121
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
_web_app(tmp_path, {"@components/*": ["../../../outside/*"]})
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · tests/unit/test_tsconfig_paths.py:192
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
"apps/web/tsconfig.json": _tsconfig(extends="../../tsconfig.base"),
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · tests/unit/test_tsconfig_paths.py:205
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
{"baseUrl": "./src"}, extends="../../configs/base.json"
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · docs/GUARDIAN_REMOTE_OLLAMA.md:55
F-04 Network egressCWE-200 · CWE-319Layer L1
export GUARDIAN_OLLAMA_HOST=http://127.0.0.1:11435
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · ui/package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@xyflow/react, dagre, html-to-image, react, react-dom, react-error-boundary, zustand, @eslint/js
Why
30 dependency range(s) float
Fix
pin exact versions or ship a lockfile
INFOInventory / provenanceinv.oversize · ui/public/graph.json
F-13 Inventory / provenanceCWE-1104Layer L0
ui/public/graph.json
Why
2510511 bytes not read
Fix
—
INFOPrompt injectionprompt.credential_read · PRIVACY.md:33
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
CGIS reads source files under the path you point it at. It does not read your SSH keys, cloud credentials, browser data, keychain, clipboard, shell history, or files outside the directory you ingest.
Why
asks the agent to read credentials
Fix
—
INFOPrompt injectionprompt.credential_read · docs/AUDIT.md:31
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
1. **Access.** A read-only clone or a tarball. No production access, no credentials, no environment.
Why
asks the agent to read credentials
Fix
—
INFOPrompt injectionprompt.persistence · docs/specs/2026-07-30-guardian-precision-bench-plan.md:33
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
| `scripts/guardian_review.py` (modify) | `--record-finder PATH` |
Why
instructs the agent to persist itself in the user's environment
Fix
—

Tools it exposes

2 declared in source · 0 destructive

2 read0 write0 destructive
ToolRiskWhat it does
cgis_alphareadFirst tool.
cgis_betareadSecond tool.

Install

Package version 0.1.0 · audited commit f4349eb

Read the findings first. The most severe is Network egress (medium) at scripts/colab_bench.sh.

claude mcp add codegraph-brain -- uvx codegraph-brain==0.28.0

The command pins the package version recorded in the source (0.1.0); the audit covers commit f4349eb94dd9. Transport: stdio. No environment variables required.

Audit history

  1. !CAUTION B 83 / 100

    First audit · f4349eb94dd9

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION BMODELSATLASCAUTION · B
[![ModelsAtlas: CAUTION B](https://modelsatlas.com/mcp/zaebee/codegraph-brain/badge.svg)](https://modelsatlas.com/mcp/zaebee/codegraph-brain/)

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 codegraph-brain MCP server

What is the codegraph-brain MCP server?
Code graph for AI agents: impact analysis and call tracing over MCP (Python, TypeScript). Local, deterministic, SQLite.
What tools does codegraph-brain expose?
2 in total: 2 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is codegraph-brain safe to connect to an agent?
With care. The audit graded it B (83/100) and found 25 things worth knowing before you trust this server, listed below with the exact line each was found on.
What credentials does codegraph-brain need?
No credential environment variables were found in its source, so it appears to need none.
How does codegraph-brain run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as graph-debugger at 0.1.0.
How current is this page?
The grade is for one exact copy of the source (f4349eb94dd9), read on 2026-10-14. The repository is watched and re-audited when it changes.

Sources

  • zaebee/codegraph-brain on GitHub — the source we read, its licence, stars and activityObserved · 14 Oct 2026
  • ModelsAtlas trust audit — CAUTION verdict for commit f4349eb94dd9Observed · 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.