web-security

Enforce secure-by-default web security practices with input validation and security headers.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/Mohamedghaly140/sg-shop-web --skill web-security-mohamedghaly140
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: web-security
Source: https://github.com/Mohamedghaly140/sg-shop-web/tree/main/.claude/skills/web-security
Command: npx skills add https://github.com/Mohamedghaly140/sg-shop-web --skill web-security-mohamedghaly140

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enforce web security and avoid security vulnerabilities by promoting secure-by-default practices and rigorous input handling.

Core Features & Use Cases

  • Never trust user input and ALWAYS validate data at boundaries
  • Use Content Security Policy (CSP) and secure cookies to limit script execution and data leakage
  • Minimize data exposure and treat dependencies as untrusted inputs

Quick Start

Configure and enforce secure defaults across a web application by validating inputs and applying security headers

Frequently Asked Questions about web-security

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

FAQPage Schema
How do I enforce secure-by-default web security practices across my application?

To enforce secure-by-default web security, validate all user inputs at trust boundaries and apply security headers like Content Security Policy (CSP) to minimize vulnerabilities during development and deployment.

What is the best way to handle input validation and data protection to prevent web vulnerabilities?

The best way to prevent web vulnerabilities is to never trust user input and always validate data at boundaries. This minimizes data exposure and treats dependencies as untrusted inputs.

How does Content Security Policy (CSP) limit script execution and data leakage in web applications?

Content Security Policy (CSP) limits script execution and data leakage by restricting resource loading, which works alongside secure cookies to enforce robust web security and protect against injection attacks.

Can I apply these web security and CORS guidelines during testing and deployment scenarios?

Yes, you can apply these web security and CORS guidelines across development, testing, and deployment scenarios to establish maintainable security controls and ensure proper authentication and authorization.

Do I need executable code to configure secure defaults for authentication and authorization?

No, you do not need executable code. This approach satisfies requirements for clear guidelines and actionable principles, providing maintainable authentication and authorization security controls without executable code.