MCP server · Audited from source
Gograph MCP server
by ozgurcd/gographMIT licenceAudited 6 Oct 2026 · source 3275c3d5f884
Is it safe? With care — CAUTION, grade C (78/100). The tool list is built at runtime, so we cannot read it from the source. The audit recorded 21 findings (0 critical, 1 high, 0 medium, 19 low). Maintainer's description: Local-only Go static analysis engine with a built-in MCP server. Gives AI coding agents deterministic structural awareness: call graphs, impact analysis, symbol search, and more.
Cite
Cite this page
ModelsAtlas. “Gograph MCP server (ozgurcd/gograph)”. Retrieved 6 Oct 2026. https://modelsatlas.com/mcp/ozgurcd/gograph
Trust audit
Audit 0.4.1 · full source read 6 Oct 2026
21 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
- NetworkNone observedNothing seen in the source
- ShellNone observedNothing seen in the source
- DependenciesPinnedNothing floats
- 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 4 findings |
L1 Static source | Secrets, path traversal, supply chain | PASS 10 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | FAIL 6 findings |
L3 Inventory | Declared tools match the source | PASS 1 finding |
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
ozgurcdUser accountAccount type recorded when we read the repository. - PackageNo packageRuns from a repository checkout or a hosted URL.
- LicenceMITFrom the repository, as read at the audited commit.
- Last pushTodayActivity of the repository when we read it.
- Source commit read3275c3d5f884The audit covers exactly this commit, read on 6 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventoryBuilt at runtimeThe source declares no tools; the server lists them when a client connects, so we cannot read them.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (21)
Sorted by severity
HIGHPrompt injectionprompt.override · docs/coding-agent-usage.md:153
precise targets; it does not hide imported dependency errors or bypass safety
- Why
- asks the agent to drop prior instructions or safety
- Fix
- remove the instruction
LOWCode injectioncode.eval_exec · internal/parser/flow_test.go:27
func handle(r *http.Request, body []byte, db interface{ Exec(string, ...any) error }) {- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWCode injectioncode.eval_exec · internal/parser/parser_features_test.go:155
func localConst(db interface{ Exec(string, ...any) }) {- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWCode injectioncode.eval_exec · internal/parser/parser_features_test.go:165
func localVar(db interface{ Exec(string, ...any) }) {- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWCode injectioncode.eval_exec · internal/parser/parser_features_test.go:170
func shortDeclaration(db interface{ Exec(string, ...any) }) {- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWCode injectioncode.eval_exec · internal/parser/parser_features_test.go:175
func ordinaryAssignment(db interface{ Exec(string, ...any) }) {- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWFilesystem / pathfs.traversal · internal/buildctx/buildctx_test.go:417
if err := os.WriteFile(filepath.Join(analysisRoot, "go.work"), []byte("go 1.26\n\nuse (\n\t.\n\t../../mesa2/core\n)\n"), 0o644); err != nil {- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · internal/buildctx/buildctx_test.go:465
if err := os.WriteFile(filepath.Join(analysisRoot, "go.work"), []byte("go 1.26\n\nuse (\n\t.\n\t../../sibling\n)\n"), 0o644); err != nil {- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · internal/cli/answers1710_test.go:21
if err := os.CopyFS(root, os.DirFS("../../testdata/answers1710")); err != nil {- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · internal/cli/answers1710_test.go:85
if err := os.CopyFS(snapshot, os.DirFS("../../testdata/answers1710")); err != nil {- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · internal/cli/answers177_test.go:20
if err := os.CopyFS(root, os.DirFS("../../testdata/answers177")); err != nil {- Why
- No further detail recorded for this rule.
- Fix
- —
LOWPrompt injectionprompt.transfer_instruction · README.md:245
**Native MCP Server** — all 64 repository query, analysis, and workflow capabilities have project-MCP equivalents for Claude, Cursor, Copilot, and other MCP clients; four additional endpoints cover se
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · docs-site/public/benchmarks/index.html:108
"articleBody": "Claims you can reproduce gograph’s checked-in benchmark uses a controlled Go fixture with manually reviewable ground truth. It verifies implicit interface implementations, interface-di
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · llm-wiki/agent-contract.md:66
All 64 repository query, analysis, and workflow capabilities must remain semantically equivalent across CLI and the project MCP server; four additional project-MCP endpoints implement session lifecycl
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · llm-wiki/project.md:12
`gograph` is a local Go repository indexer for coding agents. CLI and the project MCP server share 64 repository query, analysis, and workflow capabilities; four additional session tools make 68 proje
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
LOWInventory / provenancemcp.no_tools_extracted · server.json
- Why
- the tool list is enumerated at runtime by tools/list, not declared in source
- Fix
- the page says so rather than showing an empty table
INFOPrompt injectionprompt.credential_read · docs/coding-agent-usage.md:1187
- **Project metadata reads** — in addition to `.go` files, gograph reads regular `go.mod`, `go.sum`, `go.work`, `go.work.sum`, and `vendor/modules.txt` metadata, `.gitignore`, Git state, `.gograph/gra
- Why
- asks the agent to read credentials
- Fix
- —
Tools it exposes
None declared in source
The tool list is built at runtime, so we cannot read it from the source.
Install
audited commit 3275c3d
Read the findings first. The most severe is Prompt injection (high) at docs/coding-agent-usage.md.
No connect command is recorded for this server yet. Follow the repository's own instructions, and read the findings above first.
Audit history
- !CAUTION C 78 / 100
First audit ·
3275c3d5f884
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/ozgurcd/gograph/)
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 Gograph MCP server
What is the Gograph MCP server?
Is Gograph safe to connect to an agent?
What credentials does Gograph need?
How does Gograph run?
How current is this page?
Sources
- ozgurcd/gograph on GitHub — the source we read, its licence, stars and activityObserved · 6 Oct 2026
- ModelsAtlas trust audit — CAUTION verdict for commit 3275c3d5f884Observed · 6 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 Gograph MCP server?
- Is Gograph safe to connect to an agent?
- What credentials does Gograph need?