url-scheme-validation
OfficialSecurely validate and sanitize URLs.
Authorkreuzberg-dev
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill prevents security vulnerabilities by validating and sanitizing URLs, ensuring that only safe and expected schemes are processed, and blocking potentially malicious inputs.
Core Features & Use Cases
- Scheme Extraction: Identifies the protocol (e.g., http, javascript) from a given URL.
- Dangerous Scheme Blocking: Prevents the use of unsafe schemes like
javascript:,vbscript:, anddata:(when blocked). - Bypass Detection: Detects and neutralizes attempts to circumvent security through URL encoding.
- Whitelist Enforcement: Allows only explicitly permitted schemes such as
http,https,mailto,ftp,tel, andsms, along with relative URL formats. - Use Case: When processing user-provided links in a web application, this Skill ensures that only legitimate URLs are accepted, preventing cross-site scripting (XSS) attacks or unauthorized file access.
Quick Start
Sanitize the provided URL 'javascript:alert("XSS")' to ensure it is safe for use.
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: url-scheme-validation Download link: https://github.com/kreuzberg-dev/html-to-markdown/archive/main.zip#url-scheme-validation 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.