Codex, Plugin
Codex Dbhub Plugin
Native Codex plugin bridging a local DBHub MCP server: execute_sql / search_objects with per-directory environment passthrough.
Compatibility: Not stated.
Grade B
Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
Rescanned at commit 6637ad0d4a2c, unchanged since the check below.
NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV
Why this grade
- NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
plugins/codex-dbhub-plugin/scripts/codex-dbhub-plugin-client.mjs, line 537
const response = await fetch(`${baseUrl}/healthz`, { signal: AbortSignal.timeout(1500) }); - SECRETS_PATH_DOTENV Low
Mentions a .env file.
plugins/codex-dbhub-plugin/scripts/codex-dbhub-plugin-client.mjs, line 427
existsSync(join(process.cwd(), ".env"))
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Pass
No shell or command execution found, and no extra permission was declared.
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
plugins/codex-dbhub-plugin/scripts/codex-dbhub-plugin-client.mjs, line 537
const response = await fetch(`${baseUrl}/healthz`, { signal: AbortSignal.timeout(1500) });
plugins/codex-dbhub-plugin/scripts/codex-dbhub-plugin-client.mjs, line 581
response = await fetch(opts.endpoint, {
plugins/codex-dbhub-plugin/scripts/codex-dbhub-plugin-client.mjs, line 683
const response = await fetch(opts.endpoint, {
Secrets
Concern
reads a credential or environment file.
SECRETS_PATH_DOTENV
plugins/codex-dbhub-plugin/scripts/codex-dbhub-plugin-client.mjs, line 427
existsSync(join(process.cwd(), ".env"))
plugins/codex-dbhub-plugin/scripts/codex-dbhub-plugin-client.mjs, line 433
"No database config found in this directory (DSN / DB_* / DBHUB_DSN / DBHUB_CONFIG / dbhub.toml / .env) " +
plugins/codex-dbhub-plugin/scripts/codex-dbhub-plugin-client.mjs, line 990
if (existsSync(join(process.cwd(), ".env"))) {
Show more
plugins/codex-dbhub-plugin/scripts/codex-dbhub-plugin-client.mjs, line 992
console.log(" .env found in cwd");
.gitignore, line 10
# Local environment / secrets (never commit database credentials)
.gitignore, line 11
.env
README.en.md, line 24
it asks the user instead of searching `.env`, nacos, SSH servers, or other secrets.
README.en.md, line 74
- place a `dbhub.toml` / `.env` in the project root, or
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Pass
No encoded or minified payload found.
Licence
Pass
A licence file is present (LICENSE).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit 6637ad0d4a2c. can reach a host that is not written as a fixed address. reads a credential or environment file.
Date and source
Date checked:
github.com
Commit graded: 6637ad0d4a2ca9ec527628a206878d60e5ca3da8
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.