/prodsec-skills:algorithm-selectionfrom prodsec-skills
Guides selection of cryptographic algorithms, cipher suites, and key exchange mechanisms. Covers banned/deprecated algorithms, post-quantum readiness, and OpenSSL API migration.
Ships in prodsec-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Note: For Red Hat Cryptography Standard (PSS.PQC) allowlist conformance, use
crypto-allowlist-scaninexperimental/crypto-standard-skills/. Some algorithm recommendations in this skill differ from the Cryptography Standard allowlist (e.g. SHA-256, ChaCha20-Poly1305, AES-128, sntrup761x25519) — seecrypto-allowlist-scanfor the normative allowlist.
Reference for which cryptographic algorithms to use, which to avoid, and how to prepare for post-quantum cryptography.
NEVER use these algorithms. They are cryptographically broken.
| Type | Banned |
|---|---|
| Hash | MD2, MD4, MD5, SHA-0 |
| Symmetric | RC2, RC4, Blowfish, DES, 3DES |
| Key Exchange | Static RSA, Anonymous Diffie-Hellman |
Avoid in new designs. Prioritize migration away from these.
| Type | Deprecated | Issue |
|---|---|---|
| Hash | SHA-1 | Collision attacks demonstrated |
| Symmetric | AES-CBC, AES-ECB | Unauthenticated; ECB leaks patterns |
| Signature | RSA with PKCS#1 v1.5 padding | Padding oracle attacks |
| Key Exchange | DHE with weak/common primes | Vulnerable to precomputation attacks |
X25519MLKEM768 (X25519 + ML-KEM-768)SecP256r1MLKEM768 (P-256 + ML-KEM-768)SecP384r1MLKEM1024 (P-384 + ML-KEM-1024)sntrup761x25519)Never use these deprecated functions. Use the EVP high-level APIs.
| Deprecated | Replacement |
|---|---|
AES_encrypt(), AES_decrypt() | EVP_EncryptInit_ex() with EVP_aes_256_gcm() |
RSA_new(), RSA_free(), RSA_get0_n() | EVP_PKEY_new(), EVP_PKEY_free() |
SHA1_Init() | EVP_DigestInit_ex() with SHA-256 or stronger |
HMAC() with SHA-1 | EVP_Q_MAC() with SHA-256 or stronger |
EVP_CIPHER_CTX *ctx = EVP_CIPHER_CTX_new();
if (!ctx) handle_error();
if (EVP_EncryptInit_ex(ctx, EVP_aes_256_gcm(), NULL, key, iv) != 1)
handle_error();
int len, ciphertext_len;
if (EVP_EncryptUpdate(ctx, ciphertext, &len, plaintext, plaintext_len) != 1)
handle_error();
ciphertext_len = len;
if (EVP_EncryptFinal_ex(ctx, ciphertext + len, &len) != 1)
handle_error();
ciphertext_len += len;
EVP_CIPHER_CTX_free(ctx);
EVP_Q_MAC(NULL, "HMAC", NULL, "SHA256", NULL,
key, key_len, data, data_len,
out, out_size, &out_len);
What SKILL.md sets; muted values are Claude Code's defaults
130 skills in this plugin
/address-sanitizerAddressSanitizer detects memory errors during fuzzing. Use when fuzzing C/C++ code to find buffer overflows and use-after-free bugs.
/admin-interface-securitySecure the administrative interface of model registries. Use when building, deploying, or reviewing model registry access controls and admin interfaces./aflppAFL++ is a fork of AFL with better fuzzing performance and advanced features. Use for multi-core fuzzing of C/C++ projects.
npx claudepluginhub redhatproductsecurity/prodsec-skills --plugin prodsec-skillsOther plugins' skills for the same job