redos-anti-pattern
CommunityPrevent Regex Denial of Service
Authorigbuend
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the critical security vulnerability of Regular Expression Denial of Service (ReDoS), which can cause applications to hang indefinitely due to poorly crafted regular expressions processing malicious input.
Core Features & Use Cases
- Identify Vulnerable Regex: Detects patterns with exponential-time complexity, such as nested quantifiers and overlapping alternations.
- Provide Secure Alternatives: Offers examples of linear-time regex patterns and strategies like input length limiting.
- Use Case: When reviewing code that uses regular expressions for input validation or parsing, this skill helps identify and fix potential ReDoS vulnerabilities before they can be exploited.
Quick Start
Review the provided regular expression for potential ReDoS vulnerabilities.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: redos-anti-pattern Download link: https://github.com/igbuend/grimbard/archive/main.zip#redos-anti-pattern 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.