Block Obfuscated JS in Email
In this example, we demonstrate how to detect and block obfuscated JavaScript within Email
objects (and their child objects). This technique can also be adapted to any other data type that might contain JavaScript.
The Text
backend makes use of machine learning to identify common scripting languages, such as JavaScript. By combining this detection with a common characteristic of malicious scripts—obfuscation into one-liners—we can build an effective filter. Here's how: