Attack Pattern
Attack Pattern is a npm package which detects attack patterns. This is used in the Warning Bot Extensions and Warning Bot webapp. The first version only checks certain attack pattern for url's, but this will be improved over time with more attacks and different attack surfaces.
import 'attackPattern' from 'attackPattern' attackPattern.url.hasScriptInLink('https://www.warningbot.com/') // falseattackPattern.url.hasScriptInLink('https://www.warningbot.com/analyzer/<script>alert("xss")</script>') // true