본문으로 건너뛰기
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에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/database-security/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
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

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬