GUIDE 02 · SUPPLY CHAIN

Your AI vendor can swap your model overnight. Here's how to catch it.

You pay for a flagship model. One night your provider routes you to a cheaper one — same API, same endpoint, different brain. Your guardrails, refusal style, and PII handling all change silently. Nobody emails you.

Why model swaps are a security event

Every safety property you tested — "it refuses prompt injection," "it never repeats PII" — was a property of a specific model, not of your chatbot. Swap the model and your entire test history is void. This isn't hypothetical: providers routinely update, distill, and re-route models behind stable API names.

Behavioral fingerprinting

You can't ask the API "which model am I?" and trust the answer — a swapped model may not even know it's been swapped. Instead, probe behavior:

The baseline is the whole trick

One fingerprint means little. The power is in the comparison: fingerprint on day one, store the inferred model family, and re-run weekly. If the family changes while your code didn't, your vendor moved — re-run your full security test suite immediately.

What to do Monday morning

Ask your provider, in writing: do you ever substitute models behind this endpoint, and will you notify me? Then set up independent verification. ChatBreaker's shadow-model fingerprinting runs 12 behavioral probes, infers the model family with per-probe evidence, and raises a swap alert the moment the baseline changes.

What a fingerprint run actually records

ChatBreaker's shadow-model fingerprinting runs 12 behavioural probes through the same send path as an attack test, so what gets measured is the model your customers actually meet. The probes cover the four families above — identity, refusal signature, knowledge, marker compliance — and the engine infers a model family from the pattern of answers, keeping the per-probe evidence rather than a bare verdict. Runs are stored per target, and the earliest run becomes the baseline. Every later run is diffed against it; the moment the inferred family differs, the target page raises a MODEL SWAP DETECTED alert. The feature is deliberately boring between alerts: a history of identical fingerprints, week after week, is the evidence that the system you tested is still the system you are running. When the alert does fire, it fires with receipts — which probes changed, and how — so the conversation with your provider starts from evidence instead of suspicion. Pair the fingerprint with the attack battery: the swap tells you the brain changed, and the ten attack classes tell you whether the new brain still holds your guardrails.

Worked example: the refusal that changed its voice

A fictional SaaS company, Northbeam Metrics, fingerprinted its support bot on a Monday and got the expected family, with refusal probes returning the model's characteristic short-form refusal. Three weeks later the weekly run flagged a mismatch. Nothing in Northbeam's code had changed, but two refusal probes now answered in a longer, more apologetic register, and a knowledge probe placed the cutoff months later than the baseline. The provider's changelog, checked afterwards, described a "quality improvement" to the routed model. Northbeam re-ran the full battery the same day and found the practical consequence: an extraction probe that had failed for months now succeeded in its translated form, because the new model's multilingual refusals were weaker. The prompt fix took an hour. Without the fingerprint, the first signal would have been the leak itself. That is the entire argument for the baseline: swaps are not rare malice, they are routine operations, and the only question is whether you find out from your own tooling or from the consequences.

What to do Monday morning, in order

First, fingerprint every production target today and save the run as the baseline — a fingerprint with nothing to compare against is trivia. Second, put the provider question in writing anyway; a contractual notification duty is worth having, it just cannot be your detection method. Third, wire the alert into the same queue as your security findings, with a standing rule: a swap alert triggers a full battery re-run before the next release, not after it. Fourth, keep the history. When a customer or an auditor asks which model was serving on a given date, the fingerprint log is the only honest answer you will have. The cadence this plugs into — change-event testing plus a scheduled baseline — is set out in our post on how often to red-team a chatbot.

One caution belongs on the record: a fingerprint infers a family from behaviour, it does not read a label off the model, and providers can change behaviour within a family too. Treat a family match as "no swap detected", not as proof nothing moved — which is why the fingerprint complements the attack battery instead of replacing it, and why a behaviour shift inside a family still earns a re-run when the probes move.

Frequently asked questions

Can an AI provider really change the model behind an API?

Yes. Providers routinely update, distil and re-route models behind stable API names, and the endpoint, the pricing page and your code all stay the same. Every safety property you tested was a property of the specific model that answered that day.

How does behavioural fingerprinting detect a model swap?

By probing behaviour instead of asking for a name: identity questions, refusal phrasing, knowledge-cutoff probes and marker-compliance tests each leave a family signature. ChatBreaker runs 12 behavioural probes, infers the model family with per-probe evidence, and compares the result against your stored baseline.

What should I do when a swap alert fires?

Treat it as a change event: re-run your full security test suite before anything else, because refusal style, PII handling and injection resistance may all have moved. Then ask your provider, in writing, what changed and whether you were notified.

How often should the fingerprint run?

Weekly is the working cadence: fingerprint on day one to set the baseline, re-run on the same schedule as your security re-tests, and compare every run against the earliest stored baseline for that target.

Sources