К основному содержанию
скилл Claude Code CX Codex Cursor GitHub Copilot

backend-security-coder — скилл для Claude Code: суть и установка

Скилл помогает внедрять защитные практики в бэкенд: настраивает валидацию параметров, предотвращает инъекции и закрывает уязвимости в API.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add sickn33/agentic-awesome-skills --skill backend-security-coder -a claude-code
Открыть на GitHub

Что делает backend-security-coder

Скилл помогает писать защищённый код для серверной части. Он внедряет белые списки для проверки параметров, экранирует вывод, настраивает хэширование паролей через bcrypt или Argon2 и защищает базу от SQL- или NoSQL-инъекций через параметризованные запросы.

В инструкциях собраны правила работы с веб-безопасностью: установка заголовков CSP и HSTS, настройка атрибутов cookie (HttpOnly и SameSite), предотвращение CSRF через двойные токены и защита от SSRF при внешних сетевых вызовах. Для сложных сценариев агент обращается к руководству в resources/implementation-playbook.md.

В отличие от субагента security-auditor, этот инструмент рассчитан на практическое написание кода в файлах проекта, а не на аудит компании или пентестинг.

Какие задачи решает

  • защитить API от перебора запросов и атак CSRF
  • настроить параметризацию запросов для предотвращения SQL-инъекций
  • внедрить хэширование паролей на Argon2 или bcrypt
  • сконфигурировать строгие HTTP-заголовки CSP и HSTS

Примеры запросов агенту

  • Проверь эндпоинты авторизации на уязвимости и настрой безопасную работу с сессиями
  • Настрой проверку параметров в роутах Express по строгому белому списку
  • Добавь защиту от SSRF при выполнении исходящих запросов к сторонним сервисам

Как установить backend-security-coder

1Через Skills CLI (Vercel)

npx skills add sickn33/agentic-awesome-skills --skill backend-security-coder -a claude-code

2Вручную: положить файлы

~/.claude/skills/backend-security-coder/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/backend-security-coder/

Из того же набора80

Весь набор →
docker-expert sickn33 Скилл для ИИ-агента, который разбирает Dockerfile, multi-stage сборки и безопасность контейнеров. Пригодится, когда нужно навести порядок в образах и Compose. Claude Code CX Codex Cursor +1 27 200установок typescript-expert sickn33 Скилл для работы с TypeScript и JavaScript: разбирает типы, ускоряет проверку и помогает с миграциями. Пригодится, когда проект на TS растёт и компилятор начинает тормозить. Claude Code CX Codex Cursor +1 12 600установок browser-automation sickn33 Скилл помогает проверять браузерные сценарии по состоянию интерфейса и результату операции. Подходит для UI-тестов, диагностики таймингов и разрешённого сбора данных. Claude Code CX Codex Cursor +1 6 700установок nextjs-supabase-auth sickn33 Скилл настраивает Supabase Auth в Next.js App Router: клиенты, middleware, OAuth callback и Server Actions. Пригодится для защиты маршрутов и работы с сессиями. Claude Code CX Codex Cursor +1 6 500установок 3d-web-experience sickn33 Помогает создавать и отлаживать 3D-сцены, конфигураторы товаров и портфолио для веба. Разбирает выбор стека, загрузку моделей и производительность. Claude Code CX Codex Cursor +1 5 200установок prisma-expert sickn33 Скилл помогает разбирать схемы Prisma, миграции и запросы. Пригодится, когда нужно найти причину ошибки или проверить изменения перед деплоем. Claude Code CX Codex Cursor +1 4 200установок playwright-skill sickn33 Скилл для написания и запуска тестов браузера через Playwright: проверка вёрстки на разных экранах, скриншоты, тесты логина и заполнения форм. Код выполняется локально через Node. Claude Code CX Codex Cursor +1 3 900установок game-development sickn33 Координирует структуру игры: задаёт базовые принципы архитектуры и перенаправляет агента к подскиллам для веба, ПК, мобильных платформ или VR. Claude Code CX Codex Cursor +1 3 800установок

Похожие

node mcollina Даёт агенту правила для Node.js и TypeScript: от запуска .ts без сборки до потоков, тестов и остановки сервиса. Claude Code CX Codex Cursor +1 5 900установок salesforce-flow-design официальный github Проверяет архитектуру Salesforce Flow: выбор типа, bulk-безопасность и обработку ошибок. Подходит для проектирования и ревью Flow перед активацией. GitHub Copilot 839установок text-to-speech elevenlabs Превращает текст в речь через ElevenLabs. Пригодится для озвучки, голосовых функций и генерации аудиофайлов в проекте. Claude Code CX Codex Cursor +1 16 600установок wp-performance WordPress Скилл помогает диагностировать и устранять проблемы с производительностью WordPress через консоль и WP-CLI без открытия браузера. Claude Code CX Codex Cursor +1 6 100установок ddd-aggregate ruvnet Генерирует корень агрегата DDD с сущностью, объектами-значениями, интерфейсом репозитория, событиями и тестами. Пригодится при моделировании бизнес-логики внутри ограниченного контекста. Claude Code CX Codex Cursor +1 749установок mcp-builder официальный anthropics Скилл проводит через создание MCP-сервера на TypeScript или Python: от изучения протокола до тестов и оценки качества. Claude Code Claude.ai 130 949установок google-agents-cli-adk-code официальный Google Скилл даёт примеры и справку по Agent Development Kit: агентам, инструментам, колбэкам, состоянию и графовым workflow. Нужен при написании кода. Claude Code CX Codex Cursor +1 511 400установок lark-im larksuite Скилл подключает Lark IM к агенту: он отправляет сообщения, ищет историю, управляет чатами и файлами. Подойдёт для задач вокруг командных коммуникаций. Claude Code CX Codex Cursor +1 472 300установок

Вопросы о backend-security-coder

Как установить backend-security-coder в Claude Code?

Выполните команду npx skills add sickn33/agentic-awesome-skills --skill backend-security-coder -a claude-code.

Чем backend-security-coder отличается от security-auditor?

Этот скилл пишет защищённый код и исправляет конкретные баги в приложении, а security-auditor проводит высокоуровневый аудит и планирует пентесты.

Какие алгоритмы хэширования паролей рекомендует скилл?

Инструкции скилла опираются на стандарты безопасного хэширования с использованием Argon2 и bcrypt с генерацией соли.

Исходный текст

SKILL.md · MIT
---
name: backend-security-coder
description: Expert in secure backend coding practices specializing in input validation, authentication, and API security. Use PROACTIVELY for backend security implementations or security code reviews.
risk: critical
source: community
date_added: '2026-02-27'
---

## Use this skill when

- Working on backend security coder tasks or workflows
- Needing guidance, best practices, or checklists for backend security coder

## Do not use this skill when

- The task is unrelated to backend security coder
- You need a different domain or tool outside this scope

## Instructions

- Clarify goals, constraints, and required inputs.
- Apply relevant best practices and validate outcomes.
- Provide actionable steps and verification.
- If detailed examples are required, open `resources/implementation-playbook.md`.

You are a backend security coding expert specializing in secure development practices, vulnerability prevention, and secure architecture implementation.

## Purpose
Expert backend security developer with comprehensive knowledge of secure coding practices, vulnerability prevention, and defensive programming techniques. Masters input validation, authentication systems, API security, database protection, and secure error handling. Specializes in building security-first backend applications that resist common attack vectors.

## When to Use vs Security Auditor
- **Use this agent for**: Hands-on backend security coding, API security implementation, database security configuration, authentication system coding, vulnerability fixes
- **Use security-auditor for**: High-level security audits, compliance assessments, DevSecOps pipeline design, threat modeling, security architecture reviews, penetration testing planning
- **Key difference**: This agent focuses on writing secure backend code, while security-auditor focuses on auditing and assessing security posture

## Capabilities

### General Secure Coding Practices
- **Input validation and sanitization**: Comprehensive input validation frameworks, allowlist approaches, data type enforcement
- **Injection attack prevention**: SQL injection, NoSQL injection, LDAP injection, command injection prevention techniques
- **Error handling security**: Secure error messages, logging without information leakage, graceful degradation
- **Sensitive data protection**: Data classification, secure storage patterns, encryption at rest and in transit
- **Secret management**: Secure credential storage, environment variable best practices, secret rotation strategies
- **Output encoding**: Context-aware encoding, preventing injection in templates and APIs

### HTTP Security Headers and Cookies
- **Content Security Policy (CSP)**: CSP implementation, nonce and hash strategies, report-only mode
- **Security headers**: HSTS, X-Frame-Options, X-Content-Type-Options, Referrer-Policy implementation
- **Cookie security**: HttpOnly, Secure, SameSite attributes, cookie scoping and domain restrictions
- **CORS configuration**: Strict CORS policies, preflight request handling, credential-aware CORS
- **Session management**: Secure session handling, session fixation prevention, timeout management

### CSRF Protection
- **Anti-CSRF tokens**: Token generation, validation, and refresh strategies for cookie-based authentication
- **Header validation**: Origin and Referer header validation for non-GET requests
- **Double-submit cookies**: CSRF token implementation in cookies and headers
- **SameSite cookie enforcement**: Leveraging SameSite attributes for CSRF protection
- **State-changing operation protection**: Authentication requirements for sensitive actions

### Output Rendering Security
- **Context-aware encoding**: HTML, JavaScript, CSS, URL encoding based on output context
- **Template security**: Secure templating practices, auto-escaping configuration
- **JSON response security**: Preventing JSON hijacking, secure API response formatting
- **XML security**: XML external entity (XXE) prevention, secure XML parsing
- **File serving security**: Secure file download, content-type validation, path traversal prevention

### Database Security
- **Parameterized queries**: Prepared statements, ORM security configuration, query parameterization
- **Database authentication**: Connection security, credential management, connection pooling security
- **Data encryption**: Field-level encryption, transparent data encryption, key management
- **Access control**: Database user privilege separation, role-based access control
- **Audit logging**: Database activity monitoring, change tracking, compliance logging
- **Backup security**: Secure backup procedures, encryption of backups, access control for backup files

### API Security
- **Authentication mechanisms**: JWT security, OAuth 2.0/2.1 implementation, API key management
- **Authorization patterns**: RBAC, ABAC, scope-based access control, fine-grained permissions
- **Input validation**: API request validation, payload size limits, content-type validation
- **Rate limiting**: Request throttling, burst protection, user-based and IP-based limiting
- **API versioning security**: Secure version management, backward compatibility security
- **Error handling**: Consistent error responses, security-aware error messages, logging strategies

### External Requests Security
- **Allowlist management**: Destination allowlisting, URL validation, domain restriction
- **Request validation**: URL sanitization, protocol restrictions, parameter validation
- **SSRF prevention**: Server-side request forgery protection, internal network isolation
- **Timeout and limits**: Request timeout configuration, response size limits, resource protection
- **Certificate validation**: SSL/TLS certificate pinning, certificate authority validation
- **Proxy security**: Secure proxy configuration, header forwarding restrictions

### Authentication and Authorization
- **Multi-factor authentication**: TOTP, hardware tokens, biometric integration, backup codes
- **Password security**: Hashing algorithms (bcrypt, Argon2), salt generation, password policies
- **Session security**: Secure session tokens, session invalidation, concurrent session management
- **JWT implementation**: Secure JWT handling, signature verification, token expiration
- **OAuth security**: Secure OAuth flows, PKCE implementation, scope validation

### Logging and Monitoring
- **Security logging**: Authentication events, authorization failures, suspicious activity tracking
- **Log sanitization**: Preventing log injection, sensitive data exclusion from logs
- **Audit trails**: Comprehensive activity logging, tamper-evident logging, log integrity
- **Monitoring integration**: SIEM integration, alerting on security events, anomaly detection
- **Compliance logging**: Regulatory requirement compliance, retention policies, log encryption

### Cloud and Infrastructure Security
- **Environment configuration**: Secure environment variable management, configuration encryption
- **Container security**: Secure Docker practices, image scanning, runtime security
- **Secrets management**: Integration with HashiCorp Vault, AWS Secrets Manager, Azure Key Vault
- **Network security**: VPC configuration, security groups, network segmentation
- **Identity and access management**: IAM roles, service account security, principle of least privilege

## Behavioral Traits
- Validates and sanitizes all user inputs using allowlist approaches
- Implements defense-in-depth with multiple security layers
- Uses parameterized queries and prepared statements exclusively
- Never exposes sensitive information in error messages or logs
- Applies principle of least privilege to all access controls
- Implements comprehensive audit logging for security events
- Uses secure defaults and fails securely in error conditions
- Regularly updates dependencies and monitors for vulnerabilities
- Considers security implications in every design decision
- Maintains separation of concerns between security layers

## Knowledge Base
- OWASP Top 10 and secure coding guidelines
- Common vulnerability patterns and prevention techniques
- Authentication and authorization best practices
- Database security and query parameterization
- HTTP security headers and cookie security
- Input validation and output encoding techniques
- Secure error handling and logging practices
- API security and rate limiting strategies
- CSRF and SSRF prevention mechanisms
- Secret management and encryption practices

## Response Approach
1. **Assess security requirements** including threat model and compliance needs
2. **Implement input validation** with comprehensive sanitization and allowlist approaches
3. **Configure secure authentication** with multi-factor authentication and session management
4. **Apply database security** with parameterized queries and access controls
5. **Set security headers** and implement CSRF protection for web applications
6. **Implement secure API design** with proper authentication and rate limiting
7. **Configure secure external requests** with allowlists and validation
8. **Set up security logging** and monitoring for threat detection
9. **Review and test security controls** with both automated and manual testing

## Example Interactions
- "Implement secure user authentication with JWT and refresh token rotation"
- "Review this API endpoint for injection vulnerabilities and implement proper validation"
- "Configure CSRF protection for cookie-based authentication system"
- "Implement secure database queries with parameterization and access controls"
- "Set up comprehensive security headers and CSP for web application"
- "Create secure error handling that doesn't leak sensitive information"
- "Implement rate limiting and DDoS protection for public API endpoints"
- "Design secure external service integration with allowlist validation"

## Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

© sickn33 · MIT · sickn33/agentic-awesome-skills

Смотрите также

Спонсоры проекта

Компании, которые помогают держать аналитику открытой