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
Products
Products

Paramount closes $110 billion Warner Bros. Discovery acquisition

Paramount has completed its $110 billion acquisition of Warner Bros. Discovery, creating a combined company called Skydance, The Verge reports. The transaction brings the companies' film studios, streaming services and brands incl...

Robotics
Robotics

Waymo reportedly increases inaugural debt raise to $5 billion

Waymo increased its inaugural debt raise from $3B+ to $5 billion, Bloomberg reported, citing sources. The robotaxi company is tapping lenders to finance growth as it expands globally. The larger raise comes as Waymo faces rising ...

Capital AI
Capital AI

Flai raises $27 million for dealership AI software

Flai said Tuesday it raised a $27 million Series A led by Base10 Partners for its AI software serving car dealerships. Investors included Friedkin Group, Findlay Automotive, Toyota's venture arm, Y Combinator and First Round Capit...

Capital
Capital

Vinci raises $250 million at $1.5 billion valuation

Software startup Vinci said Tuesday it raised $250 million at a $1.5 billion valuation, Reuters reported. The company makes software that simulates elements of chip and other hardware design and is seeking to expand its suite of s...

Security AI
Security AI

Dimon says cyberattack risks rose 10-fold after Mythos release

JPMorgan Chase CEO Jamie Dimon says cyberattack risks have risen 10-fold since Anthropic released its Mythos AI model. Speaking to Bloomberg at the JPMorgan Tech Stars Conference in London, he said artificial intelligence has expo...

Products Capital
Products Capital

Uber agrees to buy workplace catering platform ezCater for $2.3 billion

Uber has agreed to acquire workplace catering platform ezCater for $2.3 billion in cash, MoneyCheck reported. Uber plans to integrate ezCater's catering infrastructure into Uber Eats and Uber for Business, expanding its corporate ...