MCP server · Org-owned · Audited from source
CodeGraphContext MCP server
by shashankss1205/codegraphcontextMIT licenceAudited 3 Oct 2026 · source 407160b67728
Is it safe? No — BLOCK, grade F (51/100). It exposes 10 tools: 10 read, 0 write and 0 destructive. The audit recorded 57 findings (0 critical, 1 high, 10 medium, 41 low). Maintainer's description: An MCP server plus a CLI tool that indexes local code into a graph database to provide context to AI assistants.
Cite
Cite this page
ModelsAtlas. “CodeGraphContext MCP server (shashankss1205/codegraphcontext)”. Retrieved 3 Oct 2026. https://modelsatlas.com/mcp/shashankss1205/codegraphcontext
Why this is BLOCK. The audit found 0 critical and 1 high findings; the most severe is Code injection at extensions/vscode/src/webview/setupPanel.ts:67. 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 3 Oct 2026
57 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
- FilesystemDeclared8 observations
- NetworkDeclared5 observations
- ShellDeclared4 observations
- DependenciesNot pinnedSome ranges float
- SecretsFoundSee the findings
Findings (57)
Sorted by severity · the 25 most severe of 57 are listed
HIGHCode injectioncode.eval_exec · extensions/vscode/src/webview/setupPanel.ts:67
exec(cmd, async (error: any, stdout: string, stderr: string) => {- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
MEDIUMCode injectioncode.dynamic_import · src/codegraphcontext/core/__init__.py:320
module = importlib.import_module(_LAZY_IMPORTS[name], __package__)
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMCode injectioncode.dynamic_import · src/codegraphcontext/core/database_embedded_kuzu.py:217
backend = importlib.import_module(spec.python_module)
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMCode injectioncode.dynamic_import · src/codegraphcontext/core/database_embedded_kuzu.py:683
importlib.import_module(spec.python_module)
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.generic · tests/unit/utils/test_secret_scanner.py:71
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.github · tests/unit/utils/test_sanitize_secrets.py:38
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.github · tests/unit/utils/test_sanitize_secrets.py:40
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.github · tests/unit/utils/test_sanitize_secrets.py:43
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.github · tests/unit/utils/test_sanitize_secrets.py:50
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.github · tests/unit/utils/test_sanitize_secrets.py:55
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.private_key · tests/unit/utils/test_secret_scanner.py:63
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInventory / provenanceinv.binary · tests/fixtures/sample_projects/sample_project_c/cgc_sample
cgc_sample
- Why
- a compiled or binary member cannot be reviewed from source
- Fix
- ship source, or explain the binary in the README
LOWInventory / provenanceinv.binary · tests/fixtures/sample_projects/sample_project_cpp/main.exe
main.exe
- Why
- a compiled or binary member cannot be reviewed from source
- Fix
- ship source, or explain the binary in the README
LOWInventory / provenanceinv.binary · tests/fixtures/sample_projects/sample_project_cpp/sample_project.exe
sample_project.exe
- Why
- a compiled or binary member cannot be reviewed from source
- Fix
- ship source, or explain the binary in the README
LOWInventory / provenanceinv.binary · tests/fixtures/sample_projects/sample_project_java/out/com/example/app/Main.class
Main.class
- Why
- a compiled or binary member cannot be reviewed from source
- Fix
- ship source, or explain the binary in the README
LOWInventory / provenanceinv.binary · tests/fixtures/sample_projects/sample_project_java/out/com/example/app/annotations/Logged.class
Logged.class
- Why
- a compiled or binary member cannot be reviewed from source
- Fix
- ship source, or explain the binary in the README
LOWCode injectioncode.dynamic_import · tests/fixtures/sample_projects/sample_project/dynamic_dispatch.py:33
mod = importlib.import_module(mod_name)
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWCode injectioncode.dynamic_import · tests/fixtures/sample_projects/sample_project/dynamic_imports.py:11
mod = __import__(name)
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWCode injectioncode.eval_exec · website/public/wasm/web-tree-sitter.js:2343
ASM_CONSTS[start] = eval(func);
- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWCode injectioncode.eval_exec · website/public/wasm/web-tree-sitter.js:2366
moduleExports[name] = eval(func);
- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
Tools it exposes
10 declared in source · 0 destructive
| Tool | What it does | Risk |
|---|---|---|
Classic | Standard colored circles | read |
Flowchart | SVG diagram with Bezier edges | read |
Galaxy | Orbital rings by connections | read |
Icon | Emoji icons by node type | read |
analyze_code_relationships | Inspects coupling references, inherits, imports, and calls between symbols. | read |
calculate_cyclomatic_complexity | Computes cyclomatic complexity scores for all functions in the codebase. | read |
find_dead_code | Locates unreferenced classes and functions inside the repository codebase. | read |
find_most_complex_functions | Retrieves the functions with the highest cyclomatic complexity scores. | read |
get_repository_stats | Retrieves general repository graph statistics (counts of files, classes, methods, and relationship linkages). | read |
list_indexed_repositories | Lists all repositories indexed in the user | read |
Safer alternatives
We could not match this server to a job, so we cannot suggest a like-for-like alternative. Read-only servers are the least-privilege place to start.
Audit history
- ✕BLOCK F 51 / 100
First audit ·
407160b67728
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 CodeGraphContext MCP server
What is the CodeGraphContext MCP server?
What tools does CodeGraphContext expose?
Is CodeGraphContext safe to connect to an agent?
What credentials does CodeGraphContext need?
How current is this page?
I already installed CodeGraphContext. What should I do?
Can the verdict change?
Sources
- shashankss1205/codegraphcontext on GitHub — the source we read, its licence, stars and activityObserved · 3 Oct 2026
- ModelsAtlas trust audit — BLOCK verdict for commit 407160b67728Observed · 3 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 CodeGraphContext MCP server?
- What tools does CodeGraphContext expose?
- Is CodeGraphContext safe to connect to an agent?