0xzahed/antigravity-skills

database-security

Secure database access and data.

Vedi sorgente

Come usare

  1. Copia il comando e controlla il pacchetto prima di installarlo nel tuo ambiente agente.
  2. Controlla strumenti, credenziali e ambienti richiesti nel documento originale.
  3. Descrivi input e risultato desiderato; confronta l’output con le fonti.
npx skills add https://github.com/0xzahed/antigravity-skills --skill database-security

Prima di iniziare

  • L’installazione non include abbonamenti, quote API o accesso ai file.
  • Stelle e installazioni indicano attività, non un test indipendente di qualità o sicurezza.
Documento Skill originale

Contenuto dal repository con titoli, esempi, codice, tabelle, link e immagini preservati.

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