All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

mochi.js: A Bun-Native Browser Automation Tool with Relational Fingerprint Locking and CDP-Based Fetch

By

ccheshirecat

23d ago· 2 min readen

Summary

mochi.js is a Bun-native, raw-CDP browser automation tool that uses a relational consistency engine for fingerprint locking. It derives all fingerprint surfaces (canvas, WebGL, audio, fonts, MediaDevices, WebGPU) from a single (profile, seed) pair through a 48-rule DAG, preventing inconsistent fingerprints. It features Chromium-native fetch routing through CDP for JA4/JA3/H2 coherence, and behavioral synthesis for human-like interactions (click, type, scroll). The tool is designed for stealth browser automation with JIT-installed spoofing and no external dependencies.

Key quotes

· 5 pulled
Every fingerprint surface — canvas, WebGL, audio, fonts, MediaDevices, WebGPU — derives from a single (profile, seed) pair through a 48-rule DAG.
No Frankenstein fingerprints; a Mac UA never lands next to Linux WebGL.
session.fetch() routes through Chromium itself via CDP — Network.loadNetworkResource for simple GETs, page.evaluate('fetch') for non-GET.
JA4/JA3/H2 are real Chrome by definition. No parallel HTTP layer to keep in lockstep, no FFI to install.
Relational fingerprint locking, JIT-installed spoofing, JA4-coherent fetch. Leaves no crumbs.
Snippet from the RSS feed
Bun-native, raw-CDP browser automation. Relational fingerprint locking, JIT-installed spoofing, JA4-coherent fetch. Leaves no crumbs.

You might also wanna read