원클릭으로
pii-scan
PII exposure audit — map data elements across the AI lifecycle and surface HIGH/MED risk intersections
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
PII exposure audit — map data elements across the AI lifecycle and surface HIGH/MED risk intersections
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Audit a Google ADK tool file against the five known gotchas (DI params, thin wrappers, _j helper, async-wrap blocking calls, httpx context manager) before they bite in production
After creating an ADR, run the cross-referencing checklist — update README Artifacts table, add Related Decisions section to source proposal, cross-link sibling ADRs to each other
Mid-task durability — dump current state and a next-step file before context fills, so the next session resumes without re-deriving where you were
Generate and verify a pre-demo checklist for an ADK/agent project — env vars, GCP auth, embedding swap, ngrok/Slack wiring, dry-run, tests, real-vs-synthetic data
Scan a project's docs (README, CLAUDE.md, ADRs, runbooks) for inconsistent project naming, scope, or framing — catches the "README says retail, CLAUDE.md still says Kroger" class of bug
Refresh a project's status — derive current state from code/tests/git, regenerate the project's status memory entry and (if requested) a status section in the README
| name | pii-scan |
| description | PII exposure audit — map data elements across the AI lifecycle and surface HIGH/MED risk intersections |
User runs /pii-scan followed by a system description, data flow diagram, or architecture description.
[API_KEY], [ENDPOINT]). The analysis requires categories and flows, not real values.| Stage | Description |
|---|---|
| Ingest | Raw data entering the system (upload, API, scrape, ETL) |
| Preprocess | Cleaning, normalization, format conversion |
| Embed | Converting text/data to vector representations |
| Store | Persistence — databases, vector stores, object storage, logs |
| Retrieve | Pulling data for context (RAG, memory lookup) |
| Prompt | Data included in LLM context window |
| Generate | LLM output (may reflect or infer PII) |
| Log / Trace | Observability data — traces, request logs, audit trails |
| Cache | Short-term storage of inputs or outputs |
| Export / Downstream | Data leaving the system (API response, reports, downstream pipelines) |
| Category | Examples |
|---|---|
| Direct identifiers | Name, email, phone, SSN, passport number |
| Quasi-identifiers | DOB, ZIP code, job title, employer (linkable in combination) |
| Sensitive attributes | Health, financial, legal, political, religious data |
| Behavioral / inferred | Usage patterns, preferences, LLM-inferred attributes |
| Credentials | Passwords, API keys, tokens (treat as PII equivalent) |
Date: [today]
System: [description]
Overall Risk: [GREEN / AMBER / RED]
List all data elements identified (explicit + inferred from the description). Flag any that are [ASSUMED].
| Data Element | PII Category | Ingest | Preprocess | Embed | Store | Retrieve | Prompt | Generate | Log | Cache | Export |
|---|---|---|---|---|---|---|---|---|---|---|---|
| [element] | [category] | ✅/⚠️/❌/— | ... |
Legend: ✅ = controlled | ⚠️ = partial / MED risk | ❌ = exposed / HIGH risk | — = not present at this stage
For each HIGH and MED cell in the matrix:
| # | Data Element | Stage | Risk | Finding | Recommended Mitigation |
|---|
| Control | Status | Notes |
|---|---|---|
| Data classification policy exists | ✅ / ❌ | |
| PII redaction before embedding | ✅ / ❌ | |
| Vector store access controls | ✅ / ❌ | |
| LLM prompt logging opt-out / masking | ✅ / ❌ | |
| Retention / deletion policy defined | ✅ / ❌ | |
| Data processing agreement (DPA) in place for 3rd-party LLMs | ✅ / ❌ | |
| Audit trail for PII access | ✅ / ❌ |
Numbered list, HIGH first. Each mitigation includes: what to do, where to implement, effort estimate (LOW/MED/HIGH).
PII handling decisions that should be captured as ADRs.