MCP, MCP server
askdb
AskDB — Give AI agents safe access to your database.
Compatibility: Not stated.
Grade C
One Medium finding. Read the report before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
INSTALL_REMOTE_SCRIPT
Why this grade
- INSTALL_REMOTE_SCRIPT Medium
Fetches a script from the network and runs it (a pipe to a shell, or an install hook with a URL).
install.sh, line 4
# curl -fsSL https://raw.githubusercontent.com/mgorabbani/askdb/main/install.sh | sudo bash
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
Serious
install fetches a script from the network. README documents an installer that pipes a download into a shell. The docs document an installer that pipes a download into a shell.
INSTALL_REMOTE_SCRIPT INSTALL_DOCUMENTED_INSTALLER
README.md, line 109
curl -fsSL https://github.com/mgorabbani/askdb/releases/latest/download/install.sh | sudo bash
install.sh, line 4
# curl -fsSL https://raw.githubusercontent.com/mgorabbani/askdb/main/install.sh | sudo bash
install.sh, line 55
curl -fsSL https://get.docker.com | sh
Show more
spec.md, line 45
- **One-command self-hosted install** - `curl -sSL https://get.askdb.dev | bash`
spec.md, line 353
curl -sSL https://get.askdb.dev | bash
docs/LANDING_PAGE_BRIEF.md, line 183
curl -fsSL https://raw.githubusercontent.com/mgorabbani/askdb/main/install.sh | sudo bash
docs/plans/self-hosted-improvements.md, line 55
│ curl -fsSL https://get.askdb.dev | bash │
docs/plans/self-hosted-improvements.md, line 340
curl -fsSL https://get.docker.com | sh
docs/plans/self-hosted-improvements.md, line 430
curl -fsSL https://get.askdb.dev | sudo bash
docs/plans/self-hosted-improvements.md, line 565
Steps 4, 6, 7. Ships the installer, auto-secrets, and the rewritten README. After this lands, `curl -fsSL https://get.askdb.dev | sudo bash` is the canonical install instruction.
tasks/plan.md, line 198
curl -sSL https://get.askdb.dev | bash
package.json, line 24
prepare
docs/site/index.html, line 1851
<button class="copy-btn" data-copy="curl -fsSL https://raw.githubusercontent.com/mgorabbani/askdb/main/install.sh | sudo bash">copy</button>
docs/site/index.html, line 1853
<div class="terminal-body"><span class="prompt">$</span> curl -fsSL https://raw.githubusercontent.com/mgorabbani/askdb/main/install.sh | sudo bash</div>
docs/site/index.html, line 1885
<button class="copy-btn" data-copy="curl -fsSL https://raw.githubusercontent.com/mgorabbani/askdb/main/install.sh | sudo bash -s -- --mode cloudflare">copy</button>
docs/site/index.html, line 1887
<div class="terminal-body"><span class="prompt">$</span> curl -fsSL https://raw.githubusercontent.com/mgorabbani/askdb/main/install.sh | sudo bash -s -- --mode cloudflare</div>
docs/site/index.html, line 1896
<button class="copy-btn" data-copy="curl -fsSL https://raw.githubusercontent.com/mgorabbani/askdb/main/install.sh | sudo bash -s -- --mode proxyless">copy</button>
docs/site/index.html, line 1898
<div class="terminal-body"><span class="prompt">$</span> curl -fsSL https://raw.githubusercontent.com/mgorabbani/askdb/main/install.sh | sudo bash -s -- --mode proxyless</div>
docs/site/index.html, line 2123
<button class="copy-btn" data-copy="curl -fsSL https://raw.githubusercontent.com/mgorabbani/askdb/main/install.sh | sudo bash">copy</button>
docs/site/index.html, line 2125
<div class="terminal-body"><span class="prompt">$</span> curl -fsSL https://raw.githubusercontent.com/mgorabbani/askdb/main/install.sh | sudo bash</div>
docs/site/llms.txt, line 8
Install (VPS): `curl -fsSL https://raw.githubusercontent.com/mgorabbani/askdb/main/install.sh | sudo bash`
Network
Concern
can reach api.ipify.org. The description does not name that host. can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST
install.sh, line 120
IP=$(curl -fsS https://api.ipify.org 2>/dev/null || curl -fsS https://ifconfig.me 2>/dev/null || true)
install.sh, line 188
if ! curl -fsSL "$REPO_RELEASES/SHA256SUMS" -o "$VERIFY_DIR/SHA256SUMS" \
install.sh, line 189
|| ! curl -fsSL "$REPO_RELEASES/SHA256SUMS.asc" -o "$VERIFY_DIR/SHA256SUMS.asc"; then
Show more
install.sh, line 232
curl -fsSL "$COMPOSE_SRC" -o docker-compose.yml
install.sh, line 234
curl -fsSL "$CADDY_SRC" -o deploy/Caddyfile
install.sh, line 275
Upgrade: sudo bash <(curl -fsSL $REPO_RAW/install.sh)
install.sh, line 277
Uninstall: sudo bash <(curl -fsSL $REPO_RAW/uninstall.sh)
cli/src/api.ts, line 14
private async fetch(path: string, init?: RequestInit): Promise<Response> {
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
install.sh, line 71
if [ ! -f .env ]; then
install.sh, line 157
} > .env
install.sh, line 248
. ./.env
Show more
packages/shared/src/auth/oauth.ts, line 86
return parsePositiveInt(process.env.MCP_OAUTH_ACCESS_TOKEN_TTL_SECONDS, 3600);
packages/shared/src/auth/oauth.ts, line 94
process.env.MCP_OAUTH_REFRESH_TOKEN_TTL_SECONDS,
packages/shared/src/crypto/encryption.ts, line 8
const hex = process.env.ENCRYPTION_KEY;
packages/shared/src/support/sqlite-fixture.ts, line 13
process.env.ENCRYPTION_KEY ??= "11".repeat(32);
server/src/index.ts, line 11
loadEnv({ path: path.join(repoRoot, ".env") });
server/src/lib/auth.ts, line 27
secret: process.env.BETTER_AUTH_SECRET,
.dockerignore, line 8
.gitignore
.dockerignore, line 9
.env
.env.example, line 2
# Copy to .env and fill in real values for production.
.gitignore, line 4
data/
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Note
a file was over the read cap and was not fully read.
OBFUSCATION_FILE_OVER_READ_CAP
pnpm-lock.yaml, line 1
lockfileVersion: '9.0'
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 4ecc650347d6. install fetches a script from the network. README documents an installer that pipes a download into a shell. The docs document an installer that pipes a download into a shell. can reach api.ipify.org. The description does not name that host. can reach a host that is not written as a fixed address. reads a credential or environment file. a file was over the read cap and was not fully read.
Date and source
Date checked:
github.com
Commit graded: 4ecc650347d629c81b83b23672c65bf0302e6bfa
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.