#social 2020-02-14
2020-02-14 UTC
ajordan, sl007, jess, cwebber2 and BitBot joined the channel
#
lanodan Trying to federate link previews to avoid each node fetching the data, is Link with "preview" being a Page the right way or it should directly be a Page?
#
lanodan cwebber2: ^
#
lanodan (putting the whole thing into attachment of the Object btw)
#
jaywink[m] lanodan (IRC): there is a good reason to fetch link previews on each node. Otherwise you're trusting the sender about content of a third-party site.

#
jaywink[m] opens all kinds of nice attack vectors on spoofing content of third-party sites

#
lanodan And how is this an issue, link previews are already untrustable
#
lanodan (one could have evil.site look like facebook.com)
#
jaywink[m] sure but I can't make evil.site look like twitter.com :)

#
jaywink[m] in the preview

#
lanodan Same shit, OpenGraph isn't trustable
#
lanodan It's the same as <a href="//evil.site">facebook.com</a>
#
lanodan What's the worst, trusting a post author or having 1000+ nodes all fetching a post at the same time?
#
jaywink[m] > <@irc_lanodan:cybre.space> What's the worst, trusting a post author or having 1000+ nodes all fetching a post at the same time?

#
jaywink[m] depends, do you value scalability or content being reliable

#
lanodan Then I'd rather pull off link previews from pleroma.
#
jaywink[m] I'd value content being reliable to users

#
lanodan this isn't scalability, this is not abusing the network
#
lanodan Also your idea doesn't work since mastodon exists basically.
#
lanodan There is streaming of the timeline so a post is basically considered always viewed by at least one person tbh
#
lanodan I'll not fix mastodon, I'll fix pleroma because it does the same shit.
#
lanodan Anyway, pleroma does the fetching when the status view is rendered, not the slightest idea what mastodon is actually doing.
#
lanodan So again: Do we just pull off link previews from the fediverse because muh 3rd-party trust or do we pull of this garbage?
#
lanodan Also fediverse allows you do to <a href="//evil.site">facebook.com</a> for fucking ages and still does, only tootsuite/mastodon makes it a bit hard.
#
jaywink[m] probably not the reason to create new problems because other problems exist

#
lanodan The problem of false link preview content already exists anyway.
#
lanodan How is it different? Basically everyone willing to can do it, I've seen it multiple times with tumblr and wordpress thanks to the themes and their editability.
#
jaywink[m] it's different because I can't spoof your site, only you can make your site look like something else

#
jaywink[m] like sending a preview to another node pointing to a Pleroma release post and making the content say "Project is being ramped down"

#
lanodan Have fun: https://queer.hacktivis.me/notice/9s2graE0kggAsFtuwS
#
aaronpk i just get blank space under "Conversation" and there's a bunch of JS errors in the console https://i.imgur.com/vVMsZ0S.png

#
lanodan Ah sorry, my instance is not in public mode, will fix.
#
lanodan Yeah, frontend needs to be fixed.
#
lanodan there fixed
#
jaywink[m] that doesn't change why it's still a bad idea to trust remotely given content previews :)

#
jaywink[m] if you have an issue, why create another one?

#
lanodan Also this one can federate, didn't need to hack my instance at all.
#
jaywink[m] files an issue on Socialhome tracker 😅

#
lanodan Yeah, might need further hacks in the URL like RTL overrides but still.
#
lanodan With this one remote preview or not, you basically get the same thing.
#
jaywink[m] uploaded an image: Selection_504.png (23KB) <https://matrix.cybre.space/_matrix/media/v1/download/federator.dev/nVXPWZNxgJNDGyPYQlXnBPjZ>

#
lanodan Haha even better
#
jaywink[m] adding the domain to the preview is a pretty good mitigation tho

#
lanodan Yeah, will fix this one in mastodon, then I would have to get a domain like joinmastadon.org
#
lanodan Or something fun with unicode in domains
#
lanodan *will fix this one in pleroma (weird brainfart there)