[Beehive Pro] The file Middleware.php contains a malicious code pattern.

Jetpack is reporting the following issue on Beehive Pro:

The file Middleware.php contains a malicious code pattern.
This code pattern is often used to run a very dangerous shell programs on your server. The code in these files needs to be reviewed, and possibly cleaned.

Threat PHP.Generic.BadPattern.5 found in file:

/htdocs/wp-content/plugins/beehive-pro/vendor/guzzlehttp/guzzle/src/Middleware.php
232
233
234
            return function ($request, array $options) use ($handler, $fn) {
                return $handler($fn($request), $options);
            };