Command Palette

Search for a command to run...

Back to skills
skill № 29332

Hardcoded Database Connection String

Detects database connection strings with embedded credentials hardcoded in source code.

FreeNo executable scripts
zakirkunby zakirkun★ 40 GitHub stars

Install Hardcoded Database Connection String in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

About this skill

Hardcoded Database Connection String

Overview

Database connection strings containing credentials embedded directly in source code are exposed whenever the code is shared, committed to version control, or viewed by anyone with code access. This is one of the most common causes of database credential leaks.

Remediation

  • Use environment variables for all credential components
  • Use a secrets manager (AWS Secrets Manager, Vault, Azure Key Vault)
  • Never commit .env files with real credentials

Safe:

conn_str = os.environ["DATABASE_URL"]

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

  • patterns.yaml

FAQ

What does the Hardcoded Database Connection String skill do?

Detects database connection strings with embedded credentials hardcoded in source code.

How do I install the Hardcoded Database Connection String skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the Hardcoded Database Connection String skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare Hardcoded Database Connection String with