MCP server · Audited from source
codegraph-brain MCP server
by zaebee/codegraph-brainMIT licenceAudited 14 Oct 2026 · source f4349eb94dd9
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.
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
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
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS 5 findings |
L1 Static source | Secrets, path traversal, supply chain | WARN 17 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 3 findings |
L3 Inventory | Declared tools match the source | PASS |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
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 npm
graph-debuggerat 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
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
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
==> 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
export GUARDIAN_OLLAMA_HOST=http://127.0.0.1:${BIND_PORT}- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInsecure cryptocrypto.weak_hash · src/cgis/pipeline.py:115
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
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
victim = tmp_path / "authorized_keys.jsonl"
- Why
- touches a credential store
- Fix
- —
LOWFilesystem / pathfs.credential_store · tests/unit/test_guardian_metrics.py:264
_record(tmp_path / "authorized_keys")
- Why
- touches a credential store
- Fix
- —
LOWFilesystem / pathfs.credential_store · tests/unit/test_guardian_metrics.py:274
target = tmp_path / "secrets" / "authorized_keys"
- Why
- touches a credential store
- Fix
- —
LOWFilesystem / pathfs.credential_store · tests/unit/test_mcp_server.py:915
target = tmp_path / "authorized_keys"
- Why
- touches a credential store
- Fix
- —
LOWFilesystem / pathfs.traversal · tests/unit/test_backfill_review_fingerprint.py:158
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
"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
_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
"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
{"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
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
@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
ui/public/graph.json
- Why
- 2510511 bytes not read
- Fix
- —
INFOPrompt injectionprompt.credential_read · PRIVACY.md:33
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
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
| `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
| Tool | Risk | What it does |
|---|---|---|
cgis_alpha | read | First tool. |
cgis_beta | read | Second 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
- !CAUTION B 83 / 100
First audit ·
f4349eb94dd9
README badge
For maintainers · updates on every re-audit
[](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?
What tools does codegraph-brain expose?
Is codegraph-brain safe to connect to an agent?
What credentials does codegraph-brain need?
How does codegraph-brain run?
How current is this page?
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.
- What is the codegraph-brain MCP server?
- What tools does codegraph-brain expose?
- Is codegraph-brain safe to connect to an agent?