Insecure RSA Configuration
Detects RSA usage with insufficient key sizes, PKCS#1 v1.5 padding (vulnerable to padding oracle), or direct message encryption without hybrid scheme.
от zakirkun★ 40 звёзд на GitHub
Установить Insecure RSA Configuration в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Insecure RSA Configuration
Overview
Common RSA vulnerabilities:
- Key size < 2048 bits: Keys below 2048 bits are factorable; minimum is 3072 bits by 2030 (NIST guidance)
- PKCS#1 v1.5 padding: Vulnerable to Bleichenbacher's padding oracle attack; OAEP must be used
- Direct message encryption: RSA should only encrypt symmetric keys (hybrid encryption), not arbitrary messages
- Public exponent e=1 or e=3: Trivial to break with small exponents
Remediation
- Use RSA key size ≥ 2048 bits (prefer 4096 for long-lived keys)
- Always use OAEP padding (
PKCS1_OAEPin Python,RSA/ECB/OAEPWithSHA-256AndMGF1Paddingin Java) - Use hybrid encryption (encrypt data with AES, encrypt AES key with RSA)
Vulnerable (Python):
from Crypto.PublicKey import RSA
from Crypto.Cipher import PKCS1_v1_5 # Vulnerable padding!
key = RSA.generate(1024) # Too small!
Safe (Python):
from Crypto.PublicKey import RSA
from Crypto.Cipher import PKCS1_OAEP
key = RSA.generate(4096)
cipher = PKCS1_OAEP.new(key.publickey())
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- patterns.yaml
FAQ
Что делает скилл Insecure RSA Configuration?
Detects RSA usage with insufficient key sizes, PKCS#1 v1.5 padding (vulnerable to padding oracle), or direct message encryption without hybrid scheme.
Как установить скилл Insecure RSA Configuration?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Insecure RSA Configuration запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
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…