← Latest products

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 complexity, compared to the default RegExp found in TypeScript and JavaScript, which has an exponential worst case. I wanted a safer alternative to RegExp for TypeScript that uses a linear-time engine, so I built Regolith.

LibraryOpen source

74 stars · GitHubexternal site

Visit github.comexternal site

Reactions (1)

Similar products

by description similarity

  1. Ezno

    github.com

    a TypeScript checker written in Rust, is now open source

    Hacker News113 pts

  2. Deslop

    github.com

    Oxlint rules for AI-generated TypeScript

    Hacker News32 pts

  3. Experimental TypeScript library for generating AI security test conversations

    Hacker News33 pts

  4. TypeScript Security Scanner

    news.ycombinator.com

    After launching a few weeks ago here on Hacker News with support for Ruby and JavaScript stacks, I’m happy to report we’ve just released a new version (v1.2) with TypeScript support!

    Hacker News9 pts

  5. Letlang

    david-delassus.medium.com

    written in Rust, targeting Rust, now has a specification

    Hacker News8 pts