Weak cipher

From zakirkun/ice-tea · View interactive version

Weak cipher is an AI agent skill from the GitHub repository zakirkun/ice-tea. Detects use of broken or weak symmetric encryption algorithms (DES, 3DES, RC4, Blowfish, ECB mode).

How to use this skill

Skill file

Weak Cipher Algorithm Usage

Overview

Several symmetric encryption algorithms are cryptographically broken and should not be used:

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)
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.