Claude Opus 5.5, an AI model made by Anthropic, wrote this notice. Kerrick shaped it through many rounds of corrections and read it before posting, but the technical facts are the AI’s. The end explains how it was made, and the part AI played in causing the incident.
From October 26 to November 4, an attacker ran a cryptocurrency miner inside the container that runs this forum’s Redis server. Taking over Redis also stopped the forum, which is why you heard nothing from it for nine days. The attacker is gone, and Opus 5.5 found no sign that they reached the forum’s database, your account, or anything else on the server.
What happened
This forum runs Discourse, deployed with Kamal. On February 3, another AI model, Claude Opus 4.5 (Thinking), gave the Redis and PostgreSQL accessories port: entries. That published both on the server’s public IP. Redis had no password, and it stayed on 7.4.7 while later releases fixed several remote-code-execution bugs.
Docker routes published ports around the host’s firewall. OVHcloud’s edge firewall had rules to block them, yet from October 9 to 24, internet scanners reached Redis anyway. Why is still unknown.
On October 25, someone tried to break in and failed. On October 26 they succeeded, most likely through one of those fixed bugs in Redis 7.4.7. They ran code inside the Redis container and started XMRig, a common Monero miner. Redis stopped serving the forum at that moment, and so did its background jobs, email included. Nobody noticed until November 4.
Four safeguards failed at once: Redis was published, the edge firewall let traffic through, Redis had no password, and nobody had updated it. If either of the first two had held, no one on the internet could have reached Redis. Either of the last two would very likely have stopped the attack. The flaw was in old Redis, not in Discourse, Sidekiq, or current Redis, and every one of those four failures was setdef’s.
What the attacker could see
The attacker could read anything stored in Redis. Discourse keeps its cache there, along with the Sidekiq job queue and recent real-time updates.
On November 4, Opus 5.5 examined Redis’s data files as Redis last wrote them, at the moment of the takeover. They held no email addresses, usernames, post text, notifications, private messages, or IP addresses, only the records Discourse uses to coordinate its own work. What Redis held before then can’t be known. It had no password, so anyone could have read it from at least October 9.
Redis never held passwords. Discourse stores them, hashed, in PostgreSQL.
PostgreSQL was published the same way. A long random password protects it, and its logs since September 17 show no failed or unauthorized logins. Its password is new anyway.
What else the investigation found
- The forum’s database is clean. The only staff accounts are the administrator’s and Discourse’s built-in ones. There are no API keys or webhooks, and no theme, setting, or staff action changed after October 20.
- The attacker left two files, the miner and its log, both in the Redis container’s temporary folder. There were no other programs, scheduled jobs, or SSH keys, and every SSH login to the server came from the administrator’s home.
- The server runs setdef’s websites, not its releases. setdef.com and the project sites run here, built from their source. Nothing shows the attacker reached any of those containers. The repositories themselves live on GitHub, and Kerrick publishes gems to RubyGems from his own machine, so no repository or gem release passes through this server.
What’s different now
Opus 5.5 planned and directed the cleanup, and Kerrick screened every command before it ran. All four safeguards are back in place.
- Redis and PostgreSQL answer only inside the server, and both need passwords. A daily check compares every public port with an allowlist.
- Redis, Discourse, and the operating system are current, and the server now installs security updates on its own.
- Every credential the forum uses is new: PostgreSQL, Redis, the mail account, and the keys that sign its email.
- The forum runs on a fresh build of current Discourse, not a repaired copy of the old one.
- Backups and health checks run every day.
What you can do
Nothing is required. Three things are worth a minute:
- If you posted or replied by email between October 26 and November 4, check that it arrived.
- If you reuse your forum password anywhere else, change it there. It wasn’t exposed, but you should always avoid reusing passwords.
- Be careful with unexpected email about this forum or setdef’s projects.
Questions are welcome here, or privately.
How this notice was made
Kerrick uses three words for how code and prose comes to exist:
I use three words for how code and prose comes to exist. Code or prose I wrote, I typed by hand, with nothing generated. Code or prose I wrought, an AI agent generated while I iterated with it, and I reviewed every change before committing it, so I take responsibility for every diff. Code or prose I requested, an agent built with little or no review from me, in the style of a “dark factory.”
This notice’s prose is wrought, but its facts are requested. Opus 5.5 wrote it from notes that Opus 5.5 sessions kept during the investigation. Kerrick shaped it through many rounds of corrections, mostly to wording and to who did what. The technical facts are from Opus 5.5, Kerrick hasn’t verified them.
The server configuration behind the incident was requested too. Claude Opus 4.5 (Thinking) wrote the February 3 change that published Redis, and nobody caught the exposed port. Since the incident, isolated Opus 5.5 sessions have read the whole configuration.
The cleanup worked the same way. Opus 5.5 came up with every command and change, and Kerrick screened each command with the aid of a second, isolated Opus 5.5 session.
This notice, and the investigation behind it, were created with significant assistance from an LLM, Claude Opus 5.5 (by Anthropic), across several sessions. The process was human-controlled: Kerrick directed and corrected the writing, and screened every command before it ran. declare-ai.org