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 Ruby scripts. Uses YARV (Yet Another Ruby VM) instruction sequence dump to analyze bytecode for timing-unsafe operations.
ruby --dump=insns)# Analyze Ruby file
uv run {baseDir}/ct_analyzer/analyzer.py crypto.rb
# Include warning-level violations
uv run {baseDir}/ct_analyzer/analyzer.py --warnings crypto.rb
# Filter to specific functions
uv run {baseDir}/ct_analyzer/analyzer.py --func 'encrypt|sign' crypto.rb
# JSON output for CI
uv run {baseDir}/ct_analyzer/analyzer.py --json crypto.rb
| Bytecode | Issue |
|---|---|
| opt_div | Variable-time execution based on operand values |
| opt_mod | Variable-time execution based on operand values |
| Bytecode | Issue |
|---|---|
| opt_eq | May early-terminate on secret data |
| opt_neq | May early-terminate on secret data |
| opt_lt, opt_le, opt_gt, opt_ge | Comparison may leak timing |
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.