What Is Tegufox?
Tegufox is a deep browser fingerprint engine — forked from Camoufox (Firefox Gecko) — designed to simulate browser environments with such precision that any measurement system returns results indistinguishable from a real user.
The goal is not simply to "fake" a browser. Modern anti-fraud systems have evolved far beyond checking for headless flags. They perform cross-correlation between OS fingerprints, GPU info, fonts, screen metrics, TLS signatures, and behavioral patterns. A spoofed value in one layer while others remain inconsistent is enough to flag a session.
Tegufox solves this by intervening at every layer simultaneously.
Why We Built It
Camoufox already does an excellent job at headless browser bypass. But as anti-fraud systems matured, we kept running into the same wall: cross-layer consistency.
A browser fingerprint isn’t a single value — it’s a fingerprint *system*. Checks include:
- TLS JA3/JA4 signatures and HTTP/2 SETTINGS frame order
- WebRTC ICE candidates leaking real IPs through STUN
- Canvas and WebGL pixel-level hashing correlated across visits
- Mouse movement patterns analyzed against Fitts’ Law models
- Font metric inconsistencies between OS and navigator headers
Multi-Layer Architecture
Tegufox patches Firefox Gecko at 9 points across 5 layers:
Layer 7: Behavioral
Mouse neuromotor · Typing rhythm · Scroll momentum
Layer 6: Hardware Fingerprint
WebGL/Canvas noise · Audio Context · Font metrics
Layer 5: Browser Environment
Navigator · Screen · Viewport · Headless masking
Layer 4: Network Protocol
TLS JA3/JA4 · HTTP/2 SETTINGS · ALPN negotiation
Layer 3: Network
WebRTC ICE masking · DNS (DoH/DoT) · STUN leak prevention
All 9 C++ patches are applied at build time — not injected via JavaScript at runtime. This is the key distinction from most browser automation tools. JS-injected spoofs can be detected through prototype chain inspection, timing attacks, and shadow DOM leakage.
Key Features
Fingerprint Consistency Engine
Before launching a session, Tegufox validates cross-layer coherence: OS version ↔ User-Agent, GPU vendor ↔ WebGL renderer, screen resolution ↔ viewport, installed fonts ↔ navigator locale. Inconsistencies are auto-corrected against a profile database.
Neuromotor Mouse
Mouse movement generated using Fitts’ Law with distance-aware trajectory curves and micro-tremor simulation. Movement patterns pass behavioral analysis tools that model human motor control.
TLS/HTTP2 Alignment
JA3/JA4 fingerprints and HTTP/2 SETTINGS frames are matched to the target browser profile. This layer is invisible to JavaScript — it requires network-level inspection to detect — and Tegufox patches it at the socket layer.
Profile Database
SQLite-backed profile store with templates for common browser/OS combinations. Profiles maintain consistency across sessions without manual configuration.
Python API & REST API
from tegufox_automation import TegufoxSession
with TegufoxSession(profile="chrome-120") as session:
session.goto("https://creepjs.com")
session.human_click("#start-test")
session.human_type("#input", "hello world")
session.wait_human(1, 3)
Or via HTTP for language-agnostic integrations:
curl -X POST http://localhost:8080/session/create \
-H "Content-Type: application/json" \
-d '{"profile": "chrome-120"}'
Use Cases
- Web automation and scraping where anti-bot detection is a blocker
- Privacy research — understanding what data browsers leak
- Security testing — validating fraud detection and bot detection systems
- Multi-account management — isolated, consistent browser identities
- E-commerce automation — checkout flows, inventory monitoring
Project Status
All 5 phases are complete and production-ready:
| Phase | Description |
|---|---|
| Phase 0 | Foundation & Research |
| Phase 1 | Toolkit & Automation Framework |
| Phase 2 | Core C++ Engine Patches (9 patches) |
| Phase 3 | Fingerprint Consistency Engine |
| Phase 4 | Behavioral Layer (mouse, keyboard, scroll) |
| Phase 5 | Ecosystem & API (GUI + CLI + REST) |
Getting Started
git clone --recurse-submodules https://github.com/TeguFy/tegufox-browser
cd tegufox-browser
python -m venv venv && source venv/bin/activate
pip install -r requirements.txt
./tegufox-cli launch --profile chrome-120
Tegufox is open source under MPL 2.0. Contributions welcome.
Repository: github.com/TeguFy/tegufox-browser