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 Swift targeting iOS, macOS, watchOS, and tvOS. Swift compiles to native code, making it subject to the same CPU-level timing side-channels as C, C++, Go, and Rust.
Swift compiles directly to native machine code:
Source Code (.swift)
|
v
swiftc (Swift Compiler / LLVM)
|
v
Native Assembly
|
v
Machine Code (binary)
Key implications:
# Analyze Swift for native architecture
uv run {baseDir}/ct_analyzer/analyzer.py crypto.swift
# Analyze for iOS device (arm64)
uv run {baseDir}/ct_analyzer/analyzer.py --arch arm64 crypto.swift
# Analyze for Intel Mac
uv run {baseDir}/ct_analyzer/analyzer.py --arch x86_64 crypto.swift
# Test multiple optimization levels (RECOMMENDED)
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.