Exposed Database Audit
認証なしで到達可能な状態になっているデータストアを、研究者に先んじて見つけて施錠する。
Elasticsearch、MongoDB、オブジェクトストレージ、バックアップなど、認証なしで到達可能なデータベースや検索クラスタがないか環境を監査し、外部から露出を確認して安全に施錠し、運用するすべてのデータストアについて証拠、担当者、再確認日を記録します。
3ステップでインストール
登録不要。CLIツールも不要です。お使いのAIを選んで、1行コピーして貼るだけです。
ご自分で入れたい場合は、ZIPを無料でダウンロードして、上のディレクトリに展開し、AIのセッションを再起動してください。結果は同じです。AIアシスタントにダウンロードしてもらうこともできます。
パックの内容
SKILL.md(手順書)1点とスターターテンプレート1点が入っています。プレビューはこちらです:
The idea
The two databases behind the November 2026 headlines were not broken into. One of them — an Elasticsearch 8.13.0 cluster holding about 1.64 billion documents across 99 indices — simply answered anyone who connected, with no authentication at all. That is the most common way large record collections get exposed: a datastore is deployed, migrated or reconfigured, and the door is left open. Attackers are not the only ones who find these systems; independent researchers find them constantly, and the difference between an embarrassing headline and a quiet fix is whether your own audit found the open door first. This skill builds that audit: a complete datastore inventory, an outside-in exposure check for each entry, a safe lockdown procedure, and a re-check rhythm that catches configuration drift.
Workflow
- Inventory every datastore, not just the famous ones. List production and forgotten systems alike: Elasticsearch and OpenSearch clusters, MongoDB, Redis, CouchDB, relational databases with public endpoints, object storage buckets, database snapshots and backups, analytics exports, and staging or migration copies. Staging copies of production data are the classic blind spot — they hold real records behind test-grade configuration.
- Record the intended exposure for each entry. For every datastore, write down whether it should be public, partner-reachable, or internal-only, who owns it, and what authentication it is supposed to require. If nobody can state the intent, treat the entry as unknown and investigate it first.
- Verify from the outside. From a network position outside your own perimeter, attempt an unauthenticated connection to each datastore exactly as a stranger would. A firewall diagram is not evidence; a successful or refused unauthenticated query is. Log the result, the date, and the source address you tested from.
- Classify the findings. Exposed and readable, exposed but authentication enforced, network-restricted as intended, or decommissioned. Anything in the first class with real data is an incident, not a ticket — move to step 5 immediately and involve your incident process.
- Lock down safely. Before closing an exposed datastore, preserve evidence of what was in it and, where logging allows, who connected to it. Then restrict network access, enable authentication, rotate any credentials or tokens the data contained or relied on, and only afterwards announce the fix. Closing the door without checking whether someone already walked through it wastes the one advantage discovery gives you.
- Hunt the copies. An exposed primary usually has siblings: snapshots, replicas, exports and backups created by the same process. Search for them by data shape and owner, not just by hostname, and run each through the same outside-in check.
- Fix the process that created it. Add a deployment gate: no datastore reaches a public address without authentication configured and verified. Record which change, migration or default created each exposure you found, and close that path.
- Re-check on a schedule. Configurations drift, clusters get rebuilt, and temporary access becomes permanent. Re-run the outside-in verification monthly for internet-adjacent systems and after every migration. Feed any stolen-credential fallout you discover to [infostealer-log-triage], and help affected users with [credential-exposure-response].
テンプレートのプレビュー
Exposed Database Audit — Worksheet
1. Datastore inventory
2. Outside-in verification
3. Lockdown record (for any exposure found)
- [ ] Evidence preserved (contents summary + access logs where available)
- [ ] Network access restricted
- [ ] Authentication enabled and re-tested from outside
- [ ] Contained credentials / tokens rotated
- [ ] Copies, snapshots and exports checked with the same test
- [ ] Incident process notified; exposure window recorded as: ______
4. Prevention and rhythm
- [ ] Deployment gate added: no public datastore without verified authentication
- [ ] Root cause of each exposure recorded
- [ ] Monthly re-check scheduled; next date: ______
スキルパック本体(SKILL.md とテンプレート)は英語で書かれています。