148 stable releases

new 2.37.214 Nov 2, 2025
2.37.213 Oct 30, 2025
2.37.152 Sep 26, 2025
2.37.133 Aug 28, 2025
2.37.95 May 31, 2025

#356 in Command line utilities

Download history 511/week @ 2025-07-18 882/week @ 2025-07-25 864/week @ 2025-08-01 974/week @ 2025-08-08 1683/week @ 2025-08-15 865/week @ 2025-08-22 855/week @ 2025-08-29 963/week @ 2025-09-05 3580/week @ 2025-09-12 2568/week @ 2025-09-19 3378/week @ 2025-09-26 3160/week @ 2025-10-03 2279/week @ 2025-10-10 2634/week @ 2025-10-17 4244/week @ 2025-10-24 1692/week @ 2025-10-31

11,656 downloads per month
Used in 12 crates (3 directly)

MIT license

240KB
4.5K SLoC

spider_fingerprint

A Rust crate to generate stealth JavaScript that spoofs browser fingerprinting features. Useful for emulateting real browser profiles across different platforms. It is recommended to use this project with headless-browser for real profiles and the latest chrome versions.

Purpose

  • Mimic real user fingerprints using static profiles
  • Help avoid common browser automation detection methods
  • Generate scripts for injection into browser environments

Features

  • Tiered spoofing levels (basic to full)
  • WebGL and GPU spoofing (WIP)
  • navigator.userAgentData high entropy value support
  • Plugin and mimeType spoofing
  • Optional mouse and viewport spoofing
  • Platform-specific variants (macOS, Windows, Linux)

Example

use spider_fingerprint::{build_stealth_script, builder::{Tier, AgentOs}};

let script = build_stealth_script(Tier::Full, AgentOs::Mac);
// Inject `script` into a browser context

Spoofing Tiers

This crate provides multiple spoofing levels depending on the desired realism and complexity.


| Tier            | Description                                               |
|-----------------|-----------------------------------------------------------|
| `Basic`         | Chrome props, WebGL spoofing, plugins/mimeTypes           |
| `BasicNoWebgl`  | Same as Basic but skips WebGL spoofing                    |
| `Mid`           | Adds WebDriver hiding                                     |
| `Full`          | All spoofing including WebGPU adapter spoof               |

Configuration

You can override the default Chrome versions with the env configs:

CHROME_NOT_A_BRAND_VERSION="99.0.0.0"
CHROME_VERSION_FULL=139.0.7258.67

License

MIT

Dependencies

~4–6.5MB
~101K SLoC