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

MCP server · Audited from source

schemagate MCP server

by ashishsinha1602/schemagateApache-2.0 licenceAudited 12 Oct 2026 · source c3869f7631d6

PyPI ashiq 1.4.1stdiostreamable-http★ 102
✕BLOCKGrade D · 62/100 · 12 Oct 2026 · c3869f7

Is it safe? No — BLOCK, grade D (62/100). The tool list is built at runtime, so we cannot read it from the source. The audit recorded 20 findings (0 critical, 1 high, 7 medium, 10 low). Maintainer's description: Text-to-SQL access control: schema selection that gives the LLM only the tables the caller is allowed to read. Row-level-security-aware table pruning for LangChain, MCP and any SQL agent. Postgres, Oracle, MySQL, SQL Server. 75% fewer prompt tokens.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “schemagate MCP server (ashishsinha1602/schemagate)”. Retrieved 12 Oct 2026. https://modelsatlas.com/mcp/ashishsinha1602/schemagate

Why this is BLOCK. The audit found 0 critical and 1 high findings; the most severe is Hard-coded secrets at src/schemagate/cli.py:9. 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 12 Oct 2026

Trust score62/100✕BLOCK D
0 critical1 high7 medium10 low2 info

20 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

  • FilesystemDeclared4 observations
  • NetworkDeclared5 observations
  • ShellDeclared1 observation
  • DependenciesPinnedNothing floats
  • SecretsFoundSee the findings

Findings (20)

Sorted by severity

HIGHHard-coded secretssecret.db_uri · src/schemagate/cli.py:9
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
—
MEDIUMCode injectioncode.dynamic_import · studio/build_answers.py:55
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
mod = __import__(mods[key])
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.raw_ip · Dockerfile:52
F-04 Network egressCWE-200 · CWE-319Layer L1
CMD curl -fsS "http://127.0.0.1:${SCHEMAGATE_STUDIO_PORT}/api/health" || exit 1
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.raw_ip · oci/stack/cloud-init.yaml:316
F-04 Network egressCWE-200 · CWE-319Layer L1
# then http://127.0.0.1:8770 in your own browser. `--no-connect` is
Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.db_uri · benchmarks/fixture_1200.py:530
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.db_uri · tests/test_groups_live.py:9
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.db_uri · tests/test_groups_live_server.py:10
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.db_uri · tests/test_rls_live.py:4
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
—
LOWCode injectioncode.deserialize · benchmarks/complex_sql_1200.py:113
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
cat.add_all(pickle.loads(cache.read_bytes()))
Why
deserialises untrusted bytes into live objects
Fix
use json or yaml.safe_load
LOWCode injectioncode.deserialize · benchmarks/fixture_1200.py:749
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
cat.add_all(pickle.loads(cache.read_bytes()))
Why
deserialises untrusted bytes into live objects
Fix
use json or yaml.safe_load
LOWCode injectioncode.dynamic_import · tests/test_no_restricted_names.py:101
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
mod = importlib.import_module(fixture)
Why
No further detail recorded for this rule.
Fix
—
LOWCode injectioncode.eval_exec · tests/test_dialect_mssql_live.py:37
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
f"IF SCHEMA_ID('{SCHEMA}') IS NULL EXEC('CREATE SCHEMA {SCHEMA}')",
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
LOWNetwork egressnet.metadata_ip · oci/stack/README.md:136
F-04 Network egressCWE-200 · CWE-319Layer L1
local process on that VM can read at `169.254.169.254`. It is also in
Why
cloud metadata endpoint: the classic SSRF credential grab
Fix
—
LOWNetwork egressnet.raw_ip · README.md:208
F-04 Network egressCWE-200 · CWE-319Layer L1
schemagate                        # opens http://127.0.0.1:8770 on the 42-object demo
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · oci/README.md:63
F-04 Network egressCWE-200 · CWE-319Layer L1
then open <http://127.0.0.1:8770>. See `stack/README.md` for why it is not public.
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · oci/stack/README.md:206
F-04 Network egressCWE-200 · CWE-319Layer L1
Then open <http://127.0.0.1:8770>. It is already pointed at the database the
Why
No further detail recorded for this rule.
Fix
—
LOWObfuscation / stealthobf.decode_call · src/schemagate/pq.py:258
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
sig = base64.b64decode(rec["sig"], validate=True)
Why
No further detail recorded for this rule.
Fix
—
LOWInventory / provenancemcp.no_tools_extracted · server.json
F-13 Inventory / provenanceCWE-1104Layer L3
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 · CHANGELOG.md:723
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
and access control lists while the answer is a password.
Why
asks the agent to read credentials
Fix
—
INFOPrompt injectionprompt.credential_read · oci/stack/ORACLE-TEST.md:71
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
for line in open("/etc/schemagate.env"):
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.

Audit history

  1. ✕BLOCK D 62 / 100

    First audit · c3869f7631d6

README badge

Badges show the current verdict, BLOCK included

ModelsAtlas: BLOCK DMODELSATLASBLOCK · D

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 schemagate MCP server

What is the schemagate MCP server?
Text-to-SQL access control: schema selection that gives the LLM only the tables the caller is allowed to read. Row-level-security-aware table pruning for LangChain, MCP and any SQL agent. Postgres, Oracle, MySQL, SQL Server. 75% fewer prompt tokens.
Is schemagate safe to connect to an agent?
No — not without reading the findings first. The audit graded it D (62/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 schemagate need?
It reads ADMIN_PASSWORD, ANTHROPIC_API_KEY, GEMINI_API_KEY, GOOGLE_API_KEY, HF_TOKEN, OCI_CLI_AUTH, OPENAI_API_KEY, SCHEMAGATE_DATABASE_URL, SCHEMAGATE_ORACLE_PASSWORD, SGBENCH_PASSWORD and WALLET_PASSWORD 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 does schemagate run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on PyPI as ashiq.
How current is this page?
The grade is for one exact copy of the source (c3869f7631d6), read on 2026-10-12. The repository is watched and re-audited when it changes.
I already installed schemagate. 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

  • ashishsinha1602/schemagate on GitHub — the source we read, its licence, stars and activityObserved · 12 Oct 2026
  • ModelsAtlas trust audit — BLOCK verdict for commit c3869f7631d6Observed · 12 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.