ワンクリックで
audit-data-privacy
Scan for PII exposure in API responses, committed files, grimoires, and data flow paths.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Scan for PII exposure in API responses, committed files, grimoires, and data flow paths.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Scan for secret leakage in env files, client code, git history, and build artifacts.
API endpoint security surface scan — auth gates, data exposure, rate limiting, input validation.
Audit authentication flow completeness — login, refresh, logout, session, RBAC, middleware.
Map impact surface of a change or regression by tracing data flow through every consumer.
Generate defensive measure specifications from a PMR — test specs, types, error boundaries, checklists.
Create a structured Postmortem Record from an incident, mining git history and issues for timeline and blast radius.
| name | audit-data-privacy |
| description | Scan for PII exposure in API responses, committed files, grimoires, and data flow paths. |
| user-invocable | true |
| allowed-tools | Read, Glob, Grep, Bash, Agent |
| triggers | ["audit data privacy","scan for pii","check personal data"] |
| capabilities | {"model_tier":"opus","danger_level":"safe","effort_hint":"medium"} |
Trace where personal data flows and where it might leak.
For each public API endpoint (no auth required, or optionalAuth):
.select() (all columns) or explicit column list?submittedBy, userId, user_id, email, walletAddress, wallet_address, ipAddressSearch the entire repo (excluding node_modules, .next, dist):
0x[0-9a-fA-F]{40} in any non-test, non-fixture file[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,} excluding config patternssk_, pk_, key_, token_, secret_ with actual values (not template refs)*dm*, *import*, *canvas* in grimoires — check for real user names/contentFor systems that sync data between repos (construct sync, git-sync):
Specifically check:
grimoires/observer/ — canvases, cognition profiles, synthesis reportsgrimoires/laboratory/ — user researchgrimoires/*/imports/ — DM imports.jsonl files that might contain user event dataSet-Cookie calls and response.cookies.set()## Data Privacy Audit
### PII Exposure
| Location | Data Type | Severity | Current State |
|----------|-----------|----------|---------------|
### Data Flow
| Path | Contains PII | Synced? | Risk |
|------|-------------|---------|------|
### Recommendations
1. [action items]
The Observer construct captures real user feedback — names, conversations, behavioral patterns. This data is valuable for product development but is PII. The key question: does any user research data leave the consumer repo?
Check:
grimoires/ → ✓ Safeskills/, commands/, identity/ → ✓ SafeThe skill should flag when observer canvases exist in a public repo.