security-and-hardening

Identify and mitigate security vulnerabilities in web services and APIs.

Updated May 18, 2026
One-click install
npx skills add https://github.com/lucasloutayf/barberia-evolution --skill security-and-hardening-lucasloutayf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-and-hardening
Source: https://github.com/lucasloutayf/barberia-evolution/tree/main/.agents/skills/security-and-hardening
Command: npx skills add https://github.com/lucasloutayf/barberia-evolution --skill security-and-hardening-lucasloutayf

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Security-first development practices for web applications. Treat every external input as hostile, every secret as sacred, and every authorization check as mandatory. Security isn't a phase — it's a constraint on every line of code that touches user data, authentication, or external systems.

Core Features & Use Cases

  • Input validation and encoding at boundaries to prevent injections and data leakage.
  • Authentication and authorization hardening with proper session management, token handling, and least-privilege access.
  • Security best-practices automation including OWASP Top 10 prevention patterns, secure defaults, and robust secrets management for protecting sensitive data.
  • Use Case: When building any web feature that processes user data, this skill guides you to enforce validation, secure data flow, and trusted external integrations.

Quick Start

Audit your API endpoints for input validation, proper encoding, and secure data handling to begin hardening your codebase.

Frequently Asked Questions about security-and-hardening

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

FAQPage Schema
How do I prevent injection vulnerabilities through input validation in web applications?

Input validation prevents injection vulnerabilities by enforcing boundary validation and proper encoding at entry points. Treat all external input as hostile, applying parameterized queries and strict data format checks to stop injections before reaching data storage or external integrations.

What is the best way to harden authentication and authorization mechanisms in APIs?

Harden authentication and authorization in APIs by implementing robust session management, secure token handling, and least-privilege access controls. Enforce mandatory authorization checks for every request to ensure users can only access permitted resources.

How do I secure secret management and data storage for sensitive user data?

Secure secret management protects sensitive user data by treating every secret as sacred. Apply secure defaults, utilize robust secrets management tools, and ensure proper TLS encryption for data in transit and at rest across all web services.

Can I automate OWASP Top 10 prevention patterns across my codebase?

Automating OWASP Top 10 prevention involves applying security best-practices automation across your codebase. Integrate defensive coding patterns like boundary validation and parameterized queries directly into development workflows to systematically mitigate common vulnerabilities.

How do I audit API endpoints for secure data handling and external integrations?

Audit API endpoints for secure data handling by reviewing input validation, proper encoding, and external integration security. Verify that boundary checks reject hostile inputs and that all external system connections enforce TLS and trusted data flow.

When do I need to apply defensive coding practices for web application security?

Apply defensive coding practices for web application security whenever building features that process user data, handle authentication, or interact with external systems. Security is a continuous constraint on every line of code, not a separate phase.