Title: The file Middleware.php contains a malicious code pattern
Last modified: March 28, 2021

---

# The file Middleware.php contains a malicious code pattern

 *  Resolved [jonny001](https://wordpress.org/support/users/jonny001/)
 * (@jonny001)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/the-file-middleware-php-contains-a-malicious-code-pattern/)
 * Dear All
 * I am using WooCommerce PDF Invoices & Packing Slips by
    Ewout Fernhout and Jetpack
   has returned this:
 * $handler($fn( as a potential threat
 * wp-content/plugins/woocommerce-pdf-ips-pro/lib/packages/GuzzleHttp/Middleware.
   php
 * [https://wpovernight.com/downloads/woocommerce-pdf-invoices-packing-slips-professional/](https://wpovernight.com/downloads/woocommerce-pdf-invoices-packing-slips-professional/)
 * Any thoughts or comments would be appreciated.
 * Best regards
 * Jon

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [jonny001](https://wordpress.org/support/users/jonny001/)
 * (@jonny001)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/the-file-middleware-php-contains-a-malicious-code-pattern/#post-14245011)
 * Thank you to WP Overnight for their quick clarification. Hopefully Jetpack will
   resolve.
 *  Plugin Contributor [Yordan Soares](https://wordpress.org/support/users/yordansoares/)
 * (@yordansoares)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/the-file-middleware-php-contains-a-malicious-code-pattern/#post-14245772)
 * We’re happy to help!
 * As we told you by mail, this is a known false positive from Jetpack. We already
   reported this issue and hope they fixed it in a future release. You can simply
   ignore it.
 * If you want to check (compare for yourself) with the official source of this 
   library (Guzzle, which is a very well-known and widely used library), you can
   check this here:
    [https://github.com/guzzle/guzzle/blob/6.5.5/src/Middleware.php#L233](https://github.com/guzzle/guzzle/blob/6.5.5/src/Middleware.php#L233)
 * Let me know if you have any further questions!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘The file Middleware.php contains a malicious code pattern’ is closed 
to new replies.

 * ![](https://ps.w.org/woocommerce-pdf-invoices-packing-slips/assets/icon-256x256.
   png?rev=2189942)
 * [PDF Invoices & Packing Slips for WooCommerce](https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Yordan Soares](https://wordpress.org/support/users/yordansoares/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/the-file-middleware-php-contains-a-malicious-code-pattern/#post-14245772)
 * Status: resolved