Skip to main content

Module abuse

Module abuse 

Source
Expand description

Abuse signal aggregation and enforcement.

The AbuseTracker correlates rate-limit hits, policy violations, and anomalous patterns across actors, origins, and channels. It produces graduated enforcement actions (allow / slowdown / quarantine) and persists an audit trail to the abuse_events table.

Lives in AppState as Arc<RwLock<AbuseTracker>> so both API and channel entry points share the same abuse view.

Structs§

AbuseConfig
Configurable thresholds for abuse scoring.
AbuseTracker
Correlates abuse signals across actors and produces enforcement actions.

Enums§

AbuseAction
Action the system should take for a given request.
SignalType
Categories of abuse signals fed into the tracker.