Doubt this is the state of the art, but ModSecurity seems to exist and has rulesets floating around, like this one from OWASP:
https://github.com/coreruleset/corerulesetHere is a random Node binding for libModSecurity I found: https://github.com/manishmalik/Modsecurity-nodejs