Get the latest tech news

Show HN: Regolith – Regex library that prevents ReDoS CVEs in TypeScript


A server-side TypeScript and JavaScript library immune to Regular Expression Denial of Service (ReDoS) attacks by using Rust and linear RegEx under the hood. Regolith has a linear worst case time c...

A server-side TypeScript and JavaScript library immune to Regular Expression Denial of Service (ReDoS) attacks by using Rust and linear Regex under the hood. Ultimately, I wanted a Regex library that is a drop-in replacement for RegExp in TypeScript and JavaScript where I didn't have to worry about ReDoS attacks. I plan to continue working on Regex libraries that mitigate ReDoS attacks for languages that don't yet have linear time engines.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of TypeScript

TypeScript

Photo of regolith

regolith

Photo of redos cves

redos cves

Related news:

News photo

A lightweight TypeScript library for assertion-based runtime data validation

News photo

Node.js is able to execute TypeScript files without additional configuration

News photo

Comptime.ts: compile-time expressions for TypeScript