
Wirebrowser is a CDP-based runtime instrumentation platform for the browser. Think Frida, but for JavaScript running in Chrome — without monkeypatching.
Joined November 2025
- Tweets29
- Following17
- Followers167
- Likes9
You can hook JavaScript functions at runtime (even inside closures) without monkeypatching.
Wirebrowser v0.6.1
Frida-style instrumentation for the browser:
onEnter / onLeave handlers, return control.
8
392
Don't intercept the request. Hook the code that builds it.
Via MCP, an agent finds the request, gets its initiator (url:line:col), hooks that line and rewrites the payload before it leaves.
(no monkeypatching, just CDP)
1
1
88
The prompt:
Using Wirebrowser: open demo.wirebrowser.dev and click "categories".
Find the API request it sends and the code that sent it.
Hook that code so the request sends "end": "wirebrowser",
click again, and show me the request that went out.
31
Wirebrowser 0.8.2: your coding agent can now hook the browser.
Through MCP, Claude Code can find a function in the page, hook it (even inside closures), read and override its return value, and see which code sent each request.
No monkeypatching.
2
216
Most JavaScript functions aren’t accessible from window.
You can still hook them, follow their return, and flip application state at runtime.
2
3
271
var e = new URLSearchParams(window.location.search).get("enableMessaging");
"true" === e
? window.addEventListener("message", function (e) {
console.log("Received message:", e.data);
}) : console.log("postMessage handler not enabled");
2
31
Stop stepping manually.
Skip execution until a condition flips and jump exactly where it happens:
🔥 loggedIn became true → line X
(no monkeypatching, just CDP)
1
1
221
Replying to @wirebrowser @Sharo_k_h
The good news is this is exactly what I’m working on right now: in the next release (coming in the next couple of days), you’ll be able to hook directly at a precise location and modify local state (including values derived from consts). This will replace Live Hooks.
2
1
22
Replying to @wirebrowser
As a client-side security researcher, I often face this problem:
For example, I may find a postMessage handler, but it only executes if certain checks pass. Is there a way to use Wirebrowser to trigger this handler directly?
I mainly want to focus on passing the required checks.
1
55
Replying to @wirebrowser
If possible, please provide more tutorials for this good tool and make it a little simpler so that even a junior security researcher can understand and test it.
2
67
In the meantime, here are some API examples: fcavallarin.github.io/wirebr…
1
37
Main limitation: no real async invocation identity in CDP.
Correlation across async boundaries is heuristic (stack similarity + timing).
143
Some data used to generate network requests only exists in runtime memory.
Wirebrowser → Heap Snapshot → search
1
229
Trace → Hook → Control
Wirebrowser v0.5.0 - Live Hooks:
• Identify the function via Origin Trace
• Hook it live
• Override return values
• Inject arbitrary code
Runtime instrumentation powered by CDP.
4
253
Wirebrowser 0.4.0 is out.
Request workflow improvements, Origin Trace fixes, and better stability.
macOS builds are now signed & notarised.
Landing page is live → wirebrowser.dev
2
257


