Nucleus

The Nucleus crawler

Nucleus is an SEO crawler that people run on their own Windows PCs to check websites for broken links, redirects, missing titles and other search problems. This page is for site owners who see it in their logs.

How to recognise it

Nucleus sends this user agent:

Mozilla/5.0 (compatible; Nucleus/1.0; +https://nucleus.csquaredstudios.io/crawler)

How it behaves

Block Nucleus

Add this to your robots.txt:

User-agent: Nucleus
Disallow: /

Nucleus reads robots.txt when it starts on your host, so the change applies to the next crawl. robots.txt is a request: the person running a crawl can tell Nucleus to ignore it, or to follow your Googlebot, OAI-SearchBot or * group instead of the Nucleus group. For a hard block, add a firewall rule that blocks user agents containing Nucleus/.

Let Nucleus through your firewall

Bot protection often blocks crawlers that are not search engines, Nucleus included. If you want someone to audit your site, the most reliable fix is an allow rule that matches both:

A rule on the user agent alone lets in anyone who copies the string. Make sure the rule also covers /robots.txt, because Nucleus does not crawl a site whose robots.txt it cannot read. You can remove the rule once the audit is done. The examples below use 203.0.113.10 as the address.

Cloudflare

Add a WAF custom rule (Security > Security rules) with this expression and the action Skip:

(http.user_agent contains "Nucleus/" and ip.src eq 203.0.113.10)

Skip all remaining custom rules, all rate limiting rules, all managed rules and all Super Bot Fight Mode rules, plus the Browser Integrity Check and Security Level products. Cloudflare describes the options under Skip.

Bot Fight Mode, the version on Cloudflare's Free plan, cannot be skipped by a custom rule. Cloudflare says it does not trigger when an IP Access rule matches first, so add an IP Access rule that allows the address, or turn Bot Fight Mode off while the audit runs (see Bot Fight Mode).

AWS WAF

Follow AWS's example for allowing a bot that Bot Control blocks: set the blocking rule to Count, then add a rule after the Bot Control rule group that blocks the same label except for requests that match the Nucleus user agent and the person's IP address.

Vercel

Add a custom rule with the Bypass action that matches a user agent containing Nucleus/ and the person's IP address.

DataDome

Add a custom rule with the Allow response that matches the useragent and ip fields.

Sucuri

In the Sucuri firewall dashboard, open Access Control and add the person's IP address under Allow IP Addresses (see Sucuri's steps).

Other firewalls and bot managers

Akamai, Imperva, HUMAN, Fastly and most hosting firewalls let you allow an IP address, or a user agent and an IP address together, in their bot or security settings.

Allow a secret header instead of an IP address

If the person's IP address changes too often for an allow rule, they can give you a secret value that Nucleus sends in an X-Nucleus-Access header with every request. Allow requests whose X-Nucleus-Access header equals that value. In Cloudflare, use this expression in the Skip rule described above:

any(http.request.headers["x-nucleus-access"][*] == "the-value-they-sent")

Bot Fight Mode cannot be skipped by a rule, so turn it off while the audit runs. In Vercel, add a custom rule with the Bypass action for the request header x-nucleus-access. Keep the value private, ask for a new one if it leaks, and remove the rule once the audit is done.

Shopify stores

Shopify rate limits crawlers it does not recognise. A store owner can create a crawler access signature in Shopify admin (Online Store > Preferences > Crawler access) and give it to the person running the crawl. Nucleus then sends it in the Signature-Input, Signature and Signature-Agent headers. Shopify explains crawler access. Signatures expire, so the person may ask you for a new one.

If someone asked you to allowlist Nucleus

When a site blocks a crawl, Nucleus can write a short note for the person to send you. It names the user agent, when the crawl ran and any reference IDs your firewall returned, such as Cloudflare Ray IDs. Look those IDs up in your firewall's log to see which rule blocked the requests. Nucleus can also copy setup steps for an allowlist header, or a request for a Shopify crawler access signature.

Contact

For questions, or a problem with how Nucleus crawled your site, email andrew.corbett@csquaredstudios.io with the time, your host and any reference IDs. Nucleus runs on its users' PCs, so we cannot stop a particular crawl from here, but we look into reports and fix the crawler when it misbehaves. To stop it on your site right away, use robots.txt or a firewall rule as described above.