Home Creators Posts Import Register Favorites Logout

Content

There's been a security breach. But there is no need to worry, there is no evidence that anything was stolen.

What happened

My source control server running on Gitea has been hacked. The attackers used CVE-2026-59774 to gain access to the git user on the server. This user has access to all private repositories on the system. I let Claude scrub the malware off the server. It discovered multiple Monero miners and botnets running on the server. There is no evidence that my source repositories have been tampered with: every branch that was touched since the break-in matches the copy on my own machine, and every commit since then is mine.

The biggest problem is that my devops repo is also on that server, and it contains all the certificates and API keys that Pixeldrain uses to communicate with internal and external services. Since this repo is stored in the home directory of the git user, it was fully accessible to the malware. When I discovered this, I immediately got to work rotating all my keys.

The devops repo also contained the private key to the Fornaxian.tech Root Certificate Authority. This is a big deal: this certificate is used to sign all certificates of all Pixeldrain services. Those certificates encrypt all traffic between the cache and storage nodes, and the database traffic. This means the key could have been used to gain access to all of Pixeldrain's database and storage nodes. It was not a good idea to store the root CA private key in a git repo, but when I set all this stuff up 10 years ago I didn't know better. I also never expected to be running a site with fifty million monthly users.

Spiffy!

So, no better time than now to fix all this stuff. The root CA has been replaced. It is stored in an encrypted Ansible Vault with a ridiculously long password. I also took the opportunity to polish up my cryptography. All of Pixeldrain's services now use SPIFFE.

SPIFFE is a cryptography standard which lets me fine-tune the permissions of each client. Each client gets a SPIFFE ID, for example "spiffe://pixeldrain_prod/storage". A storage node can then be limited to the tables required for pixelstore's data integrity checks, and nothing else.

I can also use it to separate different server clusters, so Nova can't accidentally log in to Pixeldrain's database, or the other way around.

Other security work

Since there's no end in sight to the barrage of CVEs coming our way, I also set up a monitoring agent which will notify me when a vulnerability is found in a service I depend on. This task runs twice a week on Monday and Thursday morning. This is yet another failsafe which should prevent an event like this from occurring again.

Impact

What could have gone wrong? Well, the attackers could have used the CA key to sign a custom client certificate which is trusted by all Pixeldrain's servers. This means both the database and the storage nodes would have trusted requests from this certificate. They could have made a full copy of the database and extracted all the files.

User passwords are hashed with bcrypt, so those can't be stolen, but e-mail addresses, account usernames and file names could be read.

There are multiple reasons why I believe this did not happen.

  1. The malware which was running on the server was only made for mining cryptocurrency and infecting other servers. There were no traces of any malware which would have copied my git repositories. This alone is not proof though, good malware would have erased its own traces.

  2. The database logs do not indicate any access from foreign IP addresses or new certificates. This one cannot be hidden by the malware, so this is better proof that the database was not actually compromised.

  3. A database dump would have shown up on my server monitoring. The database is very large, and extracting it all from the servers would have caused a large traffic spike. The database nodes normally only use about 50 Mbps of bandwidth. The historical graphs do not show any spikes which cannot be explained.

Hope that clears it up.

Greetings,

Wim.

Comments

Jawaun Williams

What type of information could they possibly actually get?

Fornax

If they had used the key to sign a custom certificate, they could have dumped the whole database. So that means all user data and files. Passwords are hashed with bcrypt, so those are safe. From the logs it does not seem like this actually happened.

Technoro

If you haven't already, perhaps consider cyber security consultation from a certified white hacker to see if Claude missed anything or of other hidden factors.

Fornax

I'll add this to the post.

GamesPatreon

Thank you for being completely transparent, for notifying us immediately, and for all the technical explanations.

Fornax

I debated whether I should post this. But I came to the conclusion that it would be dishonest not to. This post is also meant to signal that I'm very serious about security and transparency.

Hammer

Thanks for the detailed explanation: lots of interesting info for me to dig in and learn about (as casual knowledge).

Fornax

That sounds expensive.. especially after I just lost 1/3 of my income due to the PayPal debacle

Neptune and Beyond

As long as personal information and credit card or PayPal info isn't stolen it should be ok? This is a good wake up call for us subscribers to be more diligent too

GamesPatreon

You made the right decision because, even though this kind of information might cause concern among some of your subscribers, it's always best to be honest and let people know as soon as possible in situations like this.

Fornax

All the billing details are not stored in my database, Patreon hides it all from me.

Hammer

Were the miners and botnets using a perceptible percentage of processor/networking bandwidth?

Grim Hydraulix

Yeah while its concerning, I would rather know that it was handled and its being reworked. Good stuff thank you much,

mic nor

Definitely a wake up call. That could have been really bad.

WinteryEdge

So...that email about a security breach was actually real. Well it seems you have it under control, so that's good at least.

Anec Vado

Thanks for the transparency. Is there any expected release date for Nova Storage?

Adm Trd Ferg

In plain English. Was our personal information exposed to the attackers?

N0t4ninja

Also not forget If you're providing your services in europe you have to inform the public on security data breaches, even if there were no data leak or something.

Fornax

I am quite certain that nothing was exposed. But there is no way to really prove it.

Fornax

I want to do the release this month. But I'm having some trouble finding suitable payment processors.

Fornax

Which mail? The mail from Patreon about this post?

Fornax

There was no bandwidth usage, but the CPU was being used 100% to mine Monero. The attackers might have earned two cents from my server.