Browser extension detects threats with 0.71 micro-F1 on synthetic benchmark
The Browser Immune System can accurately classify malicious web pages using an in-browser transformer model
Security & privacy arXiv 11 Nov 2026 Defense Prototype evidence
Published as “Browser Immune System (BIS): Innate and Adaptive Threat Detection in the Browser with a Cybersecurity Transformer”
Why it matters
BIS demonstrates that a compact, quantised transformer can run entirely on-device to detect multiple web threats with sub-second latency, eliminating the need to send page content to remote services.
Summary
The Browser Immune System (BIS) correctly classifies 7 out of 8 synthetic malicious pages (micro-F1 0.71) and shows zero false positives on two clean controls, with identical verdicts across Chrome and Firefox; evidence comes from a small synthetic benchmark (8 sites, 2 runs each) and a limited probe on 11 real-world pages that reveals specificity issues.
What they found 3
- System 1 answers in 152 ms on a laptop GPU and matches the reference bf16 model’s decision direction.
“System 1 answers in 152 ms on a laptop GPU and agrees in decision direction with the PyTorch bf16 reference on the prompt compared;”
- BIS achieves 7/8 correct page verdicts with micro-F1 0.71, and identical results across samples and browsers.
“BIS scores 7/8 page verdicts and micro-F1 0.71 at class level, with both controls green; its verdicts are identical across samples and across browsers.”
- Average scan time per page is 2.62 s, ranging from 0.9 to 6.4 s depending on the number of questions.
“The scan costs 4 to 9 questions and 0.9 to 6.4 s per page, 2.62 s on average;”
Caveats 7
- Two false positives occur as cross-attributions on the phishing page.
- Two false negatives: the phishing class and the miner class are missed in the synthetic benchmark.
- Two of the seven System 1 questions (dropper on external scripts and keylogger on forms) produce positives on ordinary, benign pages in the real-world probe.
- two of its seven questions are not specific enough for the real web (Sections 6.5 and 6.6).
- BISBENCH-8 is synthetic by design.
- The miner is not missed for lack of evidence. The model takes the page at its word: the miner question returns 0.0001 with the comments and 0.9999 without them (D1).
- The dropper question is not calibrated for the real web.
What’s new here 4
- First deployment of the cybersecurity transformer’s typed decision (System 1) mode inside a browser with the full pointer head and RMSNorm intact.
- Combines both fast System 1 inference and slower generative System 2 inference in a single in-browser weight set.
- Introduces the Browser Immune System extension architecture that layers an innate battery of typed questions with adaptive explanations.
- Provides a reproducible benchmark (BISBENCH-8) and engineering record for on-device threat detection.