First, install the required packages:
npm installThen, run the filtering script (the execution may take some time):
./filter.shSome parts of this project are adapted from "Artifact (software + dataset) for "The Impact of Regular Expression Denial of Service (ReDoS) in Practice: an Empirical Study at the Ecosystem Scale" by J.C. Davis, C.A Coghlan, F. Servant, and D. Lee, licensed under CC BY 4.0.