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-8/)
 * 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: 784if ( [@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 1 replies (of 1 total)

 *  Plugin Author [patrickposner](https://wordpress.org/support/users/patrickposner/)
 * (@patrickposner)
 * [7 months, 2 weeks ago](https://wordpress.org/support/topic/suspicious-function-found-8/#post-18693465)
 * Hey [@vraisa](https://wordpress.org/support/users/vraisa/),
 * thanks for heads-up!
 * Happy to get that removed in the next update – we had it to support some PHP 
   7.2 environments, but since we upped the minimum version to 7.4 a while ago, 
   it’s no longer needed.
 * Should be gone with the next update!
 * Cheers,
   Patrick

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/simply-static/assets/icon-256x256.png?rev=2443263)
 * [Simply Static - The Static Site Generator](https://wordpress.org/plugins/simply-static/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simply-static/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simply-static/)
 * [Active Topics](https://wordpress.org/support/plugin/simply-static/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simply-static/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simply-static/reviews/)

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