data-disclosure
This skill should be used when the user asks to "check for personal data disclosure", "analyze PII exposure", "find privacy issues related to data leakage"…
от florianbuetow★ 22 звезды на GitHub
Установить data-disclosure в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Disclosure of Information Analysis (LINDDUN D2)
Analyze source code for disclosure threats where personal data is accessible to unauthorized parties. Focuses specifically on personal and sensitive data rather than general system information. Covers direct disclosure (data breach vectors) and indirect disclosure (third-party sharing, over-collection).
Supported Flags
Read ../../shared/schemas/flags.md for full flag
documentation. This skill supports all cross-cutting flags.
| Flag | Disclosure-Specific Behavior |
|---|---|
--scope |
Default changed. Focuses on files handling personal data: API handlers, data models, logging, caching, third-party integrations, and error handling. |
--depth quick |
Grep patterns only: scan for PII in logs, error messages, and third-party data sharing. |
--depth standard |
Full code read, trace personal data flows within each file, check access controls on personal data stores. |
--depth deep |
Cross-file personal data flow tracing. Map all paths where PII exits the application boundary. |
--depth expert |
Deep + breach simulation: model what personal data is exposed in each attack scenario. |
--severity |
Filter output. PII in logs is typically high; over-fetching is medium. |
--fix |
Generate redaction, field-level access control, and data minimization replacements. |
Framework Context
LINDDUN D2 -- Disclosure of Information
Disclosure of information in the LINDDUN context refers specifically to
unauthorized access to personal data. Read
../../shared/frameworks/linddun.md for the
full LINDDUN framework reference including the distinction between LINDDUN
disclosure (personal data focus) and STRIDE information disclosure (general
system information).
Privacy Property Violated: Confidentiality of Personal Data
STRIDE Mapping: Information Disclosure (LINDDUN narrows focus specifically to personal data rather than general system information)
Workflow
Step 1 -- Determine Scope
- Parse
--scopeflag (default:changed). - Resolve to a concrete file list.
- Filter to relevant files: API handlers, data models, logging configuration, error handling, caching logic, third-party SDK integrations, data export endpoints, and serialization logic.
- Prioritize files containing: user data structures, PII fields, third-party API calls with user data, log statements, cache writes, and error responses.
Step 2 -- Analyze for Personal Data Disclosure
Read each scoped file and assess personal data exposure vectors:
- Check logging for PII: Scan log statements for personal data fields (name, email, phone, address, SSN, health data, financial data).
- Assess API response data: Determine whether endpoints return more personal fields than the consumer needs (over-fetching).
- Examine third-party data sharing: Identify where personal data flows to external services (analytics, advertising, logging, error tracking).
- Check error handling: Look for personal data in error messages, stack traces, and debug output.
- Evaluate cache and temporary storage: Determine whether personal data in caches, temp files, or browser storage is properly protected.
At --depth deep or --depth expert, trace all paths where personal data
exits the application boundary and map the full disclosure surface.
Step 3 -- Report Findings
Output findings per ../../shared/schemas/findings.md.
Each finding needs: DDSCL-NNN id, title, severity (based on data sensitivity
and exposure scope), location with snippet, description of what personal data is
disclosed and through which channel, impact (unauthorized data access), fix
(redaction, minimization, or encryption), and CWE/LINDDUN references.
Analysis Checklist
- Do log statements include personal data (names, emails, phone numbers, addresses)?
- Are API responses returning full user objects instead of only needed fields?
- Is personal data sent to third-party analytics or error tracking services?
- Do error messages or stack traces contain personal data values?
- Is PII passed through URL query parameters (visible in logs and referrer headers)?
- Are personal data fields encrypted at rest, or stored in plaintext?
- Do caching layers store personal data without appropriate TTLs or access controls?
- Do debug modes expose additional personal data that production would not?
What to Look For
- PII in log statements: Personal data written to logs, console, or debug output.
- Grep:
log\.\w+\(.*email|logger\.\w+\(.*password|console\.log\(.*ssn|print\(.*credit.card
- Grep:
- Over-fetched API responses: Returning complete user objects with unnecessary fields.
- Grep:
res\.json\(user\)|response\.send\(userData\)|SELECT \*.*FROM.*user|\.toJSON\(\)
- Grep:
- Third-party data sharing: PII
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл data-disclosure?
This skill should be used when the user asks to "check for personal data disclosure", "analyze PII exposure", "find privacy issues related to data leakage", "check for unauthorized data sharing", or mentions "disclosure" in a privacy context. Maps to LINDDUN category D2. Focuses specifically on PERSONAL data disclosure, complementing STRIDE information disclosure.
Как установить скилл data-disclosure?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл data-disclosure запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…