origin-js
origin-js copied to clipboard
🐃 Avatar can be used to track viewers
There's nothing preventing the avatar image from being an http link. This allows a user to get the ip address/browser/etc for everyone that views one of their listings or their profile. Could also be used to get the IP addresses of counterparties or arbitrators.
We need to remove avatar images that are not data urls.
To test:
await originTest.users.set({profile:{
firstName:"The Black",
lastName:"Team",
avatar:"http://localhost/evilTracker.gif"
}})