November 1, 2026

Could Your API Keys Be Exposed After the Northflank Breach—What Should You Do Right Now?

by
Pulkit Gupta
November 1, 2026
Copy link to blog

If you store secrets in Northflank, assume they’re out. That’s not paranoia—Northflank told customers to assume environment variables were decrypted and to disable/rotate all keys . And yes, multiple customers reported unauthorized use of AI API keys that were supplied to the platform . This post is a straight checklist: what likely got exposed, why environment variables are a bullseye, what Northflank has already changed (so you can use it), what’s still unknown, and what you should do in the next 60 minutes to stop the bleeding.

What happened (only the parts that matter for your response plan)

If you’re using Northflank and you’ve stored secrets in environment variables, treat this as a keys-out event.

Northflank disclosed a security incident on Oct 30 after a threat alert from Wiz, and then issued the line that drives your entire response plan: “Assume all environment variables have been decrypted. Disable/rotate all keys.”  That’s not “rotate if you can.” That’s “plan as if an attacker can read what you thought was protected.”

Not long after, Northflank confirmed something even more practical (and painful): multiple customers reported unauthorized use of AI API keys that were supplied to the Northflank platform.  If you had OpenAI/Anthropic/AWS Bedrock/GCP/Azure model keys sitting in env vars, the risk isn’t abstract. The abuse pattern is consistent with what happens when attackers get paid API credentials: they spend your money fast.

The only “facts” you should operate on

  • Environment variables may have been decrypted, meaning secrets inside them may be exposed.
  • Northflank told customers to disable/rotate all keys (not just AI keys).
  • Unauthorized AI key usage was reported by customers (real-world abuse, not just theoretical exposure).
  • Customers were advised to check AI provider usage and billing logs for unexpected activity and report suspicious usage.

What’s still unclear (don’t wait on these to act)

If you’re hoping to pause until the “full RCA” drops, here’s the problem: key details weren’t disclosed at the time of reporting, including:

  • How attackers got access (initial access path)
  • How many customers were affected
  • Whether credentials beyond the reported AI API keys were stolen/abused

That uncertainty is exactly why the safest move is to rotate as if exposure is confirmed. When a platform tells you to assume decryption, you don’t debate severity—you start containment.

Why exposed environment variables are so dangerous (and why AI keys get hit first)

Once an attacker can read your environment variables, they’re not just “seeing config.” They’re holding the fastest path from one system into five.

Northflank’s warning matters because env vars commonly carry the stuff teams don’t want in code, but still need at runtime: database passwords, cloud service credentials, authentication tokens, and API keys . That list is basically your production crown jewels, piped into apps by design.

What makes environment variable exposure so high-impact

A single leak can snowball because env vars tend to be:

  • High-privilege: Keys are often created with broad access “just to make it work.”
  • Long-lived: Many API keys don’t expire unless you rotate them.
  • Cross-system by nature: One service’s env vars can unlock other vendors—cloud, database, payments, analytics, email, AI.

When those values are exposed, attackers can use them to:

  1. Pivot into other services (same creds, different target)
  2. Pull data (databases, object storage, third-party SaaS APIs)
  3. Run up charges via paid APIs—quietly at first, then hard

Why AI API keys are usually the first thing abused: LLMJacking

Wiz describes a very specific monetization pattern: attackers target environment variables containing AI service credentials, then exploit them through LLMJacking .

Here’s LLMJacking in plain terms:

  • An attacker steals your AI provider API key
  • They use it to make a ton of model calls under your account
  • You get the bill, they get the compute (or resell access)

Wiz says LLMJacking can generate massive API charges, and they’ve seen compromised enterprise credentials used for roughly 2.5 million Amazon Bedrock API calls, adding up to about $100,000 in usage .

That’s why AI keys get hit first. They’re easy to monetize, the “product” is instant, and billing damage shows up before you’ve even finished reading the incident update.

Do this right now: the customer checklist (rotation + exposure control + proof)

LLMJacking moves fast. Your response has to be faster. This is a 60-minute checklist focused on three things: stop misuse, cut access, save evidence.

1) Contain spend and active abuse (0–10 minutes)

  • Pause or cap AI usage where you can (temporary limits, budgets, rate limits).
  • Open your AI provider console(s) and look for:
  • sudden spikes in requests/tokens
  • new regions/IPs you don’t recognize
  • new API keys created or unusual key usage

Northflank explicitly told customers to review AI provider usage and billing logs for unexpected activity and report suspicious usage .

2) Rotate secrets in Northflank (10–30 minutes)

Northflank’s guidance is to rotate secrets everywhere they live in the platform:

  • Workloads
  • Secret groups
  • Global secrets

Rotation order (triage that matches attacker incentives)

  1. AI API keys (highest chance of immediate billing damage)
  2. Cloud credentials (AWS/GCP/Azure keys, CI/CD deploy tokens)
  3. Database passwords (prod first, then staging)
  4. Everything else (webhooks, SMTP, observability tokens)

3) Remove easy access paths (30–40 minutes)

If you’ve enabled it, disable public access to add-ons. Northflank specifically called this out as an action item .

Also do a quick permissions gut-check:

  • downgrade keys from “admin” to scoped roles
  • restrict by IP / VPC where possible
  • kill unused keys instead of rotating them “just in case”

4) Validate safely (40–50 minutes)

Rotation without validation causes outages. Keep it boring:

  • run a smoke test per service (health check + one real transaction)
  • confirm apps pulled new env vars/secrets
  • verify least-privilege didn’t break required calls

5) Capture proof before it disappears (50–60 minutes)

You may need this for refunds, forensics, or customer comms.

Capture and timestamp:

  • billing deltas (before/after screenshots or exports)
  • API usage logs from AI providers (key-level if available)
  • Northflank change history: who rotated what, when

Northflank’s own guidance includes reporting suspicious usage to both Northflank and AI providers, which goes a lot smoother when you have clean timestamps and logs .

Use the platform changes Northflank shipped (audit logs + DB rotation) and tighten your baseline after

Once you’ve rotated and contained, switch modes: confirm what happened and reduce the blast radius for the next time. Northflank shipped two changes that are directly useful here.

Use what Northflank turned on: audit logs (start here)

Northflank enabled audit logs for all customers, including free accounts, to help investigations  . Don’t treat this as “nice to have.” It’s how you answer the questions your finance team and security lead will ask tomorrow morning.

What to look for in audit logs

  • new users, new tokens, permission changes
  • secret edits/reads/updates (anything tied to env vars or secret stores)
  • add-on access changes and network policy changes
  • unusual activity windows that match billing spikes

Quick habit that helps: export or snapshot anything relevant now. Some logs roll over faster than you expect.

Rotate database credentials using the built-in rotation options

Northflank also enabled credential rotation for managed databases including PostgreSQL, MongoDB, MySQL, and Redis  . If your app talked to a Northflank-managed DB using static credentials, rotate them and then verify:

  • app reconnects cleanly
  • old creds are fully invalid
  • read replicas / workers weren’t missed

Baseline hardening that actually sticks (after the fire drill)

The goal isn’t “never use env vars.” It’s: stop using env vars for long-lived, high-blast-radius secrets.

Practical changes most teams can ship quickly

  • Prefer short-lived credentials (time-bound tokens) over permanent keys where your provider supports it.
  • Use scoped API keys:
  • separate keys per environment (prod/staging/dev)
  • separate keys per service (API worker vs web app)
  • separate keys per person (no shared “team key”)
  • Split secrets by phase:‍
  • build secrets (pulling private deps) shouldn’t be the same as‍
  • deploy secrets (pushing artifacts) and definitely not the same as‍
  • runtime secrets (DB creds, model keys)

A quiet win: reduce secret sprawl

A lot of exposure comes from secrets living in too many places: CI, local .env, hosted platform env vars, debug logs. Consolidate and minimize copies.

If you want a simple personal rule: any key that could generate a five-figure bill or open production data shouldn’t live forever in an environment variable without tight scope and fast rotation.

Zooming out: ‘Black October’ and what it means for teams shipping AI features

If this felt like a one-off vendor incident, it wasn’t. Wiz described a wave of attacks on AI developer platforms during “Black October,” and Northflank shows up in that same cluster alongside names like Railway, OpenCode, Warp, and Lightning AI .

The pattern is blunt: these platforms are valuable because they centralize environment variables and secrets, and those secrets often include AI service credentials. Wiz says attackers in some of these incidents specifically targeted environment variables holding AI creds, which can be exploited via LLMJacking .

The attacker business model: steal keys, buy compute with your money

LLMJacking isn’t “data theft” in the classic sense. It’s billing theft.

  • Stolen API keys are used to call paid models at scale
  • The goal is massive usage (or resale of access), fast
  • Wiz reported cases where compromised enterprise credentials were used for about 2.5 million Amazon Bedrock API calls, driving roughly $100,000 in usage

What AI teams should bake into every release (not as a post-breach scramble)

Treat any feature that touches a paid model API like it ships with a credit card attached.

Controls that limit damage on day one

  • Budget alerts + hard caps per project/account (not just “email me when it’s high”)
  • Rate limits/quotas at the API gateway and at the provider level (where available)
  • Key scoping by:
  • environment (prod/staging/dev)
  • service (worker vs web)
  • owner (no shared “team key”)

Operational muscle: the rotation playbook

  • A written, practiced runbook for “API keys exposed”
  • A known order of operations (rotate AI keys first, then the rest)
  • A clear owner for billing triage and provider support tickets

If you ship AI features, assume someone out there is trying to turn your model access into their revenue stream. “Black October” is just what happens when they find an easy path .

‍

Free number scan to see what info about you is exposed.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
View all
Data Breaches
November 30, 2026

Does the New Balance Japan Breach Affect You? What a Vendor Leak Means for Online Shoppers

Data Breaches
November 30, 2026

Did Someone Change Your College Board Password? What the Breach Means for Students and Parents

Data Breaches
November 30, 2026

Got a pCloud Login Alert? How to Tell If It's Real and What to Do After the pCloud Pass Breach