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

MCP server · Org-owned · Audited from source

CodeGraphContext MCP server

by shashankss1205/codegraphcontextMIT licenceAudited 3 Oct 2026 · source 407160b67728

npm vite_react_shadcn_ts★ 4,242
✕BLOCKGrade F · 51/100 · 3 Oct 2026 · 407160b

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.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
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

Trust score51/100✕BLOCK F
0 critical1 high10 medium41 low5 info

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
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
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
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
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
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
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
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
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
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

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
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

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
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

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
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

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
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

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
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

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
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

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
F-13 Inventory / provenanceCWE-1104Layer L0
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
F-13 Inventory / provenanceCWE-1104Layer L0
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
F-13 Inventory / provenanceCWE-1104Layer L0
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
F-13 Inventory / provenanceCWE-1104Layer L0
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
F-13 Inventory / provenanceCWE-1104Layer L0
Logged.class
Why
a compiled or binary member cannot be reviewed from source
Fix
ship source, or explain the binary in the README
LOWInventory / provenanceinv.hidden_file · extensions/vscode/.vscodeignore
F-13 Inventory / provenanceCWE-1104Layer L0
.vscodeignore
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · tests/fixtures/sample_projects/sample_project/.cgcignore
F-13 Inventory / provenanceCWE-1104Layer L0
.cgcignore
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · tests/fixtures/sample_projects/sample_project_c/.cgc_compile_commands.json
F-13 Inventory / provenanceCWE-1104Layer L0
.cgc_compile_commands.json
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · tests/fixtures/sample_projects/sample_project_c/.cgcignore
F-13 Inventory / provenanceCWE-1104Layer L0
.cgcignore
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · tests/fixtures/sample_projects/sample_project_cpp/.cgc_compile_commands.json
F-13 Inventory / provenanceCWE-1104Layer L0
.cgc_compile_commands.json
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWCode injectioncode.dynamic_import · tests/fixtures/sample_projects/sample_project/dynamic_dispatch.py:33
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
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
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
mod = __import__(name)
Why
No further detail recorded for this rule.
Fix
—
LOWCode injectioncode.eval_exec · website/public/wasm/web-tree-sitter.js:2343
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
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
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
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

10 read0 write0 destructive
ToolWhat it doesRisk
ClassicStandard colored circlesread
FlowchartSVG diagram with Bezier edgesread
GalaxyOrbital rings by connectionsread
IconEmoji icons by node typeread
analyze_code_relationshipsInspects coupling references, inherits, imports, and calls between symbols.read
calculate_cyclomatic_complexityComputes cyclomatic complexity scores for all functions in the codebase.read
find_dead_codeLocates unreferenced classes and functions inside the repository codebase.read
find_most_complex_functionsRetrieves the functions with the highest cyclomatic complexity scores.read
get_repository_statsRetrieves general repository graph statistics (counts of files, classes, methods, and relationship linkages).read
list_indexed_repositoriesLists all repositories indexed in the userread

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

  1. ✕BLOCK F 51 / 100

    First audit · 407160b67728

README badge

Badges show the current verdict, BLOCK included

ModelsAtlas: BLOCK FMODELSATLASBLOCK · F

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?
An MCP server plus a CLI tool that indexes local code into a graph database to provide context to AI assistants.
What tools does CodeGraphContext expose?
10 in total: 10 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is CodeGraphContext safe to connect to an agent?
No — not without reading the findings first. The audit graded it F (51/100) and found 1 critical or high issue in the source. Each one is listed on this page with the file and line it is on.
What credentials does CodeGraphContext need?
It reads ATLASCLOUD_API_KEY, ATLAS_CLOUD_API_KEY, BUNDLE_TRIGGER_API_KEY, CGC_BUNDLE_PASSWORD, CGC_BUNDLE_VERIFY_KEY, FALKORDB_PASSWORD, GEMINI_API_KEY, GH_TOKEN, GITHUB_TOKEN, HF_ADMIN_WRITE_TOKEN, HF_TOKEN and HUGGING_FACE_HUB_TOKEN from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How current is this page?
The grade is for one exact copy of the source (407160b67728), read on 2026-10-03. The repository is watched and re-audited when it changes.
I already installed CodeGraphContext. What should I do?
Remove it from your client's MCP configuration, then rotate any API keys and tokens that were in your environment while it ran.
Can the verdict change?
Yes. The repository is watched and re-audited when its source changes. If the findings are removed the verdict updates, and the history on this page shows it.

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.