cap icon indicating copy to clipboard operation
cap copied to clipboard

False positive: instr_automated_browser

Open kylagit opened this issue 3 weeks ago • 13 comments

Cap's demo said a real site would have flagged me, but I'm a person.

Page: https://trycap.dev/ Reason: instr_automated_browser Checks: worker_mismatch Browser: Mozilla/5.0 (X11; Linux x86_64; rv:160.0) Gecko/20100101 Firefox/160.0

What I was doing: Using Cap on Android Firefox with desktop mode enabled, which leaks the real Android UA via web workers. This will cause false flags on tablets and Chromebooks.

kylagit avatar Nov 11 '26 16:11 kylagit

fixed!

tiagozip avatar Nov 11 '26 16:11 tiagozip

Why didn't Cap v3 have these issues?

kylagit avatar Nov 11 '26 21:11 kylagit

Because Cap v3 had much simpler and smaller instrumentation, which caught significantly less bots. Since Cap v4 is still very new I'm actively monitoring false positives.

tiagozip avatar Nov 11 '26 21:11 tiagozip

It would be nice to see an setting which uses more Cap v3 style behaviour, and relies on the new AI bot and mouse/keyboard telemetry as the heavy hitters.

kylagit avatar Nov 12 '26 00:11 kylagit

you can customize individual flags in the Protection tab.

-------- Original Message -------- On Thursday, 11/12/26 at 00:42 kylagit @.***> wrote:

kylagit left a comment (tiagozip/cap#357)

It would be nice to see an setting which uses more Cap v3 style behaviour, and relies on the new AI bot and mouse/keyboard telemetry as the heavy hitters.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you modified the open/close state.Message ID: @.***>

tiagozip avatar Nov 12 '26 07:11 tiagozip

However it would still be nice to see a "Minimise false positives" preset which follows the Cap v3 philosophy of only blocking sure signs of automated/headless browsers, which would make it easier to recommend to others who want it to just work.

kylagit avatar Nov 12 '26 09:11 kylagit

that should be the relaxed preset! they're mostly the same as v3

image

tiagozip avatar Nov 12 '26 11:11 tiagozip

I have clicked that however it changes the automation tools setting from block to flag. Does that mean Cap then runs as a pure PoW and DOM checker with no automation detection like Cap v3?

kylagit avatar Nov 12 '26 11:11 kylagit

relaxed mode still has automation detection, but it flags a request (allows it but leaves a log in the dashboard) instead of blocking it

tiagozip avatar Nov 12 '26 12:11 tiagozip

Thank you. However it would be nice to see presets on the automation blocking itself, so a site serving a lot of people with hardened Firefox doesn't turn most of them away but unspoofed Selenium still gets blocked.

kylagit avatar Nov 12 '26 12:11 kylagit

you should be able to customize checks for that in your protection settings! for that config specifically i'd recommend "Balanced" mode with "Allow SHA-256 when WebAssembly is off" on

tiagozip avatar Nov 12 '26 12:11 tiagozip

However it is unfortunately hard to know which will break things and which don't just by reading through the list, so it would be helpful to have a middle ground matching how Cap v3 worked, because HashWX unfortunately can't stop a bot which is happy to run at a slow pace.

kylagit avatar Nov 12 '26 13:11 kylagit

yeah that's why i heavily recommend just using one of the presets!

tiagozip avatar Nov 12 '26 13:11 tiagozip