grahambrooks/symgraph
Semantic code intelligence MCP server - build knowledge graphs of codebases to enhance AI-assisted code exploration.
348862d1ea29symgraph2026.11.13 in Cargo.tomlPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.
- In 9 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
Top risks in plain words
- MEDIUM1 production dependency has known vulnerabilities (worst: medium).
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Give it a narrowly scoped token
Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.
- Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 22 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
symgraph-blame, symgraph-churn, symgraph-coupling-score, symgraph-diff-impact, symgraph-god-struct, symgraph-impact and 2 moresymgraph-reindexsymgraph-reindexNo tool was seen to: connect to the internet or other hosts; read passwords, tokens or keys; touch sensitive locations.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- files1 tool · symgraph-reindex
Not all three are present in the tools the scanner traced.
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (22: 22 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
symgraph-blametool Run git blame over the lines of a symbol's definition. Shows who last changed each line and when.Processes
Run git blame over the lines of a symbol's definition. Shows who last changed each line and when.
symgraph-calleestool Find all functions/methods that a specific symbol calls.
Find all functions/methods that a specific symbol calls.
symgraph-callerstool Find all functions/methods that call a specific symbol.
Find all functions/methods that call a specific symbol.
symgraph-churntool Show file change frequency (churn) over a recent window. Highlights hotspots most likely to harbor bugs.Processes
Show file change frequency (churn) over a recent window. Highlights hotspots most likely to harbor bugs.
symgraph-contexttool Build focused code context for a specific task. Returns entry points, related symbols, and code snippets.
Build focused code context for a specific task. Returns entry points, related symbols, and code snippets.
symgraph-coupling-scoretool Rank module-pair coupling on strength (contract/model/intrusive) × distance × volatility (churn). Produces the hotspots table directly. Supports format='json'. Processes
Rank module-pair coupling on strength (contract/model/intrusive) × distance × volatility (churn). Produces the hotspots table directly. Supports format='json'. Reindex after edits.
symgraph-definitiontool Get the full source code of a symbol. Returns the complete definition with surrounding context lines.
Get the full source code of a symbol. Returns the complete definition with surrounding context lines.
symgraph-diff-impacttool Analyze the impact of changing a specific region of code. Shows directly modified symbols and their callers.Processes
Analyze the impact of changing a specific region of code. Shows directly modified symbols and their callers.
symgraph-dispatch-sitestool Find every file that dispatches on a member of the given enum (control coupling). Verifies completeness before a trait/strategy refactor. Supports format='json'
Find every file that dispatches on a member of the given enum (control coupling). Verifies completeness before a trait/strategy refactor. Supports format='json'.
symgraph-filetool List all symbols defined in a specific file. Returns functions, classes, methods, etc.
List all symbols defined in a specific file. Returns functions, classes, methods, etc.
symgraph-god-structtool Rank structs/classes by pub-field count × inbound-reference count × churn — the 'where is the architectural debt' entry point. Supports format='json'.Processes
Rank structs/classes by pub-field count × inbound-reference count × churn — the 'where is the architectural debt' entry point. Supports format='json'.
symgraph-hierarchytool Get the hierarchy of a symbol showing parent/child contains relationships (e.g., class contains methods).
Get the hierarchy of a symbol showing parent/child contains relationships (e.g., class contains methods).
symgraph-impacttool Analyze the impact of changing a symbol. Breaks inbound coupling down by edge kind (method-call/contract, field-read/model, field-write/intrusive), counts inbouProcesses
Analyze the impact of changing a symbol. Breaks inbound coupling down by edge kind (method-call/contract, field-read/model, field-write/intrusive), counts inbound modules, and (with churn=true) annotates volatility. Supports format='json'.
symgraph-implementationstool Find all classes/structs that implement an interface or extend a trait/class.
Find all classes/structs that implement an interface or extend a trait/class.
symgraph-module-graphtool Aggregate the resolved graph to a file/dir/module boundary. Returns the dependency adjacency list with edge counts, fan-in/fan-out per node, and detected cyclesProcesses
Aggregate the resolved graph to a file/dir/module boundary. Returns the dependency adjacency list with edge counts, fan-in/fan-out per node, and detected cycles (SCCs). Supports format='json'. Reindex after edits.
symgraph-nodetool Get detailed information about a specific code symbol.
Get detailed information about a specific code symbol.
symgraph-pathtool Find call paths from one symbol to another. Shows how function A reaches function B through intermediate calls.
Find call paths from one symbol to another. Shows how function A reaches function B through intermediate calls.
symgraph-referencestool Find all references to a symbol including calls, imports, type usages, and other relationships.
Find all references to a symbol including calls, imports, type usages, and other relationships.
symgraph-reindextool Trigger reindexing of the codebase. When files are provided, only those files are updated in place; otherwise a full shadow rebuild runs in the background.ProcessesFilesEnv varsoutside text
Trigger reindexing of the codebase. When files are provided, only those files are updated in place; otherwise a full shadow rebuild runs in the background.
symgraph-searchtool Quick symbol search by name. Returns locations only (no code).
Quick symbol search by name. Returns locations only (no code).
symgraph-statustool Get the status of the symgraph index. Shows statistics about indexed files, symbols, and relationships.
Get the status of the symgraph index. Shows statistics about indexed files, symbols, and relationships.
symgraph-unusedtool Find unused symbols (functions, methods, classes) with no incoming references. Helps identify dead code.
Find unused symbols (functions, methods, classes) with no incoming references. Helps identify dead code.
Text the model reads (22)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
symgraph-context tool
Build focused code context for a specific task. Returns entry points, related symbols, and code snippets.
symgraph-search tool
Quick symbol search by name. Returns locations only (no code).
symgraph-callers tool
Find all functions/methods that call a specific symbol.
symgraph-callees tool
Find all functions/methods that a specific symbol calls.
symgraph-impact tool
Analyze the impact of changing a symbol. Breaks inbound coupling down by edge kind (method-call/contract, field-read/model, field-write/intrusive), counts inbound modules, and (with churn=true) annotates volatility. Supports format='json'.
symgraph-definition tool
Get the full source code of a symbol. Returns the complete definition with surrounding context lines.
symgraph-file tool
List all symbols defined in a specific file. Returns functions, classes, methods, etc.
symgraph-references tool
Find all references to a symbol including calls, imports, type usages, and other relationships.
symgraph-reindex tool
Trigger reindexing of the codebase. When files are provided, only those files are updated in place; otherwise a full shadow rebuild runs in the background.
symgraph-node tool
Get detailed information about a specific code symbol.
symgraph-status tool
Get the status of the symgraph index. Shows statistics about indexed files, symbols, and relationships.
symgraph-hierarchy tool
Get the hierarchy of a symbol showing parent/child contains relationships (e.g., class contains methods).
symgraph-path tool
Find call paths from one symbol to another. Shows how function A reaches function B through intermediate calls.
symgraph-unused tool
Find unused symbols (functions, methods, classes) with no incoming references. Helps identify dead code.
symgraph-implementations tool
Find all classes/structs that implement an interface or extend a trait/class.
symgraph-diff-impact tool
Analyze the impact of changing a specific region of code. Shows directly modified symbols and their callers.
symgraph-blame tool
Run git blame over the lines of a symbol's definition. Shows who last changed each line and when.
symgraph-churn tool
Show file change frequency (churn) over a recent window. Highlights hotspots most likely to harbor bugs.
symgraph-module-graph tool
Aggregate the resolved graph to a file/dir/module boundary. Returns the dependency adjacency list with edge counts, fan-in/fan-out per node, and detected cycles (SCCs). Supports format='json'. Reindex after edits.
symgraph-coupling-score tool
Rank module-pair coupling on strength (contract/model/intrusive) × distance × volatility (churn). Produces the hotspots table directly. Supports format='json'. Reindex after edits.
symgraph-god-struct tool
Rank structs/classes by pub-field count × inbound-reference count × churn — the 'where is the architectural debt' entry point. Supports format='json'.
symgraph-dispatch-sites tool
Find every file that dispatches on a member of the given enum (control coupling). Verifies completeness before a trait/strategy refactor. Supports format='json'.
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 22 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 22 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 22 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Requests any addressNo tool sends a request to an address the caller supplies — 22 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 22 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processes8 of 22 capabilities start processes; 14 more call code the scanner could not follow, where it may happen
- Tools that touch files1 of 22 capabilities touch files; 21 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 22 capabilities; 22 more call code the scanner could not follow, where it may happen
Where the code is: 22 handlers in 1 file at commit 348862d1ea29
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests1 manifest: Cargo.toml
- Lockfiles checked against OSV1 file resolved and checked against the OSV database
- Known vulnerabilities in production dependencies MEDIUM1 production package with known advisories
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK versionrmcp 3.7.0
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 22 capabilities; 22 more call code the scanner could not follow, where it may happen
- Environment variables1 capability reads environment variables (often API keys)
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (1 in production)
chronocrates.io 0.4.45 MEDIUM 1 advisory no fix yet
- MEDIUMRUSTSEC-2026-0543chrono is unmaintained
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | not stated in the code the scanner read; most local servers talk over stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | rmcp 3.7.0 |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-11-14 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 1 catalog (github_search) |
|---|---|
| License | MIT |
| Created | 2026-02-01 |
| Topics | mcp-server |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.