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, Swift, Java, Kotlin, C#, PHP, JavaScript, TypeScript, Python, or Ruby.

by trailofbits 6.6k GitHub stars CC-BY-SA-4.0 Updated Aug 18, 2026
Official Backend Claude Code
constant-time-analysis skill by trailofbits
constant-time-analysis — Backend skill by trailofbits

Overview

constant-time-analysis is an open-source backend skill for Claude Code and compatible agents, published by trailofbits. Its author describes it as: “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…”. The project has 6.6k stars on GitHub and is available under the CC-BY-SA-4.0 license. Add it to your setup with `/plugin marketplace add trailofbits/skills`.

What constant-time-analysis does

Compile the code, inspect the emitted assembly or bytecode for variable-time instructions, then decide which of the flagged operations actually touch secrets. The compilation step is mechanical; the triage step is the work.

What’s inside

The SKILL.md for constant-time-analysis is organised into these sections:

  • When to Use
  • When NOT to Use
  • Language Routing
  • Running the Analyzer
  • Per-language coverage limits
  • Prerequisites
  • Interpreting Results
  • Triaging Findings
  • Limitations
  • Real-World Impact
  • References

Installation

Add constant-time-analysis to your agent with:

/plugin marketplace add trailofbits/skills

Review a skill’s source before installing it — skills can instruct your agent to run commands. This command comes from the skill’s public repository, which is the source of truth for setup steps. New to skills? Read how to install Claude Code skills.

Supported agents

  • Claude Code — ships a claude code plugin marketplace

License

constant-time-analysis is published under the CC-BY-SA-4.0 license.

Strengths

  • Clear CC-BY-SA-4.0 license — safe to read and adapt within its terms
  • Ships in trailofbits/skills, an established project with 6,646 GitHub stars
  • Works with Claude Code
  • Actively maintained — repository updated in the last 90 days

Author

trailofbits 41 skills in the catalog · GitHub profile ↗
View skills

Topics

Need a skill like this, tailored to your team?Build a custom skill →

Frequently asked questions

What does constant-time-analysis 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, Swift, Java, Kotlin, C#, PHP, JavaScript, TypeScript, Python, or Ruby.
How do I install constant-time-analysis?
Run /plugin marketplace add trailofbits/skills in your agent, then reload your skills. Review the source at https://github.com/trailofbits/skills before installing.
Is constant-time-analysis free to use?
Yes. constant-time-analysis is free and open source under the CC-BY-SA-4.0 license, so you can read, run, and adapt it within that license's terms.
Which agents does constant-time-analysis work with?
constant-time-analysis lists Claude Code — named in its SKILL.md, its plugin marketplace or its repository topics. Skills use the portable SKILL.md format, so other agents that read that format may load it too.
Where does constant-time-analysis come from?
constant-time-analysis ships inside trailofbits/skills, a repository that contains 41 catalogued skills in total. The repository's 6,646 GitHub stars apply to that whole collection, not to this skill on its own.

Creates devcontainers with Claude Code, language-specific tooling (Python/Node/Rust/Go), and persistent volumes. Use when adding devcontainer support to a project, setting up isolated development environments, or configuring sandboxed Claude Code workspaces.

Official Claude Code
6.6k GitHub stars CC-BY-SA-4.0 Updated Aug 18, 2026 Free

Analyzes smart contract codebases to identify state-changing entry points for security auditing. Detects externally callable functions that modify state, categorizes them by access level (public, admin, role-restricted, contract-only), and generates structured audit reports. Excludes view/pure/read-only functions. Use when auditing smart contracts (Solidity, Vyper, Solana/Rust, Move, TON, CosmWasm) or when asked to find entry points, audit flows, external functions, access control patterns, or privileged operations.

Official Claude Code
6.6k GitHub stars CC-BY-SA-4.0 Updated Aug 18, 2026 Free

Performs comprehensive Rust security review for safe/unsafe boundary issues, memory safety in unsafe blocks, concurrency hazards, panic-induced DoS, FFI safety, and async runtime mistakes. Use when auditing Rust crates, services, or libraries — particularly those with `unsafe`, FFI, or concurrent code.

Official Claude Code
6.6k GitHub stars CC-BY-SA-4.0 Updated Aug 18, 2026 Free

Node.js package manager with strict dependency resolution. Use when running pnpm specific commands, configuring workspaces via pnpm-workspace.yaml, or managing dependencies with catalogs, patches, overrides, config dependencies, or the global virtual store.

5.8k GitHub stars MIT Updated Jun 23, 2026 Free

Find businesses, leads, emails, reviews, ratings, and contact details from Google Maps. Use for requests such as "find dentists in Berlin", "scrape Google Maps", "get local business leads", or "collect Google Maps reviews". Runs the open-source scraper locally with Docker and guides nontechnical users through setup, monitoring, and results.

Codex
5.5k GitHub stars MIT Updated Aug 6, 2026 Free