MCP server safety grade
DBA Brain
Open-source DBA tool for AI agents: graded database health checks, SQL, backups proven by restore
uvx dbabrain · pypi dbabrain 2.0.0 · score 100/100 · scanned 2026-12-05
What it can do
- Yes: Network access
- Yes: Writes or deletes files
- Yes: Runs programs or shell commands
- Yes: Reads environment variables
- Not seen: Runs code built at runtime
These are normal for many MCP servers. They tell you what the server could do with the access you give it.
Risk signals
None of the risk patterns we check for were found.
Worth knowing
Not scored. Often harmless (security tools, denylists and chat bots mention these too), shown so you can judge.
- Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)
dbabrain/db/read_only_query.py:65conn.execute(f"SET LOCAL statement_timeout = {int(timeout_seconds) * 1000}") - Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)
dbabrain/lib/cmd_access.py:83anything with a directory part, so ``/keys/id_rsa`` counts as one on a Windows master too,
- Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)
dbabrain/sre/automation/powershell/07-bootstrap-bastion-ansible.ps1:111…eyScript = "mkdir -p ~/.ssh && chmod 700 ~/.ssh && [ ! -f ~/.ssh/id_ed25519 ] && ssh-keygen -t ed25519 -N '' -f ~/.ssh/id_ed25519 || true; cat ~/.ssh/id_ed25519
Package facts
| Weekly downloads | — |
|---|---|
| First published | 2026-08-22 |
| This version published | 2026-12-04 |
| Versions | 52 |
| Maintainers | — |
| Licence | Apache-2.0 |
| Source repository | github.com/tanthanhkaka01/dba-brain |
| Runs scripts on install | No |
| Files in package | 1,779 (113,418 KB) |
| Web addresses in code | api.telegram.org archive.ubuntu.com dbabrain.dev dev.mysql.com docs.oracle.com get.docker.com mcp.dbabrain.dev schemas.openxmlformats.org security.ubuntu.com sqlite.org vn.archive.ubuntu.com www.postgresql.org |
Where we saw each capability (12 examples)
- Reads environment variables (where API keys usually live)
dbabrain/backup_restore/cli.py:1010log_scope = os.getenv(LOG_SCOPE_ENV_VAR) or _default_log_scope(args.command)
- Reads environment variables (where API keys usually live)
dbabrain/backup_restore/cli.py:1528…e(_exception_metadata(exc, app_config=app_config, log_scope=os.getenv(LOG_SCOPE_ENV_VAR) or "backup_restore"))
- Reads environment variables (where API keys usually live)
dbabrain/backup_restore/copy_backup.py:206env_value = os.getenv(password_ref, "").strip()
- Writes, moves or deletes files
dbabrain/backup_restore/copy_backup.py:1324shutil.rmtree(staging, ignore_errors=True)
- Writes, moves or deletes files
dbabrain/backup_restore/copy_backup.py:1429shutil.rmtree(staging, ignore_errors=True)
- Writes, moves or deletes files
dbabrain/backup_restore/copy_backup.py:1510with config.robocopy_log_path.open("a", encoding="utf-8") as file: - Makes network requests
dbabrain/common/dbabrain_key_admin.py:34import urllib.request
- Makes network requests
dbabrain/common/dbabrain_key_admin.py:57request = urllib.request.Request(url, data=data, method=method, headers=headers)
- Makes network requests
dbabrain/common/dbabrain_key_admin.py:59with urllib.request.urlopen(request, timeout=timeout) as answer:
- Runs shell commands or other programs
dbabrain/common/docker_db/healthcheck.py:77runner=subprocess.run,
- Runs shell commands or other programs
dbabrain/common/docker_db/healthcheck.py:103…_detail(statuses: dict[str, str], *, tail: int = 20, runner=subprocess.run) -> str:
- Runs shell commands or other programs
dbabrain/common/docker_db/provisioner.py:278runner=subprocess.run,
Badge
Maintainer? Add it to your README:
[](https://nodekya.com/mcp/dev-dbabrain-dbabrain)
The badge updates when we re-grade a new release from the registry.
Automated scan of the published package, not a security audit. A good grade means we found none of the patterns we check for (method). Think we got it wrong? Email hello@primemoverindustries.com and we re-check within 2 days.
Need a package that isn't here checked, or a fresh check of an unreleased version? Check any npm or PyPI package (US$9).
This grade as JSON (free, for agents).