Advisory
6 min read
Northflank Breach: Why Hosted Secrets Need a Rotation Plan
When a platform you host code or infrastructure on gets breached, your secrets are exposed even if your own systems were never touched. The fix is not a one-time credential swap. It is a rotation plan you build and test before an incident forces your hand, covering every secret stored on every third-party platform you use, not just the ones in your own repositories.
What happened and why it applies beyond one vendor
BleepingComputer reported that Northflank, a cloud application hosting platform, warned customers to rotate all credentials and secrets stored on its platform after a security breach led to unauthorized use of customers' AI API keys. The full detail of the breach has not been independently verified by us, and we are relying on that report rather than firsthand knowledge of the incident.
The lesson here goes beyond Northflank. Any platform holding your secrets, whether a hosting provider, a CI/CD runner, or a SaaS integration, is part of your attack surface. If that platform is compromised, the exposure shows up in your environment even though the breach happened somewhere you do not control.
The direct recommendation: build a rotation plan, not a rotation event
Most teams only think about rotating a secret after they are told to. That reactive posture means you are rotating under pressure, often without knowing which systems will break when the old key stops working. The better approach is to treat secret rotation as a standing capability: you know what you have, who owns it, and how fast you could rotate it if a vendor sent you the kind of notice Northflank sent its customers.
This belongs inside your broader security program rather than as a one-off fire drill. Treating secrets handling as a recurring discipline, not a checklist item closed once and forgotten, fits within a DevSecOps practice built for that kind of ongoing maintenance.
What to inventory, and what to record for each secret
An inventory is only useful if it tells you what to do in a hurry. For each secret, record three things: who owns it, what it can access, and how to revoke or rotate it without guessing.
CI/CD secret store entries: record the owning team, which pipelines or environments the secret touches, and the exact console or CLI path to revoke and reissue it.
Container registry tokens: record which images or repositories a token can pull or push, whether it is scoped to read-only, and the rotation steps if it is compromised.
SaaS and AI API keys: record the vendor dashboard where the key lives, usage limits tied to it, and whether rotating it requires updating multiple downstream services.
If you cannot answer who owns a given secret and how to kill it in under a few minutes, that secret is a gap in your plan, not just a line in a spreadsheet.
Deciding when to rotate now versus on a schedule
Not every secret needs the same urgency. Use a simple decision rule:
If a platform you use reports a breach or sends a rotation notice, rotate the affected secrets immediately, starting with anything that has broad access or touches production data.
If a secret has not been rotated in longer than your team can clearly justify, or if you are unsure who still has access to it, schedule rotation proactively rather than waiting for an incident.
If a secret is low-privilege, short-lived, or already scoped tightly to a single, non-critical use, routine rotation can wait for your normal maintenance cycle.
The goal is not to rotate everything constantly. It is to know which secrets matter enough to act on first when a vendor notice like Northflank's lands in your inbox.
Trade-offs and the realistic failure mode
Rotation has a real cost: it can break integrations that were never documented, and teams sometimes avoid it because the last rotation caused an outage. That is the honest trade-off. The answer is not to skip rotation, it is to test it in a lower-stakes environment first, and to keep the dependency map current so you know what else needs updating when a key changes.
The common failure mode is assuming the vendor will handle everything. If a platform is slow to confirm scope or slow to issue new credentials, you still need to act on your side: revoke what you can control, restrict the blast radius, and treat the old key as compromised until you have confirmation otherwise. Waiting on a vendor's timeline is not a plan.
This is also where having incident response support matters. A rotation plan reduces how much damage a platform breach can do, but it does not guarantee a compromised key was never misused before you rotated it. Those are two different questions, and your plan should address both.
How to verify your rotation plan actually works
A plan that has never been tested is a guess. Pick one non-critical secret this week and run the full rotation path end to end: revoke it, issue a new one, confirm every dependent system picks up the change, and time how long it took. If something breaks silently, that is the gap to fix before a real breach notice arrives.
This kind of exercise can surface secrets nobody remembered existed, especially across cloud infrastructure spread over multiple providers. If that sounds familiar, a structured look at your cloud security posture can help map where those secrets live before they become someone else's problem to report to you.
A short action checklist
List every third-party platform holding a secret of yours, and name an owner for each one.
Record the revocation method for your highest-privilege secrets so you are not searching for it during an incident.
Run one test rotation this week on a non-critical secret and time it.
Set a trigger: when a vendor reports a breach, your highest-privilege secrets rotate first, not last.
If you want a second set of eyes on where your secrets live and how exposed they are, our free security review is a low-friction way to start that conversation.
Want this looked at for real?
Get a free security review and we will show you where you actually stand.