一键导入
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.