# Benchmark: SpiderFoot and Spiderfootplus

A side-by-side run of SpiderFoot and Spiderfootplus on the same target, with
the same use case, on the same machine. It is one measurement, not a verdict:
read the [limits](#limits) before quoting a number.

## Setup

| | |
| --- | --- |
| Date | 3 December 2026 |
| Target | `spiderfootplus.com` (owned by this project; a small site behind Cloudflare) |
| Use case | **Passive**: both tools only query third-party sources, nothing is sent to the target's own servers |
| Machine | Windows 11, 8 cores, 8 GB RAM, home broadband |
| API keys | none, for either tool |
| SpiderFoot | `master` at commit `0f815a2` (2023-11-05), Python 3.12. The 4.0 release does not install on Python 3.12: its pinned `pyyaml<6` fails to build. |
| Spiderfootplus | 0.6.0 plus [#29](https://github.com/osintambition/spiderfootplus/pull/29) (IPv6 lookups), release build |

The tools ran one after the other, not at the same time.

```sh
# SpiderFoot (from its source folder, in a virtualenv with its requirements)
python sf.py -s spiderfootplus.com -u passive -o json > spiderfoot.json

# Spiderfootplus
spiderfootplus scan spiderfootplus.com -p passive -o json > spiderfootplus.json

# Compare
python -I scripts/benchmark/compare-spiderfoot.py spiderfoot.json spiderfootplus.json spiderfootplus.com
```

## Results

| | SpiderFoot | Spiderfootplus |
| --- | --- | --- |
| Time to finish | 1,108 s (18.5 min) | 41 s |
| Hostnames under the domain | 1 | 2 (the apex and `www`) |
| IP addresses of the target | 4 (2 IPv4, 2 IPv6) | 4 (2 IPv4, 2 IPv6) |
| Events in the output | 620 | 36 |
| of which about other sites on the same shared addresses (co-hosted, affiliate) | 490 | 0 |
| Target's addresses reported as malicious | 10 events (PhishStats, Maltiverse) | 0 |
| Modules that produced events | 23 | 9 |
| Errors | 484 `ERROR` log lines, 105 of them Python tracebacks | 1 module error (the Wayback Machine was down) |
| Export | 33 of 653 lines in the JSON export are not valid JSON | valid JSON |

### What the numbers mean

- **Both found the same infrastructure.** Each tool found the same four
  addresses. Spiderfootplus also listed `www.spiderfootplus.com`, which it
  got from certificate-transparency logs.
- **Most of SpiderFoot's output is about other people's sites.** The target
  sits on Cloudflare's shared edge addresses. SpiderFoot looks up every other
  site on those addresses, and their WHOIS records and contact emails, which
  produces 490 events about unrelated domains. Spiderfootplus marks the
  addresses as a Cloudflare edge (`PROVIDER_HOSTING`) and does not pivot on
  them.
- **The "malicious" results are about the shared addresses, not the target.**
  PhishStats and Maltiverse list the Cloudflare addresses because some other
  site behind them was reported. For this target, that is noise. For a site on
  dedicated hosting, the same lookup is a real signal.
- **Where SpiderFoot's time went was not profiled.** It ran more modules
  and followed the co-hosted sites (490 events). Its log also shows modules
  waiting on unreachable services. How much of the 18 minutes each of these
  took is not measured here.

### What it found in Spiderfootplus

The first run, with 0.6.0 as released, found only the two IPv4 addresses.
`dns_resolve` used the resolver's default strategy, which asks for IPv6
only when a name has no IPv4 address. That is fixed in
[#29](https://github.com/osintambition/spiderfootplus/pull/29). The table
above is the run after the fix.

## Limits

- **One target.** A small, Cloudflare-fronted site with no subdomains in
  public data. A large organisation, a self-hosted target or a different use
  case (footprint, investigate) would give different numbers. The comparison
  is worth repeating on several targets.
- **Different module sets.** Each tool's passive use case runs its own
  modules, so this compares the tools as shipped, not like for like per data
  source.
- **No API keys.** With keys, both tools query more sources.
- **Network and service variance.** Third-party services were slow or down
  during both runs (the Wayback Machine, among others). A rerun will differ
  by some seconds and a few events.
- **Not measured.** Memory, CPU, and the footprint use case. Footprint
  contacts the target's servers, which needs a target you own outright,
  not one behind a shared CDN.

Rerun it on targets you are authorised to assess. Pull requests with more
results are welcome.
