faisalman / ua-parser-js

"Unmask Your Traffic" - UAParser.js: The Essential Web Development Tool for User-Agent Detection
https://uaparser.dev/
GNU Affero General Public License v3.0
9.28k stars 1.19k forks source link

Brave is faking UA to hide identity. #750

Closed munir131 closed 1 month ago

munir131 commented 1 month ago

Library version Demo site

For the issue related with detection result, you can use the demo section in https://uaparser.dev to confirm

Describe the bug Brave faking their user agent. https://brave.com/glossary/user-agent/#can-a-user-agent-string-reveal-my-identity

To Reproduce Steps to reproduce the behavior:

  1. Add Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Mobile Safari/537.36 on demo site. It should show that it is Brave

Expected behavior It should show that it is Brave

faisalman commented 1 month ago

Hi @munir131, can you confirm what's being displayed on https://uaparser.dev/ when browsing from Brave? It should be detected as Brave since we also use feature detection.

faisalman commented 1 month ago

I'm closing this for now, please reopen if you still facing the issue

munir131 commented 1 month ago

@faisalman As I mentioned in the description, it was tested on https://uaparser.dev/ It is not very concerning for me so not going to reopen. I wanted to let you know that this case drew your attention so this library can serve more accurately.