security-and-hardening

Harden web applications against OWASP Top 10 vulnerabilities with validation and secure defaults.

Updated Mar 28, 2026
One-click install
npx skills add https://github.com/1J6K21/build4good --skill security-and-hardening-1j6k21
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-and-hardening
Source: https://github.com/1J6K21/build4good/tree/main/.gemini/skills/security-and-hardening
Command: npx skills add https://github.com/1J6K21/build4good --skill security-and-hardening-1j6k21

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Prevents common web application vulnerabilities and insecure configurations by providing concrete controls, patterns, and checklists so developers can safely handle user input, authentication, secrets, and external integrations.

Core Features & Use Cases

  • Input validation and sanitization at system boundaries to prevent injection and XSS.
  • Secure authentication and session management including password hashing, cookie flags, and rate limiting.
  • Safe data handling and secrets management to avoid accidental exposure of PII and API keys.
  • Configuration and deployment hardening with security headers, CORS restrictions, and dependency triage.
  • Use Case: Perform a pre-release security review of an API that accepts user uploads and third-party webhooks, generating prioritized fixes and configuration changes.

Quick Start

Run a focused security review of authentication, input validation, session handling, and external integrations and return a prioritized remediation checklist.

Frequently Asked Questions about security-and-hardening

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

FAQPage Schema
How do I harden web applications against OWASP Top 10 vulnerabilities?

Harden web applications against OWASP Top 10 vulnerabilities by enforcing input validation, parameterized queries, secure cookies, and encoding. This process applies security controls to prevent injection, XSS, and insecure session management.

What is the best way to implement input validation and rate limiting for authentication?

Implement input validation and rate limiting for authentication by applying boundary sanitization, secure password hashing, and explicit request throttling. This approach prevents injection attacks and brute-force credential compromise.

How do I perform a pre-release security review for APIs handling file uploads and webhooks?

Perform a pre-release security review for APIs handling file uploads and webhooks by analyzing authentication, input validation, and external integrations. This review generates a prioritized remediation checklist for configuration and code fixes.

How should I manage secrets and security headers to prevent accidental PII exposure?

Manage secrets and security headers to prevent accidental PII exposure by enforcing secure defaults, CORS restrictions, and safe data handling patterns. This configuration stops accidental API key leakage and unauthorized cross-origin access.

Does this security hardening approach work for third-party service integrations?

This security hardening approach works for third-party service integrations by validating external payloads and enforcing secure communication defaults. It ensures external webhooks and API connections satisfy input validation and secrets management requirements.