Is there any URL based verification for the traffic sent? #2525
Replies: 4 comments 3 replies
-
Yeah, I've just installed umami and realised from any site I can just copy the <script> and put it even on local host and the stats still go up... |
Beta Was this translation helpful? Give feedback.
-
Also by the seems of it, even adding the <script defer="" data-website-id="86d4095c-a2a8-4fc8-9521-103e858e2b41" data-domains="umami.is" src="/a/script.js"></script>
for
<script defer="" data-website-id="86d4095c-a2a8-4fc8-9521-103e858e2b41" src="https://umami.is/a/script.js"</script> Whether this actually works I'm not too sure, but it's a very concerning security issue if it does Edit: Should the logic be here? Line 48 in 784237b |
Beta Was this translation helpful? Give feedback.
-
This is simply how HTTP requests work. There is no inherent security because you can pass whatever headers you want to make the request. |
Beta Was this translation helpful? Give feedback.
-
I noticed this problem too. At least it would be great to rotate the website id from time to time. Idea: website id rotationworkflow static websites
workflow normal websites
Of course really bad actors could still get the new id every time but it would take more effort. |
Beta Was this translation helpful? Give feedback.
-
I can see that the traffic sent from my vercel preview links counts as traffic in Umami Dashboard. (more info: Vercel is a hosting platform and generates random URLs for preview links)
Correct me if I'm wrong but what is stopping a bad actor from copying my website's Umami Analytics script tag from from the chrome browser console and put in some fake website and send false traffic?
Beta Was this translation helpful? Give feedback.
All reactions