Predicate PropertyInjection::hasUnsafeMethods
Holds if the methods of the given value are unsafe, such as eval
.
Import path
import semmle.javascript.security.dataflow.PropertyInjectionShared
predicate hasUnsafeMethods(SourceNode node)
Holds if the methods of the given value are unsafe, such as eval
.
import semmle.javascript.security.dataflow.PropertyInjectionShared
predicate hasUnsafeMethods(SourceNode node)