Home / Skills / constant-time-analysis
constant-time-analysis
Detects timing side-channel vulnerabilities in cryptographic code. Use when implementing or reviewing crypto code, encountering division on secrets, secret-dependent branches, or constant-time programming questions in C, C++, Go, Rust, Swif
- License
- CC-BY-SA-4.0
- SKILL.md tokens
- 3,285
- Bundled files
- 11
- Bundled tokens (estimated)
- 14,814
Cost per 1,000 loads
Estimated input cost per 1,000 loads of SKILL.md only (characters ÷ 4). Bundled files, output tokens and execution are excluded.
| Model | Input / 1M tokens | 1,000 loads |
|---|---|---|
| Claude Opus 5 | $5.00 | $16.43 |
| Claude Sonnet 5 | $2.00 | $6.57 |
| Claude Haiku 4.5 | $1.00 | $3.29 |
Safety flags
Detected automatically from files; not a security audit.
- Runs scripts
- No
- Network access
- Yes
- Shell commands
- Yes
Works with
Open SKILL.md format
- Claude Code
- Codex
- Cursor
- GitHub Copilot
- Gemini CLI
- OpenCode
- Goose
Install
npx skills add trailofbits/skills --skill constant-time-analysisLast verified:
constant-time-analysis FAQ
What does the constant-time-analysis skill do?
Detects timing side-channel vulnerabilities in cryptographic code. Use when implementing or reviewing crypto code, encountering division on secrets, secret-dependent branches, or constant-time programming questions in C, C++, Go, Rust, Swif Source: https://github.com/trailofbits/skills/blob/main/plugins/constant-time-analysis/skills/constant-time-analysis/SKILL.md
What does the constant-time-analysis skill cost to load?
SKILL.md is about 3,285 tokens. Estimated input cost per 1,000 loads: Claude Opus 5 $16.43; Claude Sonnet 5 $6.57; Claude Haiku 4.5 $3.29. Estimated input cost per 1,000 loads of SKILL.md only (characters ÷ 4). Bundled files, output tokens and execution are excluded. Prices: https://docs.anthropic.com/en/docs/about-claude/pricing
How do I install the constant-time-analysis skill?
Skills CLI: npx skills add trailofbits/skills --skill constant-time-analysis. Claude Code: /plugin marketplace add trailofbits/skills, then install the plugin from that marketplace. Download the constant-time-analysis skill folder as a ZIP and upload it in Claude.ai skills settings.
Is the constant-time-analysis skill safe?
Automatically detected flags: network access, shell commands. Flags are detected automatically from the skill's files and are not a security audit; review the SKILL.md before installing.