Diagnosing a Drop in Unsafe-Site Interstitial Counts
Statistics & ExperimentsModel answerLast updated
Work out why the number of unsafe-site interstitials shown to users fell, and tell a real safety gain apart from a detection, delivery, or logging failure.
A browser-style safety product shows users a full-page interstitial when they are about to open a page believed to be harmful (phishing, malware, scams). The dashboard that tracks the daily number of interstitials shown has dropped noticeably over the past several days.
Describe how you would investigate this drop. In particular:
- How would you decide whether the drop reflects an actual improvement in user safety, as opposed to a problem with detection, with delivery of the warning, or with the measurement itself?
- What data, breakdowns, and checks would you use, and in what order?
- What evidence would lead you to each conclusion, and what action would you take for each?
You may assume you have access to event logs, model or blocklist scoring outputs, release and configuration history, and some independently collected ground truth (for example, user reports, threat-intelligence feeds, and human-reviewed samples). State any other assumptions you make.
Hints
Hint 1
Before theorizing, confirm the metric itself: its definition, the comparison window, seasonality, and whether event logging is complete and consistent across platforms and versions.
Hint 2
Write the pipeline as a funnel: page loads, then URLs checked, then scored as risky, then passing flags and thresholds, then interstitial rendered, then user sees it. Compute the rate at each stage and find where the drop first appears.
Hint 3
A fall in warnings is only good news if independent evidence of real malicious exposure also fell. Compare against labels, user reports, external threat feeds, and a fresh human-reviewed sample, and line up the drop with release and config timestamps.
Model answer
Hard Try it yourself first — then compare your approach, complexity and edge cases.
Framing
A drop in warnings has four broad explanations, and the investigation is about separating them:
- Measurement problem: warnings are still shown but not counted, or the denominator changed.
- Delivery problem: the system flags pages but the interstitial is not rendered or reaches fewer users.
- Detection problem: the system flags fewer truly malicious pages (model drift, stale blocklist, broken feature, threshold change, attacker evasion).
- Real improvement: fewer users are actually exposed to malicious pages, or attackers have been taken down.
Rule of thumb: assume a fault until independent evidence supports a real improvement. Missed warnings are costly, and "good news" is the hardest explanation to prove.
Step 1: Validate the metric
- Confirm the metric definition did not change (a dashboard query edit, a new dedup rule, a changed event name).
- Compare like for like: same weekday mix, holidays, and seasonality. Use week-over-week and year-over-year baselines, and check how large the drop is relative to normal variance.
- Check logging health: event volumes by client version, platform, region, and ingestion partition. Look for missing hours, schema changes, a pipeline lag that will backfill, or a logging SDK update that dropped fields.
- Cross-check with a second source, such as server-side counts versus client-side counts, or a sibling event like "user clicked proceed anyway". If the sibling event held steady while the primary fell, suspect logging.
Step 2: Decompose the funnel
Compute the rate at each stage, per day, and see where the break first appears:
| Stage | Question |
|---|---|
| Traffic | Did page loads or active users change? |
| Coverage | Share of navigations that were actually checked |
| Scoring | Distribution of risk scores, share above threshold |
| Policy | Share passing allowlists, flags, experiments, thresholds |
| Rendering | Interstitials triggered versus displayed (errors, timeouts, crashes) |
| User | Warnings seen versus bypassed or abandoned |
Interpretation:
- Traffic down proportionally: the drop is a volume effect, so normalize to warnings per 1,000 navigations.
- Coverage down: lookups are timing out, a service is failing open, or a client version skipped checks.
- Score distribution shifted left with the same traffic: model, features, or blocklist freshness issue.
- Scores unchanged but fewer pass policy: a threshold, flag, or allowlist change.
- Flagged count steady but displayed count down: rendering or UI regression.
Step 3: Segment
Break the drop down by platform, browser or app version, OS, country, language, traffic source, threat type, and by the model or list version that produced the verdict. A drop concentrated in one slice points to a release or regional fault. A uniform drop points to a global config, model, or logging change. Also segment by domain: if a few high-volume domains previously caused many warnings and were taken down or allowlisted, a handful of entities may explain it.
Step 4: Line up with changes
Build a timeline of releases, feature-flag flips, experiment ramps, model deployments, blocklist updates, threshold edits, infrastructure incidents, and upstream data-feed outages. Check whether the drop begins at a step change (a deploy) or decays gradually (drift or attacker adaptation). A sharp, aligned step is strong evidence of a fault. A gradual decline suggests drift or a changing threat landscape.
Step 5: Gather independent evidence on true exposure
This is what separates improvement from failure.
- Ground truth sample: pull a random sample of recent navigations, have them human-reviewed or run through an offline reference detector, and estimate the malicious rate and recall of the live system. If recall fell, it is a detection problem.
- External signals: threat-intelligence feeds, takedown reports, user abuse reports, and support tickets about compromised accounts. These should fall if exposure truly fell.
- Known-bad canaries: replay a fixed set of known malicious URLs through production and confirm they still warn end to end. This tests detection and delivery together.
- Downstream harm proxies: credential-reset rates, malware-infection telemetry, and fraud reports.
Step 6: Decide and act
| Finding | Conclusion | Action |
|---|---|---|
| Logging gaps, sibling events steady | Measurement | Fix or backfill the pipeline, annotate the dashboard |
| Flagged but not displayed | Delivery | Roll back the UI or client change, hotfix, add rendering alerts |
| Scores shifted, canaries missed, recall down | Detection | Roll back the model, list, or threshold. Retrain, refresh features |
| Canaries pass, recall stable, external harm down | Real improvement | Document, keep monitoring, and avoid loosening thresholds |
| Attackers shifted tactics (new evasion) | Adversarial | Add detection coverage, escalate to threat research |
If the cause is unclear, treat it as a potential detection failure: roll back the most recent risky change while continuing the analysis.
Trade-offs and numbers
- Alert on both the raw count and the normalized rate, since either can hide a problem.
- A tight threshold on the drop (for example, more than 3 standard deviations from a seasonal baseline) catches real faults but also noise, so pair it with a canary test for confirmation.
- Human labeling is slow and costly. A sample of a few thousand navigations stratified by score gives usable recall estimates, but be mindful that malicious pages are rare, so oversample the high-risk and borderline regions and reweight.
Common mistakes
- Celebrating the drop before checking recall.
- Looking only at raw counts without normalizing for traffic.
- Ignoring logging and ingestion changes.
- Investigating one stage (usually the model) without checking rendering and coverage.
- Relying only on the system's own output as ground truth, which is circular.
- Not correlating with release and config history.
- Rolling forward with fixes without confirming with canaries that warnings work end to end.
Follow-ups to be ready for
- How would you design permanent monitoring (funnel dashboards, canaries, drift alerts)?
- How would you estimate recall when malicious pages are rare and labels are delayed?
- What if the drop is real, but caused by attackers evading detection rather than disappearing?