input-sanitization
CommunitySecure your inputs, protect your systems.
AuthorNir-Bhay
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides robust solutions for validating, sanitizing, and encoding user inputs to prevent security vulnerabilities like XSS and SQL injection, ensuring the integrity and safety of your applications.
Core Features & Use Cases
- Input Validation: Uses allowlist patterns for emails, usernames, UUIDs, etc., in Python and TypeScript.
- Context-Specific Encoding: Safely encodes data for HTML, JavaScript, and SQL contexts.
- File Upload Sanitization: Validates file types, sizes, and sanitizes filenames.
- Security Headers: Applies essential HTTP security headers like CSP and HSTS.
- Use Case: Protect a web application by ensuring all user-submitted form data is validated against expected formats, encoded correctly before display, and that file uploads are free from malicious content.
Quick Start
Use the input-sanitization skill to validate the email address 'test@example.com' using Python.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: input-sanitization Download link: https://github.com/Nir-Bhay/markups/archive/main.zip#input-sanitization Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.