# Threat Studio: every threat, one score

> WAF, IP reputation, bots and AI crawlers combined into a single decision, and a console to follow it. Serverless or on your own Otoroshi.

- URL: https://blog.cloud-apim.com/threat-studio-every-threat-one-score
- Published: 2026-11-27
- Language: en
- Authors: Mathieu Ancelin
- Topics: Security, WAF, Otoroshi, Threat Studio, OWASP
- Publisher: Cloud APIM (https://www.cloud-apim.com)

---
On October 23, alongside Otoroshi 18, we released version 1.0 of our Threat Protection suite for Otoroshi, and its console: **Threat Studio**. The idea is simple: instead of letting each protection block on its own, every detector adds its weight to a single threat score, and the response is graduated according to that score. Threat Studio shows what was decided, why, and where the attacks come from.

## The problem: protections that do not talk to each other

Most installations stack protections: a WAF here, a list of blocked IPs there, a rate limiter further down. Each one decides alone, on its own criterion. Two flaws follow:

- **false positives**: a single, slightly too broad WAF rule blocks a legitimate client;
- **attacks that get through**: a caller that is suspicious on several criteria, but below the threshold of each one, is never stopped.

## A single threat score

With the Threat Protection suite, detectors no longer block each on their own. They add a weighted signal to the request's score:

- **IP reputation**, fed by threat intelligence feeds (14 selected sources), by CrowdSec and by the public routing table;
- **the WAF**, a JVM-native engine that speaks the ModSecurity rule language and ships with the OWASP Core Rule Set;
- **bots and AI crawlers**, with DNS verification of robots claiming to be Googlebot, and a policy per AI crawler category;
- **honeypots**, trap paths and canary tokens.

A caller coming from a hosting provider's network will not be blocked for that: it is a weak signal. The same caller who also appears on a threat list and triggers a WAF rule will be.

Depending on the score, the response is graduated: log, challenge, slow down, deny, or ban. A caller banned on one node is banned across the whole cluster.

## Observe first, arm later

Nobody likes finding out that a new protection has blocked their own customers. Each section of a route's protection can first run in observation mode: it records what it would have done, without enforcing anything. You read the result, then arm the sections one by one.

When a WAF rule fires on legitimate traffic, the tuning assistant suggests the narrowest possible exclusion, for example ignoring one parameter on a single path rather than disabling the rule everywhere. Each suggestion states what it stops blocking, and it is tested against known attacks before it is saved.

## Beyond the WAF

The suite also covers what no single request reveals:

- **credential stuffing** and password spraying on login pages;
- abnormal **traffic spikes** for a route, a source or an API key;
- **object ID enumeration** (the BOLA attack), counted per consumer;
- **leaks in responses**: stack traces, card numbers, IBANs or keys masked before they go out;
- **API contracts**: every request checked against the route's OpenAPI contract, with the list of endpoints nobody documented.

## Threat Studio, the console

Threat Studio brings all of this together, per workspace:

- which routes are protected, in which mode, and which ones were forgotten;
- the decisions enforced and those only observed, counted separately;
- the geography of attacks on a globe, the sources, the detectors, the WAF rules triggered;
- every decision, opened in detail: who, which signals, which action;
- incidents that group thousands of events into a single case.

Alerts go to Slack, Teams, PagerDuty or a webhook, and every detection is an Otoroshi event you can export to your SIEM.

## Built for the JVM, with no dependency in the request path

The WAF engine is written for the JVM: no WASM, no external process. We told the story of that choice in [a dedicated post](https://blog.cloud-apim.com/building-a-jvm-native-waf-a-journey-from-wasm-to-pure-scala). Reputation lists are indexed in memory and refreshed in the background, and every external dependency is designed never to block a request if it goes down.

The building blocks are open source: the SecLang engine, the OWASP Core Rule Set packaged for it, and a JVM port of libinjection.

## Three ways to use it

| Where | Who it is for |
| --- | --- |
| **Threat Studio serverless** (formerly WebShield) | In front of any app or API, with no gateway to operate. Free to start, then pay as you go |
| **On your Otoroshi** | The Threat Protection suite is open source (Apache 2.0) and requires Otoroshi 18 |
| **Threat Studio Enterprise** | For the whole organization: enterprise login, per-workspace roles (owner, editor, responder, viewer), masked secrets, audit log |

## Try it

Put Threat Studio in front of a first app from [console.cloud-apim.com](https://console.cloud-apim.com), let it observe for a day, and see who is knocking at your door.

**Further reading**

- [The Threat Studio page](https://www.cloud-apim.com/threat-studio)
- [The Threat Protection suite documentation](https://cloud-apim.github.io/otoroshi-waf-extension/)
- [Protecting a route end to end](https://cloud-apim.github.io/otoroshi-waf-extension/docs/tutorial)
- [The Threat Protection suite on GitHub](https://github.com/cloud-apim/otoroshi-waf-extension)

Next post: Clever Cloud Reaper, the extension that puts the apps nobody uses to sleep.