Weak Cipher Algorithm Usage
Detects use of broken or weak symmetric encryption algorithms (DES, 3DES, RC4, Blowfish, ECB mode).
by zakirkun★ 40 GitHub stars
Install Weak Cipher Algorithm Usage in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
Weak Cipher Algorithm Usage
Overview
Several symmetric encryption algorithms are cryptographically broken and should not be used:
- DES: 56-bit key — broken since 1998, trivially brute-forced
- 3DES/TDEA: 112-bit effective security, SWEET32 attack, deprecated since 2018
- RC4: Statistical biases, NOMORE attack, prohibited in TLS (RFC 7465)
- ECB mode: Each block encrypted independently — patterns visible in ciphertext
- Blowfish: 64-bit block size — vulnerable to SWEET32 with large data volumes
Remediation
Use AES-256-GCM (authenticated encryption) for most use cases.
Vulnerable:
from Crypto.Cipher import DES
cipher = DES.new(key, DES.MODE_ECB)
Safe:
from Crypto.Cipher import AES
import os
key = os.urandom(32) # AES-256
nonce = os.urandom(12)
cipher = AES.new(key, AES.MODE_GCM, nonce=nonce)
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
- patterns.yaml
FAQ
What does the Weak Cipher Algorithm Usage skill do?
Detects use of broken or weak symmetric encryption algorithms (DES, 3DES, RC4, Blowfish, ECB mode).
How do I install the Weak Cipher Algorithm Usage skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the Weak Cipher Algorithm Usage skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…