0xzahed/antigravity-skills

database-security

Secure database access and data.

Zobacz źródło

Jak używać

  1. Skopiuj polecenie instalacji i sprawdź źródła przed instalacją we własnym środowisku agenta.
  2. W oryginale sprawdź wymagane narzędzia, dane dostępowe i obsługiwane środowiska.
  3. Opisz dane wejściowe i oczekiwany rezultat; porównaj wynik ze źródłami.
npx skills add https://github.com/0xzahed/antigravity-skills --skill database-security

Przed rozpoczęciem

  • Instalacja nie obejmuje subskrypcji modelu, limitu API ani uprawnień do plików.
  • Gwiazdki i instalacje pokazują aktywność, a nie niezależny test jakości lub bezpieczeństwa.
Oryginalny dokument Skill

Treść z repozytorium z zachowaniem nagłówków, przykładów, kodu, tabel, linków i obrazów.

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