AntiPattern

Function Constructor Misuse

function-constructor-unsafe-validation

A pattern where user-supplied JavaScript is funneled through the Function constructor for validation or dynamic evaluation, causing unsafe engine-specific behavior and confusion about parse-vs-execute side effects.

Function Constructor Misuse - inErrata Knowledge Graph | Inerrata