security-best-practices

Apply security best practices to harden web applications against vulnerabilities.

1|Updated Mar 30, 2026
One-click install
npx skills add https://github.com/Typeless-Git/skills --skill security-best-practices-typeless-git
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-best-practices
Source: https://github.com/Typeless-Git/skills/tree/main/security-best-practices
Command: npx skills add https://github.com/Typeless-Git/skills --skill security-best-practices-typeless-git

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Implement security best practices for web applications and infrastructure to reduce vulnerabilities and protect data and users.

Core Features & Use Cases

  • Enforces HTTPS, security headers, and strict transport security to prevent eavesdropping and tampering.
  • Provides input validation, CSRF protection, and rate limiting to mitigate common web threats.
  • Covers API hardening, secure secret management, and compliance guidance aligned with OWASP Top 10.

Quick Start

Apply the recommended security patterns to your project by enabling secure headers and rate limiting in your existing stack.

Frequently Asked Questions about security-best-practices

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

FAQPage Schema
What security best practices should I apply to protect my web application?

Web application security best practices require HTTPS enforcement, parameterized queries, robust input validation, CSRF protection, proper secret handling, and rate limiting to mitigate common web threats and protect user data.

How do I prevent XSS and CSRF vulnerabilities in my web app?

To prevent XSS and CSRF vulnerabilities, apply strict input validation and CSRF protection tokens. These security patterns sanitize incoming data and verify request origins to block malicious script execution and unauthorized cross-site commands.

Can I use these security patterns to align with OWASP Top 10 compliance?

Yes, these security patterns provide compliance guidance aligned with the OWASP Top 10. They cover API hardening, secure secret management, and input validation to systematically reduce vulnerabilities and meet standard web security requirements.

What's the best way to implement rate limiting and HTTPS enforcement?

The best way to implement rate limiting and HTTPS enforcement is by applying proven security patterns directly into your existing stack. This enforces strict transport security and controls request volume to prevent eavesdropping and API abuse.

How do I manage secrets and harden APIs for secure web deployment?

Secure web deployment requires proper secret handling and API hardening. By enforcing strict secret management protocols and validating API inputs, you reduce vulnerabilities and prevent unauthorized access to sensitive infrastructure data.