0xzahed/antigravity-skills

database-security

Secure database access and data.

Quelltext ansehen

Verwendung

  1. Installationsbefehl kopieren und das Quellpaket vor der Installation in der eigenen Agentenumgebung prüfen.
  2. Benötigte Werkzeuge, Zugangsdaten und Hosts im Original prüfen.
  3. Eingabe und gewünschtes Ergebnis beschreiben und die Ausgabe mit den Quellen abgleichen.
npx skills add https://github.com/0xzahed/antigravity-skills --skill database-security

Vor dem Start

  • Die Installation umfasst weder Modellabo noch API-Kontingent oder Dateizugriffsrechte.
  • Sterne und Installationen zeigen Aktivität, keine unabhängige Qualitäts- oder Sicherheitsprüfung.
Originales Skill-Dokument

Aus dem Quell-Repository gerendert; Überschriften, Beispiele, Code, Tabellen, Links und Bilder bleiben erhalten.

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

  1. Grant least privilege: per-service accounts, minimal grants.
  2. Use connection encryption (TLS) and validate certs.
  3. Encrypt at rest and protect key material.
  4. Store secrets in a vault, not config files or env dumps.
  5. Mask/redact sensitive columns in logs and exports.
  6. Enable audit logging for privileged access and DDL.
  7. Restrict network exposure; firewall and VPN/proxy only.
  8. Review shared and default credentials; rotate regularly.

Checklist

  • No default credentials
  • Privileged access is audited
  • Encryption on at rest and in transit

Output Format

  • Access map | encryption status | credential handling | audit scope

Common Mistakes

  • One superuser for everything
  • Certificates unsigned/untrusted
  • Credentials in application logs