mirror of
https://github.com/danog/psalm.git
synced 2024-12-11 16:59:45 +01:00
74749d20cc
Ref #4590
227 B
227 B
TaintedShell
Emitted when user-controlled input can be passed into to an exec
call or similar.
<?php
$command = $_GET["command"];
runCode($command);
function runCode(string $command) {
exec($command);
}