NumPy allowed · plain Python earns 10 bonus points
Implement shell-metacharacter detection, a real, critical input check before a tool argument is EVER passed to a shell command (the exact class of bug behind real command-injection vulnerabilities).
Implement has_shell_metacharacters(arg): return True if arg contains any of these characters: ;, |, &, $, backtick, >, <, \n, (, ).
has_shell_metacharacters(arg: str) -> bool