Skip to main content

ctf-crypto

Provides cryptography attack techniques for CTF challenges. Use when attacking encryption, hashing, signatures, ZKP, PRNG, or mathematical crypto problems involving RSA, AES, ECC, lattices, LWE, CVP, number theory, Coppersmith, Pollard, Wiener, padding oracle, GCM, key derivation, or stream/block...

Install this skill

or
94/100

Security score

The ctf-crypto skill was audited on Sep 4, 2026 and we found 2 security issues across 1 threat category. Review the findings below before installing.

Categories Tested

Security Issues

low line 21

Access to home directory dotfiles

SourceSKILL.md
19pip install pycryptodome z3-solver sympy gmpy2 hashpumpy fpylll py_ecc
20# Coppersmith (optional): pip install coppersmith
21# Alternative Coppersmith lib: git clone https://github.com/jvdsn/crypto-attacks ~/.ctf-tools/crypto-attacks && pip install -r ~/.ctf-tools/crypto-attacks/requirements.txt
22```
23
medium line 37

Access to home directory dotfiles

SourceSKILL.md
35- SageMath (optional — only for legacy Sage fallback snippets (collapsed sections)) — Linux: `apt install sagemath`, macOS: `brew install --cask sage`
36- RsaCtfTool — `git clone https://github.com/RsaCtfTool/RsaCtfTool` (automated RSA attacks)
37- crypto-attacks (Coppersmith) — `git clone https://github.com/jvdsn/crypto-attacks ~/.ctf-tools/crypto-attacks` + `pip install -r ~/.ctf-tools/crypto-attacks/requirements.txt` (alternative to `pip install coppersmith`)
38
39> **Note:** `gmpy2` requires libgmp — Linux: `apt install libgmp-dev`, macOS: `brew install gmp`.
Scanned on Sep 4, 2026
View Security Dashboard
Installation guide →
GitHub Stars 1
Rate this skill
Categorydevelopment
UpdatedSeptember 27, 2026
yuzu-octopus/ctf-skills