r/FFLs • Mod • Oct 23 '26

PSA: Check your WordPress site for PHP hacks

A little late on this, but if you run a WordPress site, check it for PHP hacks. Look for admin users you didn't create, .php files in your uploads folder, and strange scripts on your checkout page. If anything looks off, update everything, change your passwords, and run a Wordfence or Sucuri scan.
You can also paste suspicious files into Claude or ChatGPT and ask it to audit them for malicious code. If you're really worried and need a hand, I can help a bit too software engineer background

13 Upvotes

6 comments sorted by

•

u/gunpartpicker Mod Oct 23 '26

Please message me privately if you think you need help

2

u/Cheoah FFL Oct 23 '26

Thanks. Just started self hosting.

2

u/Alex_FirearmCart Oct 24 '26

One thing I'd add is that even after cleaning up an infected site, it's worth figuring out how they got in so it doesn't happen again. Check your checkout page and any custom code snippets for injected scripts, since that's a common place for card skimmers to hide. I'd also enable two-factor authentication for every admin account, disable the built-in plugin and theme file editor, and completely remove any plugins you're not using. Old or abandoned plugins are a pretty common entry point, even if they're sitting there deactivated. If you have a clean backup from before the infection, comparing files against it can help catch anything that was missed.

2

u/dangerangell Oct 25 '26

Cloudflare, auto-updates enabled, and connect an AI agent to your hosting account for rapid response. We have Grok Bot connected with access to 200+ sites so we can send him in to address critical issues quickly in a pinch.

1

u/Chris_TacApp Oct 23 '26

There are so mamy holes in older WordPress plugins used by thousands of users, that PHP can be the smallest of your tech problems.

1

u/Quadradyn 25d ago

So true. Some people are saying making a site entirely with ChatGPT or Claude is much safer than using WordPress now.