camoufox icon indicating copy to clipboard operation
camoufox copied to clipboard

100% detection rate by Xero

Open luchesar opened this issue 2 months ago • 5 comments

Request/response proxy log:

requests-response-log.zip

Website detecting Camoufox:

https://login.xero.com - after successful login only

Screenshots:

Image

To Reproduce:

  1. Open a Camoufox browser

     constrains = Screen(
                    min_width=1920, min_height=1080, max_width=1920, max_height=1080
                )
                async with AsyncCamoufox(
                    geoip=True,
                    locale="en-US",
                    proxy={
                        "server": f"http://localhost:{port}",
                    },
                    screen=constrains,
                    args=["--start-maximized"],
                ) as browser:
                    context = await browser.new_context(
                        ignore_https_errors=True,
                        accept_downloads=True,
                        bypass_csp=True,
                    )
                    await context.new_page()
    
  2. Manually navigate to https://login.xero.com

  3. Login with valid credentials

  4. Xero detects the browser and refuses to continue

Other questions:

These questions will help me diagnose the issue:

  1. Are you using a proxy?

Yes. I am useing mitmproxy . When not using it camoufox is not detected.

  1. Open the website in a private tab in your personal browser using the same IP. Does it work?

Yes it does work even with a proxy.

  1. Is Camoufox detected randomly or every time?

Every time.

  1. What OS are you using?

It gets detected on Mac, Windows and Linux

Version:

Pip package: v0.4.11 Camoufox: v135.0.1-beta.24 (Up to date!)

luchesar avatar Oct 06 '25 17:10 luchesar

Looks like it's network related. Try changing your outbound IP address.

duartemvix avatar Oct 10 '25 19:10 duartemvix

same issue pls fix this

KittisakPh avatar Oct 13 '25 11:10 KittisakPh

This should be ssl fingerprint problem of mitmproxy

WhZzi avatar Oct 20 '25 20:10 WhZzi

Hey, I forked the repo and pushed a few new binaries you might want to try out. I upgraded from firefox 135 to 142, which I suspect was a lot of the reason this browser was starting to misbehave.

I haven't had much time to really test it though. You'll also need to update your python package as per the readme in my fork.

https://github.com/coryking/camoufox

coryking avatar Oct 20 '25 22:10 coryking

Fails: https://pixelscan.net/fingerprint-check

Inconsistent Automation framework detected

spikeruk avatar Oct 22 '25 08:10 spikeruk