Command Palette

Search for a command to run...

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

secure-coding-patterns

Secure coding patterns and DevSecOps best practices. Use for threat modeling, secret management, secure authentication, OWASP Top 10 prevention, and security…

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

Установить secure-coding-patterns в Claude Code и Claude Desktop

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

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

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

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

Secure Coding Patterns & DevSecOps

1. Authentication & Authorization

  • MFA / 2FA: Always support multi-factor authentication.
  • Tokens: Use short-lived JWTs and secure HttpOnly, SameSite cookies for session management.
  • RBAC / ABAC: Implement Role-Based or Attribute-Based Access Control enforcing the Principle of Least Privilege.

2. Input Validation & Sanitization

  • Trust No Input: Validate all input on the server-side against a strict schema (e.g., Zod, Joi).
  • Sanitization: Encode output to prevent XSS (Cross-Site Scripting).
  • SQL Injection Prevention: Always use parameterized queries or ORMs. Never concatenate strings to build SQL queries.

3. Data Protection

  • Encryption at Rest: Encrypt sensitive data in the database (e.g., AES-256).
  • Encryption in Transit: Enforce TLS 1.2+ for all communications.
  • Hashing: Use strong, salted hashing algorithms (Argon2, bcrypt) for passwords.

4. Secret Management

  • Never hardcode secrets in source code.
  • Use environment variables or dedicated secret vaults (HashiCorp Vault, AWS Secrets Manager).
  • Scan repositories for leaked secrets (e.g., GitGuardian, detect-secrets).

5. DevSecOps & CI/CD Integration

  • SAST (Static Application Security Testing): Analyze source code for vulnerabilities during the build.
  • DAST (Dynamic Application Security Testing): Test the running application for vulnerabilities.
  • SCA (Software Composition Analysis): Scan open-source dependencies for known CVEs.

6. Threat Modeling

  • Use frameworks like STRIDE (Spoofing, Tampering, Repudiation, Information Disclosure, Denial of Service, Elevation of Privilege) during the design phase.

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

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

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

FAQ

Что делает скилл secure-coding-patterns?

Secure coding patterns and DevSecOps best practices. Use for threat modeling, secret management, secure authentication, OWASP Top 10 prevention, and security compliance.

Как установить скилл secure-coding-patterns?

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

Скилл secure-coding-patterns запускает скрипты?

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

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

Сравнить secure-coding-patterns с