Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

sensitive-content-scanner

БесплатноБез исполняемых скриптовНе проверен

Scan files for sensitive content before sharing. Detects personal info, credentials, private URLs, local paths, and security risks. Use before publishing…

dazuckот dazuck★ 17 звёзд на GitHub

Об этом скилле

Sensitive Content Scanner

Core Purpose

Examine files for sensitive content that should be sanitized before sharing publicly. This is a safety check to run before publishing repos, sharing code snippets, exporting configurations, or any public sharing of files.

When to Use

  • Before pushing a repo public
  • Before sharing code/config snippets
  • Before exporting skills, dotfiles, or configs for others
  • When reviewing what might leak from a file set
  • As part of an automated sanitization workflow

Invocation

/sensitive-content-scanner [path] - Scan a file or directory /sensitive-content-scanner - Prompted for path

Examples:

  • /sensitive-content-scanner ~/.claude/skills/
  • /sensitive-content-scanner ./my-project/
  • /sensitive-content-scanner ./config.md

Personal Context File (Optional)

For better detection of YOUR specific sensitive content, create ~/.claude/sensitive-content-context.md:

# Sensitive Content Context

## Personal Identifiers

- Full name: [Your Name]
- Usernames: [github-handle, twitter-handle, etc.]
- Email patterns: [yourname@, your.name@]
- Company/team name: [Company Name]

## Private Paths (patterns to flag)

- ~/Library/Mobile Documents/com~apple~CloudDocs/
- /Users/[username]/
- Any path containing: [folder names that are private]

## Private URLs (domains/patterns to flag)

- notion.site (personal workspaces)
- [internal-tool].company.com
- Private GitHub org: github.com/[private-org]/

## Known Secrets Patterns

- Project-specific API key prefixes
- Internal service names

## Business/Proprietary Terms

- Client names: [list]
- Internal project codenames: [list]
- Confidential terms: [list]

If this file exists, the scanner will use it for personalized detection. If not, it uses generic patterns.


Detection Categories

1. Credentials & Secrets (CRITICAL)

Always flag - these should never be shared:

Pattern Examples
API keys sk-..., AKIA..., ghp_..., xoxb-...
Private keys -----BEGIN RSA PRIVATE KEY-----
Passwords password=, passwd:, pwd=
Tokens token=, bearer ..., auth_token
Connection strings postgres://user:pass@, mongodb+srv://
AWS credentials aws_access_key_id, aws_secret_access_key
Environment secrets .env files with real values

Severity: CRITICAL - Block sharing until resolved

2. Personal Identifiers (HIGH)

Flag for review - may need anonymization:

Pattern Examples
Email addresses [email protected]
Phone numbers +1-555-..., (555) 123-4567
Names (from context file) Your name, family names
Usernames (from context file) Social handles, login names
Physical addresses Street addresses, ZIP codes

Severity: HIGH - Review and anonymize or confirm OK to share

3. Private URLs (HIGH)

Flag - often reveal private resources:

Pattern Examples
Notion URLs *.notion.site/*, notion.so/*/...
Google Docs (private) docs.google.com/document/d/...
Internal tools *.internal.*, *.corp.*, localhost:*
Private repos github.com/[private-org]/...
Figma/design files Private design URLs
Calendar/meeting links Zoom personal rooms, Calendly

Severity: HIGH - Replace with placeholder or remove

4. Local Paths (MEDIUM)

Flag - reveal system structure and username:

Pattern Examples
Home directory /Users/username/, /home/username/
iCloud paths ~/Library/Mobile Documents/com~apple~CloudDocs/
Dropbox/OneDrive ~/Dropbox/, ~/OneDrive/
App-specific paths ~/Library/Application Support/[App]/
Windows user paths C:\Users\username\

Severity: MEDIUM - Replace with generic placeholder like ~/path/to/... or [YOUR_PATH]

5. Infrastructure & Security (MEDIUM-HIGH)

Flag - could enable attacks or reveal architecture:

Pattern Examples
Internal IPs 10.x.x.x, 192.168.x.x, 172.16-31.x.x
Internal hostnames *.internal, *.local, *.corp
Полный SKILL.md на GitHub

Установить sensitive-content-scanner в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл sensitive-content-scanner?

Scan files for sensitive content before sharing. Detects personal info, credentials, private URLs, local paths, and security risks. Use before publishing repos, sharing code, or exporting configs.

Как установить скилл sensitive-content-scanner?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл sensitive-content-scanner запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить sensitive-content-scanner с