skip to content

incident response for a collection product · lesson 8 of 8 · sources checked 2026-11-30

the cost of a diagnosis

This lesson sets a budget for the probes of one incident, counts each probe against it, and states what the defender sees of each probe.

purpose

Each probe of a diagnosis puts load on the target and adds heat to the pool of exits that you use. A diagnosis with no limit can raise the defense of the target, and then the diagnosis itself changes the result. A limit that you set before the first probe keeps the cost known.

objectives

  1. Set a budget for the probes of an incident before the first probe.
  2. Count each probe against the budget, and stop at the cap.
  3. Describe what the defender sees of each probe class.
  4. Write the cost record of an incident.

new terms

how it works

A probe has two costs. It is one more request on the target, and it adds pool heat to the exits that it uses. Both costs are real also when the probe only asks a question.

In this course, a probe runs only against your own lab target, or against a page whose owner approved the test. A probe that changes the exit is a class of diagnosis with a cost. It is never the action on a site after a block or a refusal.

the budget before the first probe

The incident lead writes a probe budget before the first probe. It has two limits:

  • An attempt cap: the maximum count of probe attempts for the incident.
  • A heat budget: the maximum heat that the incident can add to the pool, in heat units of my model.

For example, the lead sets an attempt cap of 6 and a heat budget of 2 heat units. These are example values of my model, not values of a real system.

Each probe class has its own example heat. A probe that uses a fresh exit costs more heat than a probe on an exit that the pool already uses for the target.

count each probe, and stop at the cap

The lead counts each probe before it runs. A probe that passes one of the two limits does not run. The diagnosis stops, and the lead decides the next step. The options are a decision with the facts that exist, a slower pace, or a stop of the work on the target.

For example, the count is 1.7 heat units, and the heat budget is 2. A probe that adds 0.5 heat units does not run.

The stop is not a fault of the diagnosis. It shows that the next probe costs more than its answer is worth. More detail on the value of one probe is in What the defender sees, and the budget of a probe study.

heat falls in quiet time

A reputation score of an exit can fall again in a quiet period. Thus the heat of a probe does not stay for all time. The heat budget counts the heat that one incident adds, not the heat of the pool over a week.

For example, the lead stops at the heat budget. A second phase of the diagnosis must have a new decision of the lead, its own budget, and its own lines in the record. Thus the cost of the whole incident stays visible.

what the defender sees

Each probe class leaves a pattern that a defender can see:

probe classwhat it iswhat the defender can see
Cold probeA probe from a new identity with no history on the targetA visitor with no cookies and no earlier visits
New-exit probeThe same probe through many new exits in a short timeOne client pattern from many new addresses
one-factor pairTwo probes that differ in one factor onlyTwo web sessions that are the same in each field but one

A new-exit probe runs only against my own lab target or a page whose owner approved the test. It is never an action on a site after a block or a refusal.

The one-factor pair gives the clearest answer, and it also gives the clearest pattern. For example, two web sessions differ only in the browser build. Such traffic can raise the defense of the target. Then the next probe tests a new defense, not the old fault.

the cost record

The cost record of an incident holds four items:

  1. The two limits, set before the first probe.
  2. Each probe, with its class, its attempts, and its heat.
  3. Each refused probe, with the limit that refused it.
  4. The pattern that each probe class left for the defender.

For example, one line of the record is "p6 new-exit probe: refused at the heat budget".

A diagnosis also has a share of the capacity and a money cap. More detail is in The budget for experiments and diagnosis (not yet published). The cost record covers one incident only.

the two sides

automation sidedetection side
A budget keeps the diagnosis from using up the pool and from a new escalation on the target. The lead counts each probe against two limits.The defender can see cold probes, many new exits in a short time, and web sessions that differ in one field. Such traffic can raise the defense of the target.

design decisions

optiongaincostwhen it is correct
No budgetThe diagnosis has no stop.The pool heats, and the target can raise its defense.Never
An attempt cap onlySimple to countA few probes through fresh exits can still heat the pool.When each probe uses the same exits
An attempt cap and a heat budgetBoth costs have a limit.Each probe class must have an example heat.For each incident
Prefer one-factor pairsThe clearest answer for each probeThe clearest pattern for the defenderWhen the budget has room for few probes
Stop at the first refused probeThe cost stays inside the budget.The diagnosis can end with no answer.Always, and the lead decides the next step

diagram

the budget of an incident: each probe takes from two limits, and the defender sees each probe

The two limits decide before each probe. Each probe that runs also leaves a pattern for the defender.source: My model of the budget of an incident

code example

The example counts a plan of seven probes against an attempt cap of 6 and a heat budget of 2 heat units. Each value is an example value of my model.

m50-x08-budget.tstypescript

Count each probe against the attempt cap and the heat budget, and refuse the probe at the cap.

// A budget guard for the probes of one incident. All values are example values of my model.
type ProbeClass = "cold probe" | "new-exit probe" | "one-factor pair";
type Probe = { id: string; probeClass: ProbeClass };

// Example heat of one probe, in heat units of my model.
const HEAT: Record<ProbeClass, number> = { "cold probe": 0.3, "new-exit probe": 0.5, "one-factor pair": 0.2 };
// A new-exit probe runs only against my own lab target or an approved test page.

class BudgetGuard {
  private attempts = 0;
  private heat = 0;
  readonly record: string[] = [];
  readonly attemptCap: number;
  readonly heatBudget: number;
  constructor(attemptCap: number, heatBudget: number) {
    this.attemptCap = attemptCap;
    this.heatBudget = heatBudget;
  }

  // Count the probe against both limits. Refuse it when it passes a limit.
  request(p: Probe): boolean {
    const heat = HEAT[p.probeClass];
    if (this.attempts + 1 > this.attemptCap) return this.refuse(p, "attempt cap");
    if (this.heat + heat > this.heatBudget) return this.refuse(p, "heat budget");
    this.attempts += 1;
    this.heat = Math.round((this.heat + heat) * 10) / 10;
    this.record.push(`${p.id} ${p.probeClass}: ran, attempts ${this.attempts}/${this.attemptCap}, heat ${this.heat}/${this.heatBudget}`);
    return true;
  }

  private refuse(p: Probe, limit: string): boolean {
    this.record.push(`${p.id} ${p.probeClass}: refused at the ${limit}`);
    return false;
  }
}

// Example limits of one incident: 6 attempts and 2 heat units.
const guard = new BudgetGuard(6, 2);
const plan: Probe[] = [
  { id: "p1", probeClass: "one-factor pair" },
  { id: "p2", probeClass: "cold probe" },
  { id: "p3", probeClass: "new-exit probe" },
  { id: "p4", probeClass: "new-exit probe" },
  { id: "p5", probeClass: "one-factor pair" },
  { id: "p6", probeClass: "new-exit probe" },
  { id: "p7", probeClass: "one-factor pair" },
];
for (const p of plan) {
  if (!guard.request(p)) break; // stop at the first refusal; the lead decides
}
for (const line of guard.record) console.log(line);

output

One line for each probe that ran, with its attempts and heat, and one line for the refused probe.

p1 one-factor pair: ran, attempts 1/6, heat 0.2/2
p2 cold probe: ran, attempts 2/6, heat 0.5/2
p3 new-exit probe: ran, attempts 3/6, heat 1/2
p4 new-exit probe: ran, attempts 4/6, heat 1.5/2
p5 one-factor pair: ran, attempts 5/6, heat 1.7/2
p6 new-exit probe: refused at the heat budget

The output shows that the heat budget refuses probe p6 before the attempt cap is full. Two new-exit probes used half of the heat budget.

data

probes and pool heat of one simulated case, with and without a budget cap

status of this figure: simulated

probes and pool heat of one simulated case, with and without a budget capmean probes for each simulated case (20000 probes)no cap30.8with cap9.37unit: probesmaximum pool heat (20000 heat units)no cap10.3with cap5.32unit: heat units

source: Lab result of this course: simulation of one simulated case with and without a budget cap; date 2026-11-13; sample of 20,000; condition: Invented lab inputs, my own pool of 10 exits, no defender response in the model. The cap is 15 probes and a heat budget of 4 units.

data table
probes and pool heat of one simulated case, with and without a budget cap
seriesarmvalueunit
mean probes for each simulated caseno cap30.8probes
mean probes for each simulated casewith cap9.37probes
maximum pool heatno cap10.3heat units
maximum pool heatwith cap5.32heat units
A simulation with invented lab inputs, 20,000 simulated cases for each arm. The cap cuts the probes. It stops 4.5% of the cases with a known cause before the diagnosis. A diagnosis can still pass the heat budget of 4 units.

The chart compares a diagnosis with and without a cap. The cap cuts the probes and the heat. It does not keep the heat inside the budget by itself, and some diagnoses end before they find the cause.

failure modes

problemcausecorrection
The probes of a diagnosis raise the defense of a target.The incident had no budget.Set an attempt cap and a heat budget before the first probe.
The pool heats, but the attempt cap is not full.The budget counts attempts only.Count the heat of each probe class against a heat budget.
The next probe tests a new defense, not the old fault.Earlier probes left a clear pattern for the defender.Stop at the cap, and record the pattern of each probe class.
Nobody knows the cost of the last diagnosis.The incident had no cost record.Record each probe, each refused probe, and the two limits.

check questions

  1. When does the incident lead set the probe budget?

    1. After the diagnosis finds the cause
    2. When the pool shows heat
    3. Before the first probe
    4. After the first refused probe
    answer

    c. Before the first probe

    The two limits are set before the first probe. Thus the cost of the diagnosis is known from the start.

  2. The attempt cap is 6 and the heat budget is 2 heat units. After five probes, the count is 5 attempts and 1.7 heat units. The next probe adds 0.5 heat units. What occurs?

    1. The heat budget refuses the probe, and the diagnosis stops.
    2. The probe runs, because the attempt cap is not full.
    3. The attempt cap refuses the probe.
    answer

    a. The heat budget refuses the probe, and the diagnosis stops.

    The probe passes the heat budget, because 1.7 plus 0.5 is 2.2. A probe that passes one of the two limits does not run.

  3. Describe what the defender can see of a one-factor pair.

    sample answer

    The defender can see two web sessions that are the same in each field but one. Such traffic can raise the defense of the target.

  4. List the four items of the cost record of an incident.

    sample answer

    The record gives the two limits, and each probe with its class, attempts, and heat. It also gives each refused probe with its limit, and the pattern that each probe class left for the defender.

exercise

exercise Do this task on paper. The values are example values of my model.

The budget and the plan:

  • Attempt cap: 5. Heat budget: 1.5 heat units.
  • Example heat: cold probe 0.3, new-exit probe 0.5, one-factor pair 0.2.
  • Plan, in order: one-factor pair, one-factor pair, new-exit probe, cold probe, new-exit probe, one-factor pair.
  1. Count the attempts and the heat after each probe.
  2. Write the first probe that the budget refuses, and the limit that refuses it.
  3. Write the four items of the cost record.
sample answer

The answer uses the budget and the plan of the task.

After the first four probes, the count is 4 attempts and 1.2 heat units (0.2, 0.4, 0.9, 1.2). The fifth probe is a new-exit probe. It adds 0.5, and 1.7 is more than 1.5. Thus the heat budget refuses the fifth probe, and the diagnosis stops.

The cost record gives the two limits, and the four probes that ran with their attempts and heat. It also gives the refused fifth probe, with the heat budget as its limit. Last, it gives the pattern for the defender: two one-factor pairs, one new-exit probe, and one cold probe.

sources

  1. My model of the probe budget, the example heat of each probe class, and the cost record, 2026-11 (not public).