database-security
Installation
SKILL.md
Database Security
Use this skill when
- Auditing DB access and privileges
- Encrypting data at rest and in transit
- Protecting credentials and auditing
Do not use this skill when
- Application auth design (use auth skills)
Instructions
- Grant least privilege: per-service accounts, minimal grants.
- Use connection encryption (TLS) and validate certs.
- Encrypt at rest and protect key material.
- Store secrets in a vault, not config files or env dumps.
- Mask/redact sensitive columns in logs and exports.
- Enable audit logging for privileged access and DDL.
- Restrict network exposure; firewall and VPN/proxy only.
- Review shared and default credentials; rotate regularly.