Pattern: Use of non-literal require()
Issue: -
Detects require()
function calls for something that is not a string
literal. For security reasons, it may be best to only require()
string
literals. Otherwise, it may be possible for an attacker to somehow
change the value and download arbitrary Javascript into your page.