secrets-and-logging-hygiene
БесплатноБез исполняемых скриптовНе проверенWorkflow for preventing secret leaks and sensitive logging (PII/credentials) and adding redaction defaults.
от Robotti-io★ 44 звезды на GitHubОб этом скилле
Secrets and Logging Hygiene
When to use
Use this skill when asked to scan for secrets, harden logging, or reduce sensitive data exposure.
Inputs to collect (if available)
- Data classification (PII, auth/session, payments)
- Logging/telemetry stack (logger, APM, sinks)
- Secret management approach (vault, env injection, KMS)
- Incident/audit requirements (retention, access controls)
Step-by-step process
- Identify sensitive data
- Credentials, tokens, API keys, connection strings
- PII (emails, phone, addresses), financial identifiers
- Locate sources and sinks
- Sources: env, config, secrets managers, request payloads
- Sinks: logs, telemetry, error pages, analytics, support dumps
- Harden logging
- Default to structured logs
- Redact known patterns (Authorization headers, cookies, tokens)
- Avoid logging full request/response bodies by default
- Prevent secret introduction
- Replace hardcoded strings with env/secret manager references
- Add guardrails: git hooks, CI secret scanning, unit tests for redaction
- Verify
- Add tests ensuring redaction occurs
- Run a lightweight grep for common secret patterns and known keys
Output
- List of leak points found (if any)
- Recommended redaction policy + implementation location
- Tests and verification steps
Repo integration (optional)
Related prompts:
check-for-secrets.prompt.mdassess-logging.prompt.md
Output format
- Leak points found (table): Type | Where | Evidence | Risk
- Redaction policy: defaults + allow-listed fields
- Guardrails: CI secret scanning, pre-commit, tests
- Verification: how to confirm redaction and rotation
Examples
- “Authorization header logged” → redact
Authorizationand cookies by default; verify logs no longer contain bearer tokens.
Установить secrets-and-logging-hygiene в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл secrets-and-logging-hygiene?
Workflow for preventing secret leaks and sensitive logging (PII/credentials) and adding redaction defaults.
Как установить скилл secrets-and-logging-hygiene?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл secrets-and-logging-hygiene запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic