Conversation

Cloudflare just published a vibe coded blog post claiming they implemented Matrix on cloudflare workers. They didn't, their post and README is AI generated and the code doesn't do any of the core parts of matrix that make it secure and interoperable. Instead it's littered with 'TODO: Check authorisation' and similar

https://blog.cloudflare.com/serverless-matrix-homeserver-workers/

10
33
1

Let me just pick a few examples from the code, because this is so bad

1
0
0

This is a core part of the protocol, that's not exactly simple (https://spec.matrix.org/v1.17/server-server-api/#authorization-rules)

They just have TODO comments, and happily accept anything, even if it's blatantly forged

2
3
1

Rather than implementing the critical state resolution algorithm that's the core of Matrix, they just directly insert the latest state into the database. That'll instantly lead to diverging views of the room and incompatibility with every other implementation - and it's also a massive security hole.

1
3
0

Oh and to top things off, they make trivially false claims in their post. Tuwunel and its predecessors do not and have never used Postgres or Redis.

1
1
0

Honestly this is almost insulting to me, as someone who has spent a nontrivial amount of effort developing a Matrix homeserver, with how low effort it is. And what’s the point? Marketing? I’m not gonna be trusting anything Cloudflare after this.

2
4
0

The pricing comparisons are stupid, by the way, too - a bunch of us in the matrix chatrooms got out how many HTTP requests per day we were serving and the per-request cost of Workers would be more expensive than dedicated VPSs - not even counting CPU time or storage costs!

1
3
0

@JadedBlueEyes

I might just be missing it, but since they made a point about how it's post-quantum: where's the megolm implementation?

0
1
0

For those of you that don't know, I develop https://continuwuity.org - a Rust based Matrix homeserver that actually works, and that you can run on a Raspberry Pi, rather than someone else's centralized cloud infrastructure

2
2
0

I'm also giving a talk about some of the actual work that goes into building this software in a few days at FOSDEM, if you want to learn more:

https://tech.lgbt/@JadedBlueEyes/115956965835059690

1
4
0

@JadedBlueEyes

I’m not gonna be trusting anything Cloudflare after this.

as if you should’ve been doing this in the first place

0
0
0

@JadedBlueEyes I recently learned that GitHub allows one to view the activity on a repo, and you can limit it to show force pushes only, which in turn allows you to view the diff between the two states too, even if they span multiple commits.

It's fun to see what kind of things some companies try to hide. (edit: like the original history, which has some fun commits in there!)

1
1
0

@JadedBlueEyes more cover up - now making changes removing the claims of Production Ready and adding It is meant to serve as an example prototype and not endorsed as ready for production at this point.

1
1
0

@JadedBlueEyes The comments under this commit make it at least a bit funnier

1
1
0

@wyldtom @JadedBlueEyes for me the funniest part is

> a serverless architecture where operations disappear, costs scale to zero when idle, and every connection is protected by post-quantum cryptography by default.

I don't know about the post-quantum cryptography, but I'll grant them that their homeserver is serveless and costs scale to zero (on account of it not existing)

1
1
0

@elilla @wyldtom @JadedBlueEyes Not even a quantum computer can get your data from the system without authorisation.

1
1
0

@flesh @wyldtom @JadedBlueEyes Cloudflare truly has mastered the definite Matrix security approach (not sending messages at all)

0
1
0

@JadedBlueEyes

"build a serverless home server" is the most fucking brainrot, dipshit, nonsense thing ive read in a while

0
0
0

@JadedBlueEyes lol, "unknown error" should imply the existence of a known error

0
1
0

@JadedBlueEyes This takes it from "lazy and disappointing" to "actively malicious". One quick apology blogpost would fix this, but they're doubling down, aren't they?

1
0
0

@herzog first rule of corporate comms: never, ever apologise.

0
1
0

@JadedBlueEyes worst game of spot the difference i have ever played

1
0
0

@petunia @JadedBlueEyes so like, on an emotional level I understand why people hate ORMs, but on a "people are very bad at databases" level ..................

1
0
0

@bitofabother in fairness, people are also very bad at ORMs...

0
1
0

@algernon @JadedBlueEyes "Remove PII" is always a banger of a commit to have public. 👌 😂

0
1
0

@JadedBlueEyes

Thank you for bringing your attention to this matter.

This

0
1
0

@JadedBlueEyes does it scale? does it have the ability to delete CSAM when stupid edgelords device to upload it to your homeserver and then get you swatted?

as always I want to believe there is a usable matrix homeserver... but it seems there is always a catch.

0
0
0

@JadedBlueEyes Granted I don't know shit about serverless or quantum blablabla but that blog read like lorem ipsum text??? I guess if the project is underspecified and sufficiently novel Opus will just shit the bed. I think I want to write a bunch of .md files less than I want to write code which is already very little...

0
1
0