When is a behavioural baseline ready? Maturity, cold start, sparsity and recovery in per-identity API anomaly detection

Per-identity behavioural baselines are widely used to detect abuse by authenticated callers, but a score is only as reliable as the history behind it. We study baseline maturity in an open-source API risk engine, AI-Sentinel, which keys baselines by identity and endpoint, uses a fixed warm-up and expires idle state. Three closed-form results describe the problem. A baseline of n samples flags normal values at a rate given by Student’s t, 35.0% for one feature at the shipped two-sample warm-up against 4.6% when mature. Under idle expiry, the share of a key’s requests scored in warm-up is \(\:1-{\left(1-{e}^{-\lambda\:\tau\:}\right)}^{W}\). A baseline that learns an incident loses sensitivity to repeats for a period that grows with the incident’s length and the square of its size. Across 7.8 million simulated requests passed through the engine’s own code, a warm-up long enough to suppress false alarms missed most attacks in a client’s first five minutes; a baseline that started during a focused attack learned it and then flagged 78% of the owner’s later traffic; a non-decaying endpoint histogram kept clients flagged for an hour after a 20-minute attack unless they paused for longer than the baseline lifetime; and attacks on rarely used endpoints went unseen. On one day of a public university access log, the median baseline received a single request, and lengthening the lifetime barely improved coverage while diluting bursts. An age-conditioned population backoff scored 99% of requests at a 6.1% alarm rate and flagged most crawled sessions, which every per-key setting missed.

Authors

Institutions

Publication Details

Journal
Research Square
Published
2026-11-30
DOI
https://doi.org/10.21203/rs.3.rs-11505284/v1
Primary Topic
Network Security and Intrusion Detection
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

When is a behavioural baseline ready? Maturity, cold start, sparsity and recovery in per-identity API anomaly detection

Pius Businge, Habineza Ngabo Yves Damas, Samuel Dushimimana Shyaka, Collin Kabwama
Research Square
Network Security and Intrusion Detection
preprint

When is a behavioural baseline ready? Maturity, cold start, sparsity and recovery in per-identity API anomaly detection

Pius Businge, Habineza Ngabo Yves Damas, Samuel Dushimimana Shyaka, Collin Kabwama
preprint en

Abstract

Per-identity behavioural baselines are widely used to detect abuse by authenticated callers, but a score is only as reliable as the history behind it. We study baseline maturity in an open-source API risk engine, AI-Sentinel, which keys baselines by identity and endpoint, uses a fixed warm-up and expires idle state. Three closed-form results describe the problem. A baseline of n samples flags normal values at a rate given by Student’s t, 35.0% for one feature at the shipped two-sample warm-up against 4.6% when mature. Under idle expiry, the share of a key’s requests scored in warm-up is \(\:1-{\left(1-{e}^{-\lambda\:\tau\:}\right)}^{W}\). A baseline that learns an incident loses sensitivity to repeats for a period that grows with the incident’s length and the square of its size. Across 7.8 million simulated requests passed through the engine’s own code, a warm-up long enough to suppress false alarms missed most attacks in a client’s first five minutes; a baseline that started during a focused attack learned it and then flagged 78% of the owner’s later traffic; a non-decaying endpoint histogram kept clients flagged for an hour after a 20-minute attack unless they paused for longer than the baseline lifetime; and attacks on rarely used endpoints went unseen. On one day of a public university access log, the median baseline received a single request, and lengthening the lifetime barely improved coverage while diluting bursts. An age-conditioned population backoff scored 99% of requests at a 6.1% alarm rate and flagged most crawled sessions, which every per-key setting missed.

Research Square
Maharishi International University (US), Cavendish University Uganda (UG), Carnegie Mellon University Africa (RW), Carnegie Mellon University (US)
Network Security and Intrusion Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
When is a behavioural baseline ready? Maturity, cold start, sparsity and recovery in per-identity API anomaly detection — Pius Businge, Habineza Ngabo Yves Damas, et al. · Research Square (2026) | TGRS Research Map | TGRS