Browser Automation with Truthful Fingerprinting via Mochi.js
Use Bun-native CDP framework to bypass WAF/bot-detection by emitting truthful hardware fingerprints
About this automation
Mochi.js is a Bun-native, raw-CDP browser automation framework that focuses on consistency and measured parity with regular traffic. Instead of cosmetic client-side probes, it uses a probe manifest based on analyzing WAF defenses and emits truthful hardware fingerprints (e.g., Linux fingerprints when running on Linux servers). This approach outperforms traditional browser automation by not lying about system state.
How to implement
Install Bun runtime and Mochi.js library
Define probe manifest based on target WAF analysis
Configure truthful hardware fingerprint emission (OS-matching)
Build automation workflow using Mochi's CDP interface
Test against target WAF (Turnstile, FingerprintJS, etc.)
Monitor suspect scores and bot-detection results
Iterate based on measured parity with regular traffic