Timing attack

From zakirkun/ice-tea · View interactive version

Timing attack is an AI agent skill from the GitHub repository zakirkun/ice-tea. Detects comparison operations on secrets using non-constant-time functions, enabling timing side-channel attacks.

How to use this skill

Skill file

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:

Remediation

Use constant-time comparison functions:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.