A licence for a premium WordPress theme or plugin can cost a few dozen dollars, which may feel unnecessary for a small business. That is when offers like "premium theme for free" or "works without a licence key" appear on websites and Telegram channels. These files are called nulled: the licence check has been removed and the product redistributed. The problem is that whoever removed the licence code could add any other code too, and often does.
What the distributor gets out of it
Giving files away costs time and server money. Nulled distribution sites earn through ads, paid subscriptions or hidden code inside the files themselves. The last option is the most dangerous: a single backdoor spreads automatically to thousands of sites and gives the distributor control over them. Those sites are then used to place spam links, redirect visitors, send email or run other malware on the server. Not every nulled file is infected, but an ordinary user cannot verify that, because the malicious code is usually well hidden and the theme itself works perfectly.
What is typically hidden inside
Cleanup work shows recurring patterns. An encoded line is added to functions.php or the plugin's main file and fetches commands from a remote server on every page load. Sometimes a hidden administrator account is created and filtered out of the user list in the dashboard. Another common trick is invisible spam links in page markup that humans do not see but search engines do.
Example: a travel agency in Samarkand
A small travel agency in Samarkand liked a premium theme for its tour catalogue but downloaded it for free from a Telegram channel. For a few months everything worked. Then Google Search Console reported casino and pharmacy pages being indexed under the agency's domain, and the host detected spam email leaving the site. An encoded line in the theme's functions.php was pulling new commands from an external address every day. The agency ended up buying the licence anyway, plus paying for cleanup, password changes and restoring its domain reputation.
How to check a site for nulled code
If a theme or plugin did not come from an official source, start by searching for suspicious functions. Matches are not proof, since some legitimate plugins use them, but they give you a starting point for manual review:
grep -rnE "eval\(|base64_decode\(|gzinflate\(|str_rot13\(" wp-content/themes wp-content/plugins
grep -rnE "file_get_contents\(.http|curl_exec\(" wp-content/themes
find wp-content -name "*.php" -mtime -30
wp user list --role=administrator --fields=ID,user_login,user_email,user_registered
The WP-CLI user list bypasses dashboard filters that hide accounts. If you find an unknown administrator, deleting it is not enough: the code that created it may still be on the site.
The GPL misconception
Some distributors argue that WordPress themes are GPL-licensed, so nulled copies are legitimate. GPL does allow copying and redistribution, but it does not guarantee that your download matches the original. An official licence also includes updates and support, while a nulled copy never updates, so even a clean copy turns into outdated, vulnerable code over time. Check each product's licence terms for the legal details.
Safe alternatives
- Look at free alternatives in the official WordPress.org directory first; their code is reviewed and updates arrive automatically.
- Buy premium products only from the developer or a trusted official marketplace, and activate the licence key.
- If a nulled file is already in use, replace it with the official copy and audit the whole site.
- After replacing it, change all passwords, including the database password.
On sayt.uz hosting you can inspect and replace site files with the file manager in the ISPmanager panel. If you find suspicious code or need help cleaning up, open a support ticket from the sayt.uz cabinet.