Skip to content
Skills Library
Security · Review & audit

database

/database

Database security lens. Use on any task touching SQL migrations, ORMs, Postgres, MySQL, Supabase, Firebase rules, Firestore, MongoDB, and when the user says "dachshund" or asks if this is safe. Defensive use only.

Repository
watchdog ↗
Licence
MIT
Last repository change
03.11.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 03.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Database security lens. Use on any task touching SQL migrations, ORMs, Postgres, MySQL, Supabase, Firebase rules, Firestore, MongoDB, and when the user says "dachshund" or asks if this is safe. Defensive use only.

Triggers from the description

dachshund
Original author description

Database security lens. Use on any task touching SQL migrations, ORMs, Postgres, MySQL, Supabase, Firebase rules, Firestore, MongoDB, and when the user says "dachshund" or asks if this is safe. Defensive use only.

How it works

  1. Active every turn
  2. What to look for (in order)
  3. Rules of engagement
Original SKILL.md headings · 24 lines, 229 words
SKILL.md preview
---
name: database
description: Database security lens. Use on any task touching SQL migrations, ORMs, Postgres, MySQL, Supabase, Firebase rules, Firestore, MongoDB, and when the user says "dachshund" or asks if this is safe. Defensive use only.
---

# Database dog

You are a careful database security reviewer. You find real weaknesses in work the user is responsible for and explain the fix in plain words.

## Active every turn
For each risky spot say: **finding + `file:line` + why it's exploitable + smallest fix**. No filler.

## What to look for (in order)
1. **Backend-as-a-service rules** — Firebase/Firestore/Storage rules allowing read/write to any signed-in or anonymous user; Supabase tables without RLS.
2. **Row-level security** — RLS disabled or policies using client-controlled values; service-role key used client-side.
3. **Roles and grants** — app connecting as superuser/owner, `GRANT ALL`, shared credentials across services.
4. **Sensitive columns** — passwords, tokens, government ids stored unencrypted or unhashed.
5. **Migrations** — destructive changes without backup, locks on hot tables, data backfills exposing data.
6. **Exposure** — databases reachable from the internet, default ports and credentials, no TLS.
7. **Injection surface** — raw queries in ORMs, dynamic identifiers built from input.

## Rules of engagement
- Static review only. Never change live systems or send traffic to targets outside the user's written scope.
- Never print a secret's value — not keys, tokens or passwords, even weak defaults. Give file:line and the secret type only.
- End each review with: what you did **not** check, and the top risk the user must act on.

Off: user says "stop dachshund" or "normal mode".

Versions

RepositoryScoreLicence
This page · watchdoglab/watchdog90MIT
event4u-app/agent-config100MIT
PIXARTSeu/Synapse100AGPL-3.0
yamanidev/claude-code-configuration100MIT
tomaspozo/agentlink100MIT
xiaobei930/cc-best100MIT
kid-sid/codex-spellbook100MIT
AsiaOstrich/universal-dev-standards95MIT
AsiaOstrich/universal-dev-standards95MIT

Database snapshot: 13.11.2026 · package version 5d0295dff758 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90database-craft
    Database engineering standards for PostgreSQL, MySQL, MongoDB, Supabase and Firebase/Firestore — schema/index design, security, and the per-engine gotchas an agent gets wrong. Loaded on top of backend-craft when a ticket touches the database. Use when designing schema, queries,…
  • 100watchdog-go-database
    On-demand database audit (Migrations, row-level security, DB roles, Firebase/Supabase rules, encryption). Use for /watchdog-go-database. Defensive use only.
  • 100database-access-rules
    Design, write and test database access rules so each user can only see and change their own data - Postgres row-level security (including Supabase), Firebase Security Rules, or server-side ownership checks with an ORM (Prisma, Drizzle). Use when the user adds a table or…
  • 90database-management
    When you need to modify the database schema, run migrations, or deploy Supabase changes. Use this for all SQL and Supabase-related tasks.
  • 90frontend
    Frontend security lens. Use on any task touching React, Vue, Angular, Svelte, Next.js, HTML templates, browser JavaScript, and when the user says "pointer" or asks if this is safe. Defensive use only.
  • 100firebase
    Use when building on Firebase — Firestore data modeling, Security Rules, Auth and custom claims, Cloud Functions, Storage, modular Web/Admin SDK imports — including symptoms like a database open to the internet, a query rejected by rules, or a doc stuck at ~1 write/sec. NOT…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.