Skip to content
Mallace for php teams

PHP security scanning that fixes what it finds

Mallace follows request data ($_GET, $_POST, $_COOKIE, php://input) and function arguments into the PHP calls that hand attackers your database or your server, and proves every finding with a test on PHP 8.4 before it changes anything.

SQL injection

Queries built by concatenation or interpolation and passed to PDO, mysqli, pg_query, WordPress’s $wpdb or Laravel’s DB::raw and DB::select, fixed with prepared statements and placeholders.

Command injection

User input reaching exec, system, shell_exec, passthru, popen or proc_open, fixed with proper escaping or by not using a shell.

Code injection

User input reaching eval.

Unsafe unserialize

unserialize on attacker-controlled data, which can create arbitrary objects. Calls that set allowed_classes => false aren’t reported.

Tests that run your code

Each regression test runs against your real code in a sandboxed PHP 8.4 container with no network, and can use the Composer packages your project depends on. Your composer.lock is also checked for known-vulnerable packages.

A good fit if

Custom PHP apps, WordPress plugins and themes, and Laravel or Symfony projects, on GitHub.

Not a fit if

A WordPress site with no custom code on GitHub. Mallace can check the live site for outdated WordPress and other problems, but it needs source code to fix.

How it works: product overview · Questions: FAQ · Cost: pricing

Scan your repository free.