Skip to main content
algovoi-receipt-sentinel sits on top of the receipt verifier and webhook verifier. Feed it every verification result and it fires typed alerts when it detects attack patterns — replay bursts, tamper attempts, or scanning probes.

How it works

The sentinel maintains a per-source sliding window for each configured rule. When the number of matching failures inside the window reaches the threshold, a SentinelAlert is emitted and the counter resets.

Quick start


Default rules

Four rules ship by default. All are configurable.

Alert object


API reference

Python

TypeScript


Custom rules


Test results

Python 36/36 · TypeScript 35/35

8-language cross-validation

104/104 agreements — all 8 implementations produce identical alert decisions from the same event sequences.

Vectors

13 fixtures in vectors/ — 8 that fire alerts and 5 that stay quiet. Each is a self-contained JSON sequence of events with expected outcomes. Regenerate:

See also