跳到正文
Skillpedia
数据库48k · #4337

database-security

它能做什么

这个工具可以检查 PostgreSQL、MySQL 等数据库的安全性,查找安全漏洞、配置错误和潜在的风险点。

适用场景

  • ✓在已获授权的环境中,检查数据库是否安全。
  • ✓查找访问权限问题和存在风险的配置。
  • ✓了解攻击者可能如何利用薄弱环节。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/database-security/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/database-security/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“在已获得书面授权的前提下,检查 IP 地址 192.168.1.100 上的数据库安全性。”

每周 5 个新技能,1 分钟读完。

工作原理

工具会连接到数据库,分析其设置和权限。它会比对已知的漏洞模式,并揭示可能的攻击路径。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

⚠️ AUTHORIZED USE ONLY This skill is for educational purposes or authorized security assessments only. You must have explicit, written permission from the system owner before using this tool. Misuse of this tool is illegal and strictly prohibited.

Mandatory confirmation gate Before running any command that probes, exploits, changes, persists on, extracts data from, or attempts credential access against a target:

  1. Ask the user to state the exact target URL, IP, account, or resource.
  2. Ask the user to confirm written authorization and the permitted scope.
  3. Show the exact command(s) and explain their expected effect.
  4. Wait for explicit confirmation in the current conversation.

Without that confirmation, remain read-only and provide defensive guidance only. Prefer a sandbox, disposable VM, or controlled lab.

Database Security Assessment

When to Use

  • Assessing database hardening and exposure within an approved scope.
  • Checking authz boundaries and risky server-side execution features.

适用场景

  • 数据库未授权/弱口令/错误绑定 0.0.0.0
  • 权限过大、危险功能(xp_cmdshell、COPY PROGRAM、UDF)
  • 横向:从应用账号到 DBA
  • NoSQL 注入与 Redis 写文件等(授权环境)

工作流

□ 网络暴露与 TLS
□ 账号角色与 grantee
□ 敏感表访问控制
□ 危险配置:file_priv、xp_cmdshell、load_file
□ 审计日志是否开启
□ 备份与快照权限

工具链

工具 用途
官方 CLI 连接与枚举
sqlmap 注入验证(授权)
nuclei 已知暴露模板
云 RDS 控制台审计 配置

参考

  • references/db-misconfig-checklist.md
  • ../pentest-tools/ ../cloud-k8s/

路由上下文

上游: MASTER R35
下游: 获 OS 命令 → attack-chain;云托管 → cloud-k8s

任务完成自检

  • 是否避免未授权写删?
  • 是否区分配置问题与可利用链?
  • Checklist?

Limitations

  • Never run against production data stores without explicit written approval.
  • Active exploitation paths (UDF/command exec) are destructive-capable; simulate first.

Adapted from zhaoxuya520/reverse-skill (MIT).

常见问题

使用这个工具需要获得许可吗?

需要。在使用前,你必须获得系统所有者明确的书面许可。未经授权使用是违法的。

如果我没有许可会怎样?

工具只会提供防御性的建议,在未经确认和授权的情况下,不会执行任何可能修改或访问数据的检查。

这个工具会损坏我的数据库吗?

部分检查具有破坏性。建议在测试环境中使用,或先进行模拟,并始终持有书面授权。

详情

作者的原始描述

Authorized database security assessment across PostgreSQL, MySQL, MSSQL, MongoDB, and Redis: exposure, authorization gaps, UDF/command execution paths, and misconfiguration review.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#4337
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能