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