Suspicious function found
-
We’ve detected some suspicious code in this plugin file from the Official WP repository at https://wp.org/plugins/simply-static-pro 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.php
line: 784
if ( @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() (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)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Suspicious function found’ is closed to new replies.