Tirup Mehta
›Work›Trace Guard

Project

Trace Guard

An npm package that blocks AI-driven browsers by watching how the mouse really moves. Agents that click straight to pixel coordinates give themselves away.

Trace Guard screenshot
Previewnpmjs.com

version

v3.8.0

stars

8

commits

21

01

Tech Stack

Node.jsTypeScriptEdge RuntimeCDP Detection
02

Core Engine

Hardware Truth Engine (v3.8.0)

03

Why I built it

Agents driven by vision models take a screenshot and click exact coordinates. They never really move a mouse, so ordinary bot checks miss them.

04

How it works

It sets traps a real hand never triggers and measures human movement, like how differently people push a mouse up versus down. It also catches tools that hide navigator.webdriver.

05

Setup

One setup call patches http.createServer, or you drop it in as Next.js Edge Middleware. No configuration needed.