MCP server · Audited from source
DBJavaGenix MCP server
by zhaoxingpeng/dbjavagenixNOASSERTION licenceAudited 8 Oct 2026 · source 050750ea5212
Is it safe? With care — CAUTION, grade B (87/100). It exposes 18 tools: 16 read, 2 write and 0 destructive. The audit recorded 6 findings (0 critical, 0 high, 3 medium, 2 low). Maintainer's description: 面向 Java 后端开发的智能数据库代码生成工具:基于 MCP 解析 MySQL 等数据库结构与关系,生成 Entity、DAO、Service、Controller 等分层代码,并支持模板扩展、规范校验与依赖管理。
Cite
Cite this page
ModelsAtlas. “DBJavaGenix MCP server (zhaoxingpeng/dbjavagenix)”. Retrieved 8 Oct 2026. https://modelsatlas.com/mcp/zhaoxingpeng/dbjavagenix
Trust audit
Audit 0.4.1 · full source read 8 Oct 2026
6 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
- FilesystemDeclared3 observations
- NetworkDeclared1 observation
- ShellDeclared2 observations
- DependenciesNot pinnedSome ranges float
- SecretsFoundSee the findings
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS 1 finding |
L1 Static source | Secrets, path traversal, supply chain | WARN 5 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS |
L3 Inventory | Declared tools match the source | PASS |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
zhaoxingpengUser accountAccount type recorded when we read the repository. - PackagePublished on npm
dbjavagenix-mcp-serverat version 0.1.1 - LicenceNOASSERTIONFrom the repository, as read at the audited commit.
- Last push26 days agoActivity of the repository when we read it.
- Source commit read050750ea5212The audit covers exactly this commit, read on 8 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory18 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (6)
Sorted by severity
MEDIUMCode injectioncode.dynamic_import · src/dbjavagenix/database/observability_tools.py:90
__import__(mod_name)
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.db_uri · tests/unit/test_config.py:31
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/unit/test_config.py:40
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · requirements-dev.txt
pytest, pytest-asyncio, pytest-cov, ruff, mypy, pre-commit
- Why
- 6 requirement(s) not pinned with ==
- Fix
- pin exact versions
LOWSupply chainsupply.unpinned · requirements.txt
mcp, pydantic, sqlalchemy, pymysql, psycopg2-binary, PyYAML, python-dotenv, pystache
- Why
- 13 requirement(s) not pinned with ==
- Fix
- pin exact versions
INFOInventory / provenanceinv.oversize · docs/design/dbjavagenix-architecture.png
docs/design/dbjavagenix-architecture.png
- Why
- 3925427 bytes not read
- Fix
- —
Tools it exposes
18 declared in source · 0 destructive
| Tool | Risk | What it does |
|---|---|---|
db_connect_test | write | Test database connection and create connection session |
db_query_execute | write | Execute custom SQL query (SELECT only for safety) |
codegen_render_entity | read | d |
db_codegen_analyze | read | Analyze database table structure for code generation with template context |
db_disconnect | read | Close an existing database connection session |
db_query_databases | read | List all databases on the server |
db_query_table_exists | read | Check if a table exists in the database |
db_query_tables | read | List all tables in a specific database |
db_table_columns | read | Get detailed column information for a table |
db_table_describe | read | Get complete table structure information including columns, types, constraints |
db_table_foreign_keys | read | Get foreign key relationships for a table |
db_table_indexes | read | Get index information for a table |
db_table_primary_keys | read | Get primary key information for a table |
duplicate | read | test |
search_tools | read | d |
springboot_analyze_dependencies | read | Analyze project dependencies and generate intelligent recommendations for code generation |
springboot_read_config | read | Read Spring Boot project configuration (YAML/Properties/Bootstrap) and infer base package |
springboot_validate_project | read | Validate SpringBoot project structure and dependencies before code generation |
Install
Package version 0.1.1 · audited commit 050750e
Read the findings first. The most severe is Code injection (medium) at src/dbjavagenix/database/observability_tools.py.
One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 0.1.1. The audit covers commit 050750e only.
claude mcp add dbjavagenix-mcp-server --env AI_API_KEY=${AI_API_KEY} --env ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY} --env DBJAVAGENIX_TEST_DB_PASSWORD=${DBJAVAGENIX_TEST_DB_PASSWORD} -- npx -y [email protected]{
"mcpServers": {
"dbjavagenix-mcp-server": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"AI_API_KEY": "${AI_API_KEY}",
"ANTHROPIC_API_KEY": "${ANTHROPIC_API_KEY}",
"DBJAVAGENIX_TEST_DB_PASSWORD": "${DBJAVAGENIX_TEST_DB_PASSWORD}"
}
}
}
}The command pins the package version recorded in the source (0.1.1); the audit covers commit 050750ea5212. Transport: stdio. Reads these environment variables: AI_API_KEY, ANTHROPIC_API_KEY, DBJAVAGENIX_TEST_DB_PASSWORD. Give it the narrowest token it needs.
Audit history
- !CAUTION B 87 / 100
First audit ·
050750ea5212
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/zhaoxingpeng/dbjavagenix/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about DBJavaGenix MCP server
What is the DBJavaGenix MCP server?
What tools does DBJavaGenix expose?
Is DBJavaGenix safe to connect to an agent?
What credentials does DBJavaGenix need?
How does DBJavaGenix run?
How current is this page?
Sources
- zhaoxingpeng/dbjavagenix on GitHub — the source we read, its licence, stars and activityObserved · 8 Oct 2026
- ModelsAtlas trust audit — CAUTION verdict for commit 050750ea5212Observed · 8 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 DBJavaGenix MCP server?
- What tools does DBJavaGenix expose?
- Is DBJavaGenix safe to connect to an agent?