Expand description
Pure browser fingerprint data — the canonical source for browser identity.
Holds the StealthProfile selector, per-profile ProfileFacts (User-Agent,
navigation headers, hardware, client hints), and the canonical HeaderProfile
header catalog. This crate intentionally has no runtime, HTTP, TLS, browser, or
async dependencies. It sits below scanclient and stealth so both crates can
derive browser identity from one source without creating a dependency cycle.
Naming: StealthProfile is the canonical selector; ProfileFacts is its data;
a <Domain>Profile (e.g. HeaderProfile) is a pure derived projection for one
domain. One type per projection — HeaderProfile is the single browser-header
catalog type, re-exported unchanged by scanclient and stealth.
Structs§
- Browser
Request Headers - Fixed browser request header set.
- Header
Profile - Canonical browser HTTP header projection of a
StealthProfile. - Navigation
Header - Header/value pair for browser identity defaults.
- Profile
Client Hint Brand - One low-entropy User-Agent Client Hint brand entry for a browser profile.
- Profile
Facts - Stable browser identity facts shared by HTTP clients and browser fingerprint layers.
- Profile
Hardware - A coherent hardware/display tuple for a browser fingerprint profile.
- User
Agent Facts - Parsed browser identity facts from a User-Agent string.
Enums§
- Browser
Request Kind - Browser request surface to materialize.
- Stealth
Profile - Named browser fingerprint variants. Each one identifies a coherent (browser, OS, GPU class) tuple used by higher-level stealth crates.
- User
Agent Browser - Browser family parsed from a User-Agent string.
- User
Agent Platform - Operating-system family parsed from a User-Agent string.
Constants§
- ACCEPT_
ENCODING_ HEADER - HTTP header name for the profile Accept-Encoding negotiation header.
- ACCEPT_
HEADER - HTTP header name for the profile top-level navigation Accept header.
- ACCEPT_
LANGUAGE_ HEADER - HTTP header name for the profile Accept-Language identity header.
- ALL_
PROFILES - Every canonical browser identity profile in the catalog.
- CHROME_
WINDOWS_ LEGACY_ 96_ USER_ AGENT - Canonical User-Agent for
StealthProfile::ChromeWindowsLegacy96. - CHROME_
WINDOWS_ STABLE_ USER_ AGENT - Canonical User-Agent for
StealthProfile::ChromeWindowsStable. - CHROMIUM_
NAVIGATION_ ACCEPT - Chromium-class top-level navigation Accept header.
- DEFAULT_
ACCEPT_ ENCODING - Default browser Accept-Encoding set for shared Santh scanner transports.
- DEFAULT_
ACCEPT_ LANGUAGE - Default Chromium/Safari Accept-Language weighting.
- DEFAULT_
STEALTH_ PROFILE - Canonical default stealth identity for fleet-owned browser and HTTP launches.
- FIREFOX_
ACCEPT_ LANGUAGE - Default Firefox Accept-Language weighting.
- FIREFOX_
NAVIGATION_ ACCEPT - Firefox top-level navigation Accept header.
- FIREFOX_
WINDOWS_ STABLE_ USER_ AGENT - Canonical User-Agent for
StealthProfile::FirefoxWindows. - IE11_
NAVIGATION_ ACCEPT - Internet Explorer 11 top-level navigation Accept header.
- IE11_
WINDOWS_ USER_ AGENT - Canonical User-Agent for
StealthProfile::Ie11Windows. - LEGACY_
ACCEPT_ ENCODING - Legacy browser Accept-Encoding set for pre-Brotli navigation stacks.
- ROTATION_
PROFILES - Profiles intended for deterministic fleet rotation.
- SAFARI_
NAVIGATION_ ACCEPT - Safari top-level navigation Accept header.
- SEC_
FETCH_ DEST_ HEADER - HTTP header name for
Sec-Fetch-Dest. - SEC_
FETCH_ MODE_ HEADER - HTTP header name for
Sec-Fetch-Mode. - SEC_
FETCH_ SITE_ HEADER - HTTP header name for
Sec-Fetch-Site. - SEC_
FETCH_ USER_ HEADER - HTTP header name for
Sec-Fetch-User. - UPGRADE_
INSECURE_ REQUESTS_ HEADER - HTTP header name for
Upgrade-Insecure-Requests. - USER_
AGENT_ HEADER - HTTP header name for the profile User-Agent identity header.
Statics§
- PROFILES
- Common browser HTTP profiles used by scanner transports.
Functions§
- canonical_
navigation_ header_ name - Browser-compatible display casing for a canonical navigation header name.
- default_
profile_ browser_ headers - Canonical browser HTTP headers for
DEFAULT_STEALTH_PROFILE. - default_
profile_ facts - Canonical identity facts for
DEFAULT_STEALTH_PROFILE. - default_
profile_ navigation_ headers - Canonical profile-backed navigation headers for
DEFAULT_STEALTH_PROFILE. - default_
profile_ request_ headers - Canonical request-surface headers for
DEFAULT_STEALTH_PROFILE. - default_
profile_ request_ headers_ without_ compression - Canonical request-surface headers without
Accept-EncodingforDEFAULT_STEALTH_PROFILE. - default_
profile_ user_ agent - Canonical User-Agent for
DEFAULT_STEALTH_PROFILE. - get_
profile - Resolve a common browser HTTP profile by its stable config name.
- infer_
profile_ from_ user_ agent - Infer the closest canonical stealth profile from a User-Agent string.
- named_
profile - Resolve a config profile name or common alias to a canonical profile.
- profile_
browser_ headers - Canonical browser HTTP headers including compression negotiation.
- profile_
client_ hint_ brands - Low-entropy User-Agent Client Hint brands coherent with a browser profile.
- profile_
client_ hint_ platform - Low-entropy
Sec-CH-UA-Platformvalue coherent with a browser profile. - profile_
display_ name - Stable enum-style profile name for human-readable listings.
- profile_
facts - Canonical identity facts for a stealth profile.
- profile_
hardware - Default hardware/display tuple for a browser fingerprint profile.
- profile_
hardware_ at - Deterministically select a profile-coherent hardware/display tuple.
- profile_
hardware_ variants - Hardware/display tuples coherent with a browser fingerprint profile.
- profile_
name - Stable lowercase profile name for operator-facing config.
- profile_
navigation_ headers - Canonical profile-backed headers for top-level browser-like HTTP navigation.
- profile_
navigator_ vendor navigator.vendorvalue coherent with a browser fingerprint profile.- profile_
request_ headers - Canonical browser request headers for a request surface, including compression negotiation.
- profile_
request_ headers_ without_ compression - Canonical browser request headers for a request surface without
Accept-Encoding. - profile_
user_ agent - Canonical User-Agent for a stealth profile.
- rotate
- Deterministically rotate through common browser HTTP profiles.
- user_
agent_ facts - Parse browser, platform, version, and stealth-profile facts from a User-Agent string.