Feature Selection and Evidence Fusion for Reducing False Alarms in API Anomaly Detection
Per-identity behavioural detectors score each request on several features and usually fuse them by taking the largest per-feature deviation. We study what each feature contributes, how few are needed and how they should be combined in AI-Sentinel, an open-source API risk engine that fuses six capped z-scores by their maximum. In closed form, max fusion of d independent features flags \(\:1-{\left(1-0.0455\right)}^{d}\) of normal requests at a z threshold of 2, 24.4% for six features, and it cannot add up evidence spread over several features, whereas a chi-square rule mapped to an equivalent z holds the false-alarm rate fixed and gains power when an attack’s shift is spread. We generated two simulated suites of seven attacks and two benign look-alikes (1.46 million requests) and replayed them through the engine itself, then rescored all 63 feature subsets under both fusion rules and three engine configurations. Subsets were chosen on one suite and confirmed on the other and on a day of a public university access log. Drifting features drove false alarms: removing token age cut alarms on normal traffic from 42% to 3.0% with a 30-sample warm-up, and removing the endpoint-histogram pair cut them from 37% to 16% on real traffic as shipped. With the learning gate on, request rate and parameter count matched or beat all six features out of sample. Alarms were often credited to a feature other than the one attacked. Sum fusion cut false alarms but left weak multi-feature attacks undetectable at a usable threshold.
Authors
- Collin Arnold Kabwama
Institutions
- Maharishi International University (US)
Publication Details
- Journal
- Research Square
- Published
- 2026-11-25
- DOI
- https://doi.org/10.21203/rs.3.rs-11503719/v1
- Primary Topic
- Network Security and Intrusion Detection
- Type
- preprint