Title: Suspicious function found
Last modified: October 23, 2025

---

# Suspicious function found

 *  Resolved [vraisa](https://wordpress.org/support/users/vraisa/)
 * (@vraisa)
 * [7 months, 2 weeks ago](https://wordpress.org/support/topic/suspicious-function-found-7/)
 * We’ve detected some suspicious code in this plugin file from the Official WP 
   repository at [https://wp.org/plugins/simply-static-pro](https://coinmotion.com/wp-admin/admin.php?page=wdf-scan)
   and the flagged code is highlighted in red. We recommend contacting the plugin
   developer for clarification, as warnings can sometimes be false positives. If
   found as a false positive, please reach out to our support.
   version: 14.15.5 
   file: class-ssp-shortpixel.phpline: 784  if ( [@copy](https://wordpress.org/support/users/copy/)(
   $file, $file_path ) ) {
    - The @ symbol suppresses PHP errors, which is often considered **bad practice**
      because it can hide potential issues.
    - Security scanners often flag [@copy](https://wordpress.org/support/users/copy/)()(
      and similar functions like eval(), base64_decode(), exec(), etc.) since they
      are **sometimes abused in malware** to copy or move malicious files.

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

 *  [Mehmet](https://wordpress.org/support/users/gandomi/)
 * (@gandomi)
 * [7 months, 2 weeks ago](https://wordpress.org/support/topic/suspicious-function-found-7/#post-18692153)
 * Hello there,
   Thanks a lot for reaching out.
 * It looks like the file you mentioned belongs to the **Simply Static** plugin,
   not **WP Statistics**.
   We’re the developers behind the **WP Statistics** plugin.
 * You can contact their support team directly from the official WordPress forum
   here:
    [https://wordpress.org/support/plugin/simply-static/](https://wordpress.org/support/plugin/simply-static/)
 * They’ll be the best people to review the flagged code and clarify if it’s a false
   positive.
 * Thanks again for checking things carefully. 
   We really appreciate users who help
   keep the WordPress ecosystem secure!
 * Kind regards,
   Mehmet
 *  Thread Starter [vraisa](https://wordpress.org/support/users/vraisa/)
 * (@vraisa)
 * [7 months, 2 weeks ago](https://wordpress.org/support/topic/suspicious-function-found-7/#post-18692181)
 * thanks and sorry.

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

The topic ‘Suspicious function found’ is closed to new replies.

 * ![](https://ps.w.org/wp-statistics/assets/icon.svg?rev=3081064)
 * [WP Statistics – Simple, privacy-friendly Google Analytics alternative](https://wordpress.org/plugins/wp-statistics/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-statistics/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-statistics/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-statistics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-statistics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-statistics/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [vraisa](https://wordpress.org/support/users/vraisa/)
 * Last activity: [7 months, 2 weeks ago](https://wordpress.org/support/topic/suspicious-function-found-7/#post-18692181)
 * Status: resolved