# Database Backup File Exposure

> Detects database backup files stored in web-accessible directories or referenced with predictable names.

- Skill: `zakirkun/database-backup-file-exposure` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add zakirkun/database-backup-file-exposure`
- Raw SKILL.md: https://api.skillmd.com/api/skills/zakirkun/database-backup-file-exposure/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: zakirkun (https://skillmd.com/u/zakirkun)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/zakirkun/database-backup-file-exposure

---


# Database Backup File Exposure

## Overview
Database backup files (`.sql`, `.dump`, `.bak`, `.db`, `.sqlite`) stored in web-accessible directories can be directly downloaded by attackers, exposing the full database contents including all user data and credentials.

## Remediation
- Store database backups outside the web root
- Restrict backup file access with web server rules
- Encrypt backup files at rest
- Use access-controlled cloud storage for backups

