Command Palette

Search for a command to run...

Назад к скиллам
скилл № 69003

Insecure Password Storage

Detects passwords stored in plaintext or hashed with weak/unsalted algorithms instead of bcrypt/argon2/scrypt.

БесплатноБез исполняемых скриптов
zakirkunот zakirkun★ 40 звёзд на GitHub

Установить Insecure Password Storage в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Insecure Password Storage

Overview

Storing passwords in plaintext or with weak hashing algorithms like MD5 or SHA-1 (even with a salt) is insecure because:

  • Plaintext passwords are immediately exposed in a database breach
  • MD5/SHA-1 are too fast — GPU cracking renders them ineffective
  • Missing salts allow rainbow table attacks

The correct approach is to use a purpose-built password hashing algorithm: bcrypt, Argon2id, or scrypt.

Detection Strategy

Look for:

  • Direct string comparison of passwords (no hashing at all)
  • Use of MD5/SHA1/SHA256 for password storage (wrong tool for the job)
  • Missing bcrypt/argon2/scrypt usage in authentication code

Remediation

Use bcrypt with a minimum cost factor of 12, or Argon2id.

Vulnerable (Python):

import hashlib
stored = hashlib.md5(password.encode()).hexdigest()

Safe (Python):

import bcrypt
hashed = bcrypt.hashpw(password.encode(), bcrypt.gensalt(rounds=12))

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • patterns.yaml

FAQ

Что делает скилл Insecure Password Storage?

Detects passwords stored in plaintext or hashed with weak/unsalted algorithms instead of bcrypt/argon2/scrypt.

Как установить скилл Insecure Password Storage?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Insecure Password Storage запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить Insecure Password Storage с