agentleFS
xAmirHamza77xAmirHamza77/ReverseOps-Skill/skills/database-security/SKILL.md

database-security

Skill4 starsChanged 4 months agoMITView on GitHub

Use for authorized database security assessment covering PostgreSQL/MySQL/MSSQL/Mongo/Redis exposure, authz, UDF/command paths, and misconfiguration review.

5 other projects use a version of this, 2 of them edited.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

Database Security Assessment

ACTION REQUIRED (Execute immediately after reading)

  1. NOW: Read precedent-pentest; destructive statements on production databases are prohibited unless explicitly permitted
  2. NOW: The scope must clearly state instances, account permissions, and whether write/delete is allowed
  3. NEXT: Client tool paths
  4. ACT: Exposure surface → Authentication → Authorization → Configuration → Exploit chain validation (safe)

Applicable Scenarios

  • Database unauthorized/weak password/incorrect binding to 0.0.0.0
  • Excessive permissions, dangerous features (xp_cmdshell, COPY PROGRAM, UDF)
  • Lateral movement: From application account to DBA
  • NoSQL injection and Redis file writing, etc. (authorized environments)

Workflow

□ Network exposure and TLS
□ Account roles and grantees
□ Sensitive table access control
□ Dangerous configurations: file_priv, xp_cmdshell, load_file
□ Are audit logs enabled?
□ Backup and snapshot permissions

Toolchain

ToolPurpose
Official CLIsConnection and enumeration
sqlmapInjection validation (authorized)
nucleiKnown exposure templates
Cloud RDS console auditConfiguration

References

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

Routing Context

Upstream: MASTER R35
Downstream: Gaining OS command → attack-chain; Cloud managed → cloud-k8s

Task Completion Self-Check

  • Was unauthorized write/delete avoided?
  • Were configuration issues and exploitable chains differentiated?
  • Checklist completed?

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.