Title: PHP.Generic.BadPattern.5
Last modified: April 26, 2017

---

# PHP.Generic.BadPattern.5

 *  Resolved [bvolken](https://wordpress.org/support/users/bvolken/)
 * (@bvolken)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/php-generic-badpattern-5/)
 * WordPress 4.7.4 running Divi theme.
    Just received email from VaultPress:
 * Suspicious Code
 * Our security scanners detected the following possible security issues. We recommend
   that you review the affected files.
 * PHP.Generic.BadPattern.5
 * 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.
 * plugins/weight-based-shipping-for-woocommerce/server/src/Services/ApiService.
   php

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

 *  Plugin Author [Dan](https://wordpress.org/support/users/dangoodman/)
 * (@dangoodman)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/php-generic-badpattern-5/#post-9068704)
 * I have no idea what pattern there is “very dangerous” and “suspicious”. Unless
   the file is really changed in your installation (you can easily check that by
   comparing to the freshly downloaded copy), there is nothing tricky or harmful
   in the code.
 * VaultPress is known to flag the code used in millions of websites and code libraries.
   I’m talking about the [Pimple Container](http://pimple.sensiolabs.org/).
 * Those automatic security tools are always lying. The more warnings you get from
   them the more you feel secured.
 *  Thread Starter [bvolken](https://wordpress.org/support/users/bvolken/)
 * (@bvolken)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/php-generic-badpattern-5/#post-9071667)
 * Thanks, then, I won’t sweat it.
    This is the first warning that Vaultpress has
   given me in the year+ I’ve been using it. I agree, too many warnings don’t bring
   any level of comfort either. BrianV

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

The topic ‘PHP.Generic.BadPattern.5’ is closed to new replies.

 * ![](https://ps.w.org/weight-based-shipping-for-woocommerce/assets/icon-256x256.
   png?rev=2072721)
 * [Weight Based Shipping for WooCommerce](https://wordpress.org/plugins/weight-based-shipping-for-woocommerce/)
 * [Support Threads](https://wordpress.org/support/plugin/weight-based-shipping-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/weight-based-shipping-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/weight-based-shipping-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/weight-based-shipping-for-woocommerce/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [bvolken](https://wordpress.org/support/users/bvolken/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/php-generic-badpattern-5/#post-9071667)
 * Status: resolved