MCP server · Audited from source
schemagate MCP server
by ashishsinha1602/schemagateApache-2.0 licenceAudited 12 Oct 2026 · source c3869f7631d6
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.
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
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
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
mod = __import__(mods[key])
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMNetwork egressnet.raw_ip · Dockerfile:52
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
# 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
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
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
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
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
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
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
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"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
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
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
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
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
sig = base64.b64decode(rec["sig"], validate=True)
- Why
- No further detail recorded for this rule.
- Fix
- —
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 · CHANGELOG.md:723
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
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.
Safer alternatives
All agent orchestration servers →s2mgtvodois2/postgresql-mcp-js
🔌 Simplify PostgreSQL interactions with a secure MCP server for LLMs, enabling efficient access to schemas, tables, and query execution.
googleapis/mcp-toolbox-sdk-python
Python SDK for interacting with the MCP Toolbox for Databases.
googleapis/mcp-toolbox-sdk-js
Javascript SDK for interacting with the MCP Toolbox for Databases.
Audit history
- ✕BLOCK D 62 / 100
First audit ·
c3869f7631d6
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 schemagate MCP server
What is the schemagate MCP server?
Is schemagate safe to connect to an agent?
What credentials does schemagate need?
How does schemagate run?
How current is this page?
I already installed schemagate. What should I do?
Can the verdict change?
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.
- What is the schemagate MCP server?
- Is schemagate safe to connect to an agent?
- What credentials does schemagate need?