Will It Vibe logoWill It Vibe?
SECRET-035Critical severity-25 points

MySQL connection string with credentials

Part of Security, which counts for 30% of the overall score. When this check fires it deducts 25 points from that category, once per scan, no matter how many places it turns up.

What it detects

A mysql:// URL embeds a username and password directly, exposing the database to anyone who can read the file.

Why it matters

A mysql:// URL with credentials exposes the database password to anyone who can read the repo. It also lands in CI logs and clones. The value persists in git history after removal.

How to fix it

Read the connection string or discrete credentials from environment variables and fail fast if unset. Keep real values untracked and in your host secret store. Rotate the MySQL user password after removing it.

The paid report includes a ready-to-paste prompt for your AI coding agent for every check it finds, pointed at the exact findings from your scan. See pricing

Does your repo trip this check?

Paste a GitHub URL or drop a project folder. Scans run in your browser and take seconds.

Scan your repo

Related Security checks