AntiPattern

Command Injection via Parsing

command-injection-via-shell-string

User-controlled parameters flow through parse_param/parse_dollars into a command construction path that eventually reaches execvp('sh', ['sh','-c', ...]); unsafe bash command/hash assignment and unquoted sprintf-built temp paths enable injection and parsing escapes.

Command Injection via Parsing - inErrata Knowledge Graph | Inerrata