database-security
यह क्या करती है
यह tool PostgreSQL, MySQL और दूसरे databases की सुरक्षा जाँचता है। यह security flaws, गलत configurations और संभावित vulnerabilities ढूँढता है।
कब इस्तेमाल करें
- ✓अधिकृत वातावरण में जाँचना कि database सुरक्षित है या नहीं।
- ✓access की समस्याएँ और जोखिम भरी configurations ढूँढने के लिए।
- ✓यह समझने के लिए कि हमलावर कमज़ोरियों का फायदा कैसे उठा सकता है।
Skill का लिंक
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/database-security/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“IP address 192.168.1.100 पर database की security जाँचो, मेरे पास लिखित अनुमति है।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह tool database से जुड़ता है और उसकी settings और permissions का विश्लेषण करता है। यह ज्ञात vulnerability patterns खोजता है और संभावित attack paths दिखाता है।
तकनीकी सामग्री (मूल 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:
- Ask the user to state the exact target URL, IP, account, or resource.
- Ask the user to confirm written authorization and the permitted scope.
- Show the exact command(s) and explain their expected effect.
- 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).
अक्सर पूछे जाने वाले सवाल
क्या इस tool को इस्तेमाल करने के लिए अनुमति चाहिए?
हाँ, इस tool को इस्तेमाल करने से पहले system के मालिक से साफ़ और लिखित अनुमति लेना ज़रूरी है। बिना अनुमति इस्तेमाल करना गैर-कानूनी है।
अगर मेरे पास अनुमति न हो तो क्या होगा?
Tool केवल बचाव (defensive) से जुड़ी सलाह दे पाएगा और ऐसी कोई जाँच नहीं चलाएगा जो बिना पुष्टि और अनुमति के data को बदल या एक्सेस कर सकती हो।
क्या यह tool मेरे database को नुकसान पहुँचा सकता है?
कुछ जाँचें destructive हो सकती हैं। सलाह दी जाती है कि इसे test environment में या पहले simulation में इस्तेमाल करें, और हमेशा लिखित अनुमति रखें।
जानकारी
लेखक का मूल विवरण
Authorized database security assessment across PostgreSQL, MySQL, MSSQL, MongoDB, and Redis: exposure, authorization gaps, UDF/command execution paths, and misconfiguration review.
लोकप्रियता
- GitHub स्टार
- 48k
- रैंकिंग में स्थान
- #4337
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
00-andruia-consultant
48kआपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।
007
48kआपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।
10-andruia-skill-smith
48kआपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।
20-andruia-niche-intelligence
48kआपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।
मिलती-जुलती skills
discrawl
394kयह आपके एजेंट को Discord संदेशों के सेव किए गए स्थानीय आर्काइव में खोजने, उसका सारांश बनाने और उसकी ताज़गी जांचने में मदद करती है।
clickhouse-io
280kआपके एजेंट को ClickHouse databases में queries और schemas optimize करने में मदद करता है। high-performance analytical workloads के लिए best practices लागू करता है। जब analytical queries बहुत धीमी हों, तब इसका उपयोग करें।
scientific-db-pubmed-database
280kआपके एजेंट को बायोमेडिकल क्षेत्र के वैज्ञानिक लेख खोजने में मदद करता है। जिस रिसर्च में खास मेडिकल जानकारी चाहिए, उसके लिए यह काम का है।