Security scan test: harmless samples on a copy of a WP119 test site
What was placed
Harmless samples placed before each case: PHP files with a known-malware name in a comment (uploads, site root); that comment in a plugin file, theme functions.php and a core file; a wp-config.php line loading such a file; a comment-only PHP file added to wp-includes. Listed only: a scheduled task with no handler, an uploads PHP file without the name, a post with a script and frame from other domains, a root sitemap listing another domain, a file with the name in a folder the site cannot change.
Source: security scan test (harmless samples placed on a WP119 test site); no forum thread. Only the latest run for each server setup and connection mode is listed.
Test setup and what we observed after placing the samples
Test site: WordPress 7.1, PHP 8.3. The table shows the HTTP status of the homepage and the login page after the samples were placed.
| Server setup | Homepage | Login page | Note |
|---|---|---|---|
| Apache + PHP-FPM | 200 | 200 | |
| Apache + php-cgi (mod_cgid) | 200 | 200 | |
| Apache + mod_php | 200 | 200 | |
| nginx + PHP-FPM | 200 | 200 |
Outcome of each run
| Date (UTC) | Server setup | Connection mode | Outcome | Product version | Note | Result per sample |
|---|---|---|---|---|---|---|
| 2026-11-18 | Apache + PHP-FPM | FTP | Recovered | 2.1.488 | uploads-php: Removeduploads-phtml: Removedroot-phtml: Removedplugin-line: Removedtheme-line: Removedconfig-include: Removedcore-line: Removedcore-extra: Removedlocked-folder: Listed, left as isuploads-plain: Listed, left as isorphan-cron: Listed, left as ispost-embed: Listed, left as issitemap-outside: Listed, left as is | |
| 2026-11-18 | Apache + PHP-FPM | SSH | Recovered | 2.1.488 | uploads-php: Removeduploads-phtml: Removedroot-phtml: Removedplugin-line: Removedtheme-line: Removedconfig-include: Removedcore-line: Removedcore-extra: Removedlocked-folder: Listed, left as isuploads-plain: Listed, left as isorphan-cron: Listed, left as ispost-embed: Listed, left as issitemap-outside: Listed, left as is | |
| 2026-11-18 | Apache + PHP-FPM | WP admin | Recovered | 2.1.488 | core-line: not named in the report (in WP admin mode the report does not check core files); the restore replaced the core file with the official file. | uploads-php: Removeduploads-phtml: Removedroot-phtml: Removedplugin-line: Removedtheme-line: Removedconfig-include: Removedcore-line: Removedcore-extra: n/alocked-folder: Listed, left as isuploads-plain: Listed, left as isorphan-cron: Listed, left as ispost-embed: Listed, left as issitemap-outside: n/a |
| 2026-11-18 | Apache + php-cgi (mod_cgid) | FTP | Recovered | 2.1.488 | uploads-php: Removeduploads-phtml: Removedroot-phtml: Removedplugin-line: Removedtheme-line: Removedconfig-include: Removedcore-line: Removedcore-extra: Removedlocked-folder: Listed, left as isuploads-plain: Listed, left as isorphan-cron: Listed, left as ispost-embed: Listed, left as issitemap-outside: Listed, left as is | |
| 2026-11-18 | Apache + php-cgi (mod_cgid) | SSH | Recovered | 2.1.488 | uploads-php: Removeduploads-phtml: Removedroot-phtml: Removedplugin-line: Removedtheme-line: Removedconfig-include: Removedcore-line: Removedcore-extra: Removedlocked-folder: Listed, left as isuploads-plain: Listed, left as isorphan-cron: Listed, left as ispost-embed: Listed, left as issitemap-outside: Listed, left as is | |
| 2026-11-18 | Apache + php-cgi (mod_cgid) | WP admin | Recovered | 2.1.488 | core-line: not named in the report (in WP admin mode the report does not check core files); the restore replaced the core file with the official file. | uploads-php: Removeduploads-phtml: Removedroot-phtml: Removedplugin-line: Removedtheme-line: Removedconfig-include: Removedcore-line: Removedcore-extra: n/alocked-folder: Listed, left as isuploads-plain: Listed, left as isorphan-cron: Listed, left as ispost-embed: Listed, left as issitemap-outside: n/a |
| 2026-11-18 | Apache + mod_php | FTP | Recovered | 2.1.488 | uploads-php: Removeduploads-phtml: Removedroot-phtml: Removedplugin-line: Removedtheme-line: Removedconfig-include: Removedcore-line: Removedcore-extra: Removedlocked-folder: Listed, left as isuploads-plain: Listed, left as isorphan-cron: Listed, left as ispost-embed: Listed, left as issitemap-outside: Listed, left as is | |
| 2026-11-18 | Apache + mod_php | SSH | Recovered | 2.1.488 | uploads-php: Removeduploads-phtml: Removedroot-phtml: Removedplugin-line: Removedtheme-line: Removedconfig-include: Removedcore-line: Removedcore-extra: Removedlocked-folder: Listed, left as isuploads-plain: Listed, left as isorphan-cron: Listed, left as ispost-embed: Listed, left as issitemap-outside: Listed, left as is | |
| 2026-11-18 | nginx + PHP-FPM | FTP | Recovered | 2.1.488 | uploads-php: Removeduploads-phtml: Removedroot-phtml: Removedplugin-line: Removedtheme-line: Removedconfig-include: Removedcore-line: Removedcore-extra: Removedlocked-folder: Listed, left as isuploads-plain: Listed, left as isorphan-cron: Listed, left as ispost-embed: Listed, left as issitemap-outside: Listed, left as is | |
| 2026-11-18 | nginx + PHP-FPM | SSH | Recovered | 2.1.488 | uploads-php: Removeduploads-phtml: Removedroot-phtml: Removedplugin-line: Removedtheme-line: Removedconfig-include: Removedcore-line: Removedcore-extra: Removedlocked-folder: Listed, left as isuploads-plain: Listed, left as isorphan-cron: Listed, left as ispost-embed: Listed, left as issitemap-outside: Listed, left as is | |
| 2026-11-18 | nginx + PHP-FPM | WP admin | Recovered | 2.1.488 | core-line: not named in the report (in WP admin mode the report does not check core files); the restore replaced the core file with the official file. | uploads-php: Removeduploads-phtml: Removedroot-phtml: Removedplugin-line: Removedtheme-line: Removedconfig-include: Removedcore-line: Removedcore-extra: n/alocked-folder: Listed, left as isuploads-plain: Listed, left as isorphan-cron: Listed, left as ispost-embed: Listed, left as issitemap-outside: n/a |
| 2026-11-18 | Apache + mod_php | WP admin | Recovered | 2.1.490 | core-line: not named in the report (in WP admin mode the report does not check core files); the restore replaced the core file with the official file. | uploads-php: Removeduploads-phtml: Removedroot-phtml: Removedplugin-line: Removedtheme-line: Removedconfig-include: Removedcore-line: Removedcore-extra: n/alocked-folder: Listed, left as isuploads-plain: Listed, left as isorphan-cron: Listed, left as ispost-embed: Listed, left as issitemap-outside: n/a |
Samples placed
uploads-phpβ PHP file in the uploads folder, with a known-malware name in a comment (Named in the report and handled in the recovery)uploads-phtmlβ .phtml file in the uploads folder, with a known-malware name in a comment (Named in the report and handled in the recovery)root-phtmlβ .phtml file in the site root folder, with a known-malware name in a comment (Named in the report and handled in the recovery)plugin-lineβ Comment with a known-malware name added to the end of a plugin's main file (Named in the report and handled in the recovery)theme-lineβ Comment with a known-malware name added to the end of the theme's functions.php (Named in the report and handled in the recovery)config-includeβ Line in wp-config.php that loads a file with a known-malware name in a comment (Named in the report and handled in the recovery)core-lineβ Comment added to the end of a WordPress core file in wp-includes (Named in the report and handled in the recovery)core-extraβ Extra PHP file (comment only) in the wp-includes folder (Named in the report and handled in the recovery)locked-folderβ File with a known-malware name in a comment, in an uploads subfolder the site's account cannot change (Named in the report only; left as is)uploads-plainβ PHP file (comment only) in the uploads folder, with no known-malware name (Named in the report only; left as is)orphan-cronβ Scheduled task with no code that handles it (Named in the report only; left as is)post-embedβ Post with a script and an embedded frame from other domains (Named in the report only; left as is)sitemap-outsideβ Sitemap file in the site root that lists addresses on another domain (Named in the report only; left as is)
Notes
Each run started from the same copy of the online store test site on that test server. Three other items were also placed on the test site before each case; they are not in the sample table, and no result is published for them: a must-use plugin that shows phone visitors a link to a reserved example domain and, on two test paths, sends visitors to reserved example domains (on one path, only phone visitors); an administrator account; and an active-plugin entry for a plugin that is not on the site.
Changes to this record
- 2026-11-18 β Added 1 run from the lab run log.
- 2026-11-18 β Added 1 run from the lab run log.
- 2026-11-18 β Added 1 run from the lab run log.
- 2026-11-18 β Added 1 run from the lab run log.
- 2026-11-18 β Added 1 run from the lab run log.
- 2026-11-18 β Added 1 run from the lab run log.
- 2026-11-18 β Added 1 run from the lab run log.
- 2026-11-18 β Added 1 run from the lab run log.
- 2026-11-18 β Added 1 run from the lab run log.
- 2026-11-18 β Added 1 run from the lab run log.
- 2026-11-18 β Added 1 run from the lab run log.
These are records from our test servers, for a given product version on a given day. They are not a promise about the result on any site. Other hosts, PHP versions, and WordPress versions can behave differently.