Skip to content
Back to skills

Database Security

ASecurity

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

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 17, 2026
securitygoshellsqlgitdatabasesecurity

Works with

  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 17, 2026

npx -y skills add NetVar1337/agent-skill-canon --skill database-security --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Database Security?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Database Security
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/netvar1337-database-security/badge)](https://www.skillsdirectory.com/skills/netvar1337-database-security)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: database-security
description: "Use for authorized database security assessment covering PostgreSQL/MySQL/MSSQL/Mongo/Redis exposure, authz, UDF/command paths, and misconfiguration review."
version: 1.0.0
license: MIT
metadata:
  package: unleash-skills
  author: NetVar1337/unleash
  category: reverse-skill
  upstream: https://github.com/zhaoxuya520/reverse-skill
---

> Bundled with Unleash skills pack. Upstream: https://github.com/zhaoxuya520/reverse-skill

# Database Security Assessment

## ACTION REQUIRED (execute immediately after reading)

1. `NOW`: read precedent-pentest; **destructive statements against production databases are forbidden** unless explicitly allowed
2. `NOW`: write scope clearly: instances, account permissions, whether writes/deletes are allowed
3. `NEXT`: client tool paths
4. `ACT`: exposure surface → authentication → authorization → configuration → (safe) exploit-chain verification

## Applicable Scenarios

- Unauthenticated databases/weak passwords/wrongly bound 0.0.0.0
- Excessive privileges, dangerous features (xp_cmdshell, COPY PROGRAM, UDF)
- Lateral movement: from app account to DBA
- NoSQL injection and Redis file writes etc. (authorized environments)

## Workflow

```text
□ Network exposure and TLS
□ Account roles and grantees
□ Sensitive table access controls
□ Dangerous configuration: file_priv, xp_cmdshell, load_file
□ Whether audit logging is enabled
□ Backup and snapshot permissions
```

## Toolchain

| Tool | Purpose |
|------|------|
| Official CLIs | Connection and enumeration |
| sqlmap | Injection verification (authorized) |
| nuclei | Known exposure templates |
| Cloud RDS console audit | Configuration |

## References

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

## Routing Context

**Upstream**: MASTER R35  
**Downstream**: OS command obtained → attack-chain; cloud-managed → cloud-k8s

## Task Completion Self-Check

- [ ] Avoided unauthorized writes/deletes?
- [ ] Distinguished configuration issues from exploitable chains?
- [ ] Checklist?

Files in this skill

  • SKILL.md2 KB
  • references/db-misconfig-checklist.md312 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.