Explore our new Cybersecurity Terms Glossary, explained by our experts.
Cybersecurity Terms Glossary
Typosquatting registers names that look almost identical to a legitimate one, so that a mistyped domain or a misread package name delivers the victim to an attacker instead.

What Is Typosquatting?
Typosquatting is the registration of a name that differs from a legitimate one by a character or two, in the expectation that someone will eventually get it wrong. The classic form targets domain names, where a mistyped address leads to a page that looks right. The faster-growing form targets software package registries, where a developer installing reqeusts instead of requests runs attacker code with the privileges of their build pipeline.
It is cheap. A domain costs a few pounds a year, a package upload costs nothing, and the attacker only needs a small fraction of traffic to go astray for the investment to pay off.
Nobody guesses at random. Generation tools such as dnstwist and urlcrazy enumerate the predictable mistakes:
exmple.com, exaample.com.exapmle.com.wxample.com.rn for m, the digit 1 for the letter l, or Cyrillic letters in an internationalised domain name..com, .cm, or .co rather than .co.uk.example-login.com or example-support.co.uk. This is now more common than pure misspelling, because the name is easier to use in phishing messages.A visitor who lands on a fake website might notice. A build server that installs a package notices nothing. Several campaigns have demonstrated the difference:
bzip and urllib, were found collecting system information after being downloaded thousands of times.crossenv, a variant of cross-env, exfiltrated environment variables, which in CI systems commonly hold cloud keys and deployment tokens.The mechanism is usually a post-install script or code in the package’s initialisation, both of which execute automatically. The closely related dependency confusion technique exploits the same trust in registries without relying on a typing error at all.
Typosquatted domains rarely exist for their own sake. They are infrastructure for something else: credential harvesting pages, invoice redirection in business email compromise, malware distribution, fake support numbers, advertising revenue from parked pages, and resale to the brand owner at a markup. A lookalike domain registered weeks before a phishing campaign is often the earliest visible sign that an organisation is being targeted.
Detection comes from three sources, and the first is the most useful:
For takedown, UK organisations have a few specific routes. The NCSC’s Takedown Service, part of Active Cyber Defence, removes phishing sites and malicious domains impersonating UK public sector bodies and, in some circumstances, others. Report phishing to the NCSC’s Suspicious Email Reporting Service and fraud to Action Fraud. For .uk domains, Nominet operates a Dispute Resolution Service for abusive registrations, which is cheaper and faster than a UDRP complaint or litigation. Protective DNS, available to the UK public sector, blocks resolution of known malicious domains at the network level.
Defensive registration of the handful of most plausible variants is worth doing, but registering every permutation is neither affordable nor necessary. Pair it with strong DMARC enforcement so lookalike domains cannot be used to spoof you convincingly, continuous Certificate Transparency monitoring, and a documented takedown procedure with named contacts so the first hour is not spent deciding who owns the problem. For development teams, pin dependency versions, use a lockfile, run a private registry or proxy that allowlists approved packages, and review new dependencies before they reach a build agent.
Lookalike domain discovery and phishing infrastructure mapping form part of our ThreatMon CTI, so you hear about a registration while it is still dormant.
No. The number of plausible variants grows quickly once you include multiple top-level domains and homoglyphs, and the cost is unbounded. Register the handful an attacker is most likely to use, such as close misspellings under .com and .co.uk, then rely on Certificate Transparency monitoring and a tested takedown process for everything else.
Typosquatting relies on a spelling mistake, as in exmaple.co.uk. Combosquatting uses your brand name spelled correctly alongside an extra word, as in example-payments.com. Combosquatting is now more common because the name reads naturally in an email or SMS message and does not depend on the recipient making an error.
Pin exact versions and commit a lockfile so installs are reproducible. Route installs through a private registry or proxy that allowlists approved packages rather than reaching public registries directly. Review new dependencies before they are added, and disable post-install scripts where your tooling allows it. Scanning a software bill of materials catches what slipped through.
The NCSC Takedown Service removes malicious sites impersonating UK organisations, particularly in the public sector. For .uk domains, Nominet’s Dispute Resolution Service handles abusive registrations without litigation. Registrars and hosting providers will often act on a clear abuse report. Report associated phishing to the NCSC reporting service and fraud to Action Fraud.
You May Be Interested In These
We use a few cookies that are needed to make this website work, and they are always on. We would also like to set analytics cookies, to see which pages are useful; functional cookies, so that our live chat works; and advertising cookies, to measure our campaigns. We will not set any of those until you say yes, and you can change your mind at any time from the Cookie Settings link in the footer.
Choose the cookies you are happy for us to use. Strictly necessary cookies are always on; everything else is off until you turn it on.
These cookies keep the website working: they hold your security checks, your form submissions and the choice you make here. The site cannot run without them, so they are always on.
These let our live chat open and remember your conversation, and let the newsletter sign-up work. Switch them off and the chat window will not appear.
These tell us which pages are read and how people find us, so that we can improve the site. The reports are about groups of visitors, never about you personally.
These let us measure our advertising and show you our adverts on other websites, such as LinkedIn, Google and Meta. Switch them off and you will still see adverts, but they will be less relevant.