Timing Attack Vulnerability
Detects comparison operations on secrets using non-constant-time functions, enabling timing side-channel attacks.
от zakirkun★ 40 звёзд на GitHub
Установить Timing Attack Vulnerability в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Timing Attack Vulnerability
Overview
String comparison functions (==, ===, strcmp) short-circuit on the first mismatched character. Measuring response times reveals how many characters of a secret match the attacker's guess. This is exploitable for:
- API key validation
- HMAC signature verification
- Session token comparison
- Password comparison (before hashing)
Remediation
Use constant-time comparison functions:
- Python:
hmac.compare_digest() - Go:
subtle.ConstantTimeCompare() - Node.js:
crypto.timingSafeEqual() - PHP:
hash_equals() - Java:
MessageDigest.isEqual()
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- patterns.yaml
FAQ
Что делает скилл Timing Attack Vulnerability?
Detects comparison operations on secrets using non-constant-time functions, enabling timing side-channel attacks.
Как установить скилл Timing Attack Vulnerability?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Timing Attack Vulnerability запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet 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…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…