0xzahed/antigravity-skills

database-security

Secure database access and data.

ソースを見る

使い方

  1. インストールコマンドをコピーし、自分の環境へ導入する前にソースを確認します。
  2. 必要なツール、認証情報、対応環境を原文で確認します。
  3. 入力と成果物を指定し、出力を資料と照合します。
npx skills add https://github.com/0xzahed/antigravity-skills --skill database-security

開始前の確認

  • 導入にはモデル契約、API枠、ファイルへのアクセス許可は含まれません。
  • スター数や導入数は活動の指標であり、独立した品質・安全性試験ではありません。
リポジトリの原文

見出し、例、コード、表、リンク、参照画像を含む原文を表示しています。

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