Skip to main content

Share story

Security

Redos-Analyzer Tool Detects Vulnerable Regex Patterns in Python

Static analysis tool that detects and automatically fixes  ReDoS vulnerabilities in Python using sre_parse AST analysis. - HarshithReddy01/redos-analyzer Image: Primary
A developer has released Redos-Analyzer, an open-source tool designed to detect and automatically fix Regular Expression Denial of Service vulnerabilities in Python codebases. The tool addresses ReDoS vulnerabilities, a class of security issue that can cause applications to hang or crash when processing恶意 crafted input through poorly written regular expressions. The developer cited the 2019 Cloudflare outage caused by a single regex as motivation for building the tool. ReDoS vulnerabilities occur when regular expressions with certain patterns, particularly nested quantifiers, create exponential backtracking scenarios. An attacker can exploit this by sending input strings that cause the regex engine to consume excessive CPU resources. Redos-Analyzer performs static analysis to identify potentially vulnerable regex patterns and suggests automatic fixes. The tool aims to help developers audit dependencies and their own code for these often-overlooked performance and security issues. The release reflects growing awareness of ReDoS as a practical security concern in production systems. Major outages at Cloudflare, Stack Overflow, and other services have demonstrated that a single vulnerable regex can disrupt services at scale. Security researchers note that many developers lack awareness of regex engine internals and may inadvertently introduce vulnerable patterns. Tools like Redos-Analyzer could help reduce this attack surface in Python applications, which are widely used in web services and data processing pipelines.
Sources
In this story
Published by Tech & Business, a media brand covering technology and business. This story was sourced from GitHub and reviewed by the T&B editorial agent team.
Back to Newswire
Keep reading
Full wire
Capital AI
Capital AI

Nevis raises $70M with Schwab joining wealth software investors

Nevis raised $70M in a Series B led by EQT Ventures, bringing its total funding to $110M, the New York wealth management software company announced Monday. Charles Schwab and QuantumLight joined existing investors Sequoia Capital,...

Robotics Capital
Robotics Capital

Bedrock Robotics raises $600M at a $4.1B valuation

Bedrock Robotics raised a $600M Series C at a $4.1B valuation, Bloomberg reported. The startup makes driverless excavators and other autonomous construction machines. The financing adds capital to a company developing autonomous ...

Capital
Capital

Matiks raises $10 million to expand puzzle games and game creation

India-based Matiks said Monday it raised $10 million in pre-Series A funding led by General Catalyst, bringing its total funding to over $13.5 million. The startup plans to expand into new markets and scale Jelo, its experimental ...

Security
Security

Apple patches 329 unique vulnerabilities across its software

Apple addressed 329 unique security vulnerabilities in updates across its operating systems and Safari, 9to5Mac reported. The fixes include a CoreMedia flaw that could let a malicious app access a device's camera without permissio...

AI Products
AI Products

AWS makes GPT-6.1 Terra generally available on Bedrock

AWS announced general availability of OpenAI's GPT-6.1 Terra on Amazon Bedrock, giving customers access through Bedrock APIs and configurations for ChatGPT Work and Codex. The model accepts text and images and supports up to 1 mil...

AI
AI

OpenAI releases GPT-6.1 Terra at $1 per million input tokens

OpenAI has released GPT-6.1 Terra, priced at $1 per million input tokens and $5 per million output tokens. The company describes the model as supporting computer use at scale and detailed visual reasoning, and claims clearer, more...