Introduction
Introduction
The Riavzon ecosystem is a set of focused Node.js modules for authentication, bot detection, and shared infrastructure. Each module has a single responsibility, and they are designed to work together as a layered stack. You can use the full stack or adopt individual modules into an existing application.
The Stack
The ecosystem has five modules. Three of them form the core authentication and bot detection pipeline. The other two are supporting tools.
How the modules connect
Understanding the dependency chain helps you decide which modules to set up and in what order.
Shield Base compiles the databases
Shield Base downloads BGP tables, geolocation data, Tor exit nodes, FireHOL threat lists, and verified crawler IP ranges. It compiles them into MMDB and LMDB binary files that the Bot Detector reads at runtime. You run Shield Base once to produce the databases, then again periodically to refresh them.
Bot Detector uses those databases
The Bot Detector middleware reads the compiled databases to score each incoming request across IP reputation, geolocation consistency, device fingerprinting, behavioral rate limits, and more. Requests that exceed the ban threshold are rejected at the edge before touching any application logic.
IAM uses Bot Detector internally
The IAM service runs Bot Detector on every request as part of its middleware chain. It also manages the canary cookie that ties a browser session to a specific visitor fingerprint, which Bot Detector uses for session coherence checks.
Auth H3 Client proxies to IAM
Auth H3 Client is the server layer of your Nuxt or Nitro application. It intercepts authentication-related requests, signs them with HMAC, forwards them to the IAM service, and applies the resulting tokens and cookies to the response. Your application never handles raw credentials.
Where to start
The right starting point depends on what you are building.