security-best-practices

Provide security best practices for backend development and microservices.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/SS2608-dev/Resilience --skill security-best-practices-ss2608-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-best-practices
Source: https://github.com/SS2608-dev/Resilience/tree/main/.agents/skills/security-best-practices
Command: npx skills add https://github.com/SS2608-dev/Resilience --skill security-best-practices-ss2608-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides comprehensive guidance on implementing robust security measures across backend development, microservices, and secure coding practices to prevent vulnerabilities and protect sensitive data.

Core Features & Use Cases

  • Input Validation: Ensures all external inputs are rigorously checked to prevent injection attacks.
  • Authentication & Authorization: Guides on secure user authentication, token management, and access control.
  • Secure Coding Patterns: Details best practices for preventing common web vulnerabilities like XSS, CSRF, and SQL Injection.
  • Use Case: A developer building a new API endpoint can consult this Skill to ensure they are implementing proper authentication, input validation, and rate limiting to protect against common attacks.

Quick Start

Apply the security best practices for input validation and authentication in your backend development.

Frequently Asked Questions about security-best-practices

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent SQL injection and XSS vulnerabilities in backend development?

Prevent SQL injection and XSS by rigorously validating external inputs and applying secure coding patterns. This Skill details specific input validation and secure configuration strategies to block these common web vulnerabilities.

What is the best way to implement authentication and authorization in microservices?

Implement microservices authentication and authorization using secure token management and strict access control boundaries. This Skill guides setting permission boundaries and resilient access controls across distributed services.

How do I securely manage secrets and handle errors in my API?

Securely manage API secrets and handle errors by following dedicated best practices for secrets management and secure error handling. This Skill provides guidelines to protect sensitive data and prevent information leakage.

Can I use these secure coding patterns for a new API endpoint?

Yes, you can apply these secure coding patterns to a new API endpoint. The Skill guides implementing proper authentication, input validation, and rate limiting to protect new endpoints against common attacks.

Why do I need input validation for microservices security?

Input validation is essential for microservices security because it stops injection attacks at the boundary. This Skill ensures all external inputs are rigorously checked before processing to protect backend systems.

What are the limitations of relying on secure configuration for backend resilience?

Secure configuration alone cannot replace active vulnerability prevention; it must combine with strong error handling and dependency management. This Skill addresses comprehensive resilience alongside configuration to prevent common attacks.