Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Detects timing side-channel vulnerabilities in cryptographic code by inspecting compiled assembly or bytecode for variable-time operations.
Use this skill ↓55% 91%+36 ptsof test cases passed
Passed 20 of 22 test cases with the skill, and 12 of 22 without it.
3 of 3 safety checks passed
Not used yet
Analysis guidance for Python scripts. Uses the dis module to analyze CPython bytecode for timing-unsafe operations.
# Analyze Python file
uv run {baseDir}/ct_analyzer/analyzer.py crypto.py
# Include warning-level violations
uv run {baseDir}/ct_analyzer/analyzer.py --warnings crypto.py
# Filter to specific functions
uv run {baseDir}/ct_analyzer/analyzer.py --func 'encrypt|sign' crypto.py
# JSON output for CI
uv run {baseDir}/ct_analyzer/analyzer.py --json crypto.py
Python < 3.11:
| Bytecode | Issue |
|---|---|
| BINARY_TRUE_DIVIDE | Variable-time execution |
| BINARY_FLOOR_DIVIDE | Variable-time execution |
| BINARY_MODULO | Variable-time execution |
| INPLACE_TRUE_DIVIDE | Variable-time execution |
| INPLACE_FLOOR_DIVIDE | Variable-time execution |
| INPLACE_MODULO | Variable-time execution |
Python 3.11+:
Published skills whose descriptions closely match this one, with their benchmark result.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.