security-practices

Implement security best practices for authentication, authorization, input validation, and encryption.

Updated Apr 13, 2026
One-click install
npx skills add https://github.com/kleon6436/GitHubCopilotSettings --skill security-practices-kleon6436
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-practices
Source: https://github.com/kleon6436/GitHubCopilotSettings/tree/main/skills/security-practices
Command: npx skills add https://github.com/kleon6436/GitHubCopilotSettings --skill security-practices-kleon6436

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides comprehensive security guidelines and actionable guidance for authentication, authorization, input validation, encryption, API key management, and OWASP Top 10 compliance across platforms.

Core Features & Use Cases

  • Comprehensive guidance covering authentication, authorization, token handling, input validation, encryption, and secret management.
  • Platform-agnostic recommendations with concrete examples for server, web, mobile, and API contexts.
  • Use Case: Integrate the guidelines into your secure SDLC, perform threat modeling, and implement controls such as least privilege, secure session handling, and encrypted storage.

Quick Start

Review and apply a security baseline across authentication, authorization, input validation, encryption, and API key management.

Frequently Asked Questions about security-practices

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

FAQPage Schema
What are the OWASP Top 10 security best practices for building secure APIs?

OWASP Top 10 security best practices for secure APIs involve implementing least-privilege authorization, secure token management, input validation, and encryption for data in transit and at rest. These controls protect against common vulnerabilities across the SDLC.

How do I implement secure input validation to prevent injection attacks across platforms?

Secure input validation prevents injection attacks by enforcing strict data type, length, and format constraints before processing. It provides structured guidelines for validating user input across web, mobile, and API contexts to block malicious payloads.

What is the best way to manage API keys and secrets during software development?

The best way to manage API keys and secrets is applying least-privilege design and secure token handling guidelines. This ensures sensitive credentials are encrypted at rest, rotated properly, and never exposed in client-side code or repositories.

Does this security guidance apply to mobile and web application development?

Yes, this security guidance applies to mobile and web application development through platform-agnostic recommendations. It provides concrete examples and structured controls for authentication, authorization, and encrypted storage across server, web, mobile, and API contexts.

How do I configure secure authentication and authorization for my application?

To configure secure authentication and authorization, implement least-privilege design and secure session handling. This ensures users are properly verified and granted minimum necessary permissions, protecting tokens and managing sessions safely across platforms.

When should I encrypt data at rest versus data in transit?

Encrypt data at rest to protect stored information from unauthorized physical access, and encrypt data in transit to secure information actively moving across networks. Both are essential controls for comprehensive secure data storage and OWASP compliance.