# When someone gets in

> Your site or app was broken into. See the signs, the order of our response, why we rebuild and never clean, and which backup we restore.

Source: https://customhosted.com/hacked/

№ 01 Hacked

Someone got into your site or your app. This page covers what we do next. We do not clean the old server. We rebuild it, and we restore your data from a copy that is older than the break-in.

Revised 29 Oct 2026

№ 02 Signs it happened

## The signs, and the first move for each

Any one of these can be the first sign. Each row says what to do before anything else.

- A page you did not change — Save a copy of the page as it looks now. Then write to us. Do not fix it by hand yet. — [Incidents](https://customhosted.com/incidents)
- A file your repository does not hold — Do not delete it. Send us the path. The file shows us the way in. — [Deploys](https://customhosted.com/deploys)
- Redirects or spam links that you did not add — Note the page and the date. Search results often show the damage before you do. — [Being found](https://customhosted.com/being-found)
- An admin user that nobody added — Leave the user in place. Change every password, and tell us the user name. — [Logins](https://customhosted.com/logins)
- Mail or traffic that your server should not send — Write to us first. We read the request log and the mail record before anything changes. — [Email](https://customhosted.com/email)
- A key or a password in public — Replace it first. Then tell us where it showed up, such as a repository or a chat. — [Configuration](https://customhosted.com/configuration)

№ 03 What a break-in can reach

## What a person who is in can reach, by hosting shape

A static site and a dedicated instance fail in different places.

- **Static Starter ST-STARTER**: **The keys that publish the site.** No server runs your pages, so nobody can log in to one. The ways in are the deploy key, the repository account, a build dependency, and the account that holds your domain. The next deploy replaces every file.
- **Dedicated M DD-M**: **The app, a plugin, an old runtime, or a leaked admin key.** The instance runs code that you or a plugin wrote, so a hole in that code is a way in. An end-of-life runtime can't be patched, only replaced. A person who is in can read every secret that sits on the instance.
- **DB Starter DB-STARTER**: **The password the app uses.** The database holds your users' rows. A stolen app password reads them. We replace that password with the rest.
- **Custom CU-0**: **Set at the quote.** A custom build has its own parts. At the quote stage we ask what can reach what. We write the answer into the brief.

№ 04 The first steps

## What happens after you write to us

In order. We publish no time figure for any step.

1. 1 — Stop public traffic from reaching it — We close the instance to public traffic. We keep the instance, because it holds the record of what happened. A static site needs no such step. — CustomHosted
2. 2 — Keep the record — We read the logs before we replace anything. The request log shows who asked for what, and what the answer was. The change record shows who deployed and who set a secret. Request logs kept 90 days. — CustomHosted
3. 3 — Replace every secret — You choose each new value, and we put it in place. A leaked value is treated as a live incident: the value is rotated, and the exposure is worked the way any leaked credential is. Assume that the intruder read every secret on the machine. Send us each new value on the quote channel. — You
4. 4 — Rebuild from the repository — We build a new machine from the repository and the infrastructure definition. We do not clean the old one. — CustomHosted
5. 5 — Restore data from before the first sign — We restore your data from a backup that is older than the break-in. The next band says how we pick it. — CustomHosted
6. 6 — Close the way in — We name the hole from the record, and CustomLabs writes the fix. A hole in your own code is a briefed change. A hole in a plugin is a briefed update. — CustomLabs
7. 7 — You hear from us — A written note goes out on the same quote channel as everything else. It says what broke, what it affected, and what happens next. — CustomHosted

№ 05 Rebuild, never clean

## We rebuild the machine and we do not clean it

This is the first of two rules that this page exists to state.

- Nobody can prove a cleaned server is clean — A person who gets in can leave a second door. That door can look like a normal file. A scan finds only the threats it already knows.
- The stack is code, so a rebuild is cheap — We already rebuild a failed machine instead of repairing it. Recovery puts it this way: "Rebuilt from the infrastructure definition, with the latest backup restored onto the replacement — because the stack is code, not something clicked together by hand." After a break-in, only the restore point changes.
- Your app comes from the repository — The repository holds the code that you chose to ship. A file on the server that the repository does not hold is not yours. It does not come back.
- The old machine stays off the network until the record is read — We keep it so the logs and the files can be read. We do not run it again as your site.

№ 06 The backup you restore from

## Restore from before the break-in, not from the newest copy

This is the second rule. The newest backup can hold the break-in too.

- The newest backup can hold the break-in too — A backup copies what is there. If the person got in on Monday, the Tuesday backup holds their work.
- Pick the last copy from before the first sign — We use the logs to find the earliest sign. We then restore the newest backup that is older than it.
- We restore data, never code — The code comes from the repository. A backup brings back your rows and your uploaded files, and nothing else.
- Rows written after that copy do not come back — An order or a sign-up that arrived after the restore point is not in it. An outside record, such as a payment record, can fill the gap.

How far back we can reach depends on the plan. The recovery page owns this ladder.

- Every plan, by default — Daily backups · 7-day retention
- Extended backup retention (30-day) — Daily backups kept for 30 days instead of 7.
- DB Standard — 7-day PITR
- DB Plus — 30-day PITR

№ 07 Who owns what

## Three owners, and the keys you hold

We rebuild the machine. You hold the keys we cannot reach.

- CustomHosted — The machine, the record, and the restore — We stop traffic, read the logs, rebuild, restore data, and write to you. [Recovery](https://customhosted.com/recovery)
- You — The keys that live outside our systems — You hold the domain account, the repository account, and any outside service. You replace those keys. We cannot reach them for you. [Access](https://customhosted.com/access)
- CustomLabs — The hole in your own code — CustomLabs writes the fix. We host and ship it.
- You — Telling your users — We tell you how the platform behaves. We do not tell you what your own legal obligations are, and a data processing agreement is a contract conversation, not a page on this site — start it through the quote form. [Your data](https://customhosted.com/your-data)
- You — Your users' own accounts — A forgotten password, a lost second factor, or a locked-out user is your application's own recovery flow to build. We hold no backdoor into any account your app protects. Your app decides how to make users change a password. [Logins](https://customhosted.com/logins)

№ 08 This site's own plan

## This site's own plan, row by row

Each row is backed by the pipeline or the storage rules. The build checks them on every release.

- A planted file lives until the next deploy — Every deploy deletes any file that the build did not make. Then it clears the edge cache. A file that someone adds by hand does not outlast the next release.
- The storage is private — Public access to the files is blocked at the storage layer. Only the edge network reads them, through one access rule. Nobody can write to them from the public address.
- The pipeline holds no stored key — Each deploy asks for a short-lived key. The key expires. There is no long-lived deploy key in a setting for a thief to find.
- No stored password — There is no account to have a password for, and no store that could hold one. The only way to change this site is a pull request through the same pipeline as any other change — never a console reachable from the public address.
- Locked packages with a release cooldown — The build installs the exact versions that the lockfile names. It refuses a package version that is only a few days old, because poisoned releases are usually pulled within days.

№ 09 The CodeHerder line

## A hole in your code is a briefed change

You brief it. An agent writes it. A person reviews it before it ships.

Rebuilding the machine does not close the hole. The same hole opens the new machine too. Once we name the way in, the fix is a pull request. The Agentic iteration — CodeHerder add-on ($25/mo) covers it.

1. 1 — The way in is named — We read the record and name the hole. It may be a plugin, a runtime, a leaked key, or a line of your code. — CustomHosted
2. 2 — A brief names the fix — You send us the hole and the page it touches. Say what must be true once it is closed. — You
3. 3 — An agent opens the pull request — The fix lands as a real pull request against the repository, with the test suite run against it. — CodeHerder
4. 4 — A human reviews and merges — Someone reads the diff before it goes anywhere near production — nothing here is auto-applied blind. — CustomLabs
5. 5 — It ships through the same pipeline — The same pipeline that deploys everything else on your stack ships this too — no separate process to babysit. — CustomHosted
6. 6 — You're told it's done — A note confirming what changed and that it merged, in the same shape as every other note on this site. — CustomHosted

A new feature is a separate job. CustomLabs builds it, and we host it.

№ 10 What it costs

## What a break-in costs on a hosted plan

Each price comes from the rate card. We print no figure for the rest.

- Handling the break-in is incident work — On a hosted plan, a break-in is an incident. It is handled at no extra charge. The Incidents page shows when a service credit applies.
- The fix in your code is a briefed change — A fix for a hole is covered by the Agentic iteration — CodeHerder add-on ($25/mo). It uses the same pipeline as any other change.
- A site that was hacked at another host is a rebuild — We do not lift an infected copy. We rebuild from your repository, so the price is a custom quote. The Migrate page shows the steps.

№ 11 The honest limits

## Said plainly

Every limit here is one we hold to.

- We do not clean a server in place — We rebuild it. If a rebuild would lose something that only lives on the old machine, we tell you before we start.
- We give you no forensic report — We keep the records we already keep and we read them. We do not run a court-ready investigation, and we do not name the person who got in.
- No web-application firewall or rate limiting as standard — A standard plan checks the rules on this page and nothing more. Filtering traffic by pattern or capping request rates is a real thing we can build — just not something included by default. [Under attack](https://customhosted.com/under-attack)
- No certification to hand you — No SOC 2 report, no ISO 27001 certificate, no PCI scope. If your work needs one of these, you need to know that now. [Under attack](https://customhosted.com/under-attack)
- No staffed round-the-clock desk — The automated watching runs continuously. The people behind an escalation work business hours, with priority on an outage and best effort outside them. [Incidents](https://customhosted.com/incidents)
- We are not your data protection officer — We tell you how the platform behaves. We do not tell you what your own legal obligations are, and a data processing agreement is a contract conversation, not a page on this site — start it through the quote form. [Your data](https://customhosted.com/your-data)

№ 12 Answers

## Hacked, answered

The questions people ask on the worst day.

1. 01 My site was hacked. What do I do first? Do not delete anything. Save a copy of what you see, replace your passwords, and write to us. We read the logs before we replace anything.
2. 02 Will you clean the infected files? No. Nobody can prove a cleaned server is clean. We rebuild a new machine from your repository and restore your data from a backup that is older than the break-in.
3. 03 Why not restore the newest backup? The newest backup may hold the break-in. We find the earliest sign in the logs, then restore the newest backup that is older than it.
4. 04 My site was hacked at another host. Can you move it? Yes, as a rebuild. We do not lift the infected copy. We build from your repository, and a custom quote covers the work.
5. 05 Can a static site be hacked? It has no server to log in to. The ways in are the keys that publish it. Every deploy also deletes any file that the build did not make.
6. 06 Do you tell my users or a regulator? No. We tell you how the platform behaves. We do not tell you what your own legal obligations are, and a data processing agreement is a contract conversation, not a page on this site — start it through the quote form.

№ 13 Keep reading

## Hacked connects to

- [Under attack The traffic that has not got in yet, and the layers that stand in its way.](https://customhosted.com/under-attack)
- [Incidents The first hour and the written note. A break-in follows the same route.](https://customhosted.com/incidents)
- [Recovery How a restore works, and how far back each backup reaches.](https://customhosted.com/recovery)
- [Configuration Where a secret lives, and how we replace one.](https://customhosted.com/configuration)
- [Access Who holds a key to production, and what each key can do.](https://customhosted.com/access)
- [Logs What the logs hold, and how long we keep them.](https://customhosted.com/logs)
- [Your data The personal data your app keeps, and what telling your users involves.](https://customhosted.com/your-data)
- [Migrations A site that was hacked elsewhere moves as a rebuild.](https://customhosted.com/migrate)
- [Logins Your users' accounts, and what hosting does and does not supply for them.](https://customhosted.com/logins)

## Think someone got in?

Write to us through the quote form and say what you saw. Do not delete anything first. A fix in your code is a brief, and the CodeHerder add-on covers it.

[Get a quote →](https://customhosted.com/contact)
