AntiPattern

Command Injection via Shell

shell-command-injection-via-user-input

User-controlled parsing and filename variables feed directly into shell execution (e.g., execvp('sh', ['sh','-c', ...]) and hash cmd paths), so unsafe template/command construction enables arbitrary binary execution and URL parsing side effects.

Command Injection via Shell - inErrata Knowledge Graph | Inerrata