Browse documentation

VIRCON

Anomaly & Pattern Detection

PATTERN DETECTION

Anomaly & Pattern Detection

VIRCON's anomaly detection system automatically identifies unusual activity patterns by comparing current behavior against historical baselines. Pattern detection identifies repeat offenders and coordinated rule violations, enabling proactive moderation and early intervention.

Anomaly & Pattern Commands

Commands for triggering scans, viewing alerts, and resolving detected anomalies.

  • ,anomaly check - Run immediate anomaly scan
  • ,anomaly alerts [days] - View recent anomaly alerts
  • ,anomaly baseline - Recalculate normal activity baseline
  • ,anomaly resolve <alert_id> <notes> - Mark anomaly as investigated
  • ,patterns [days] [min_actions] - Detect repeat offenders

Detection Types

Categories of anomalous behavior automatically flagged by the detection system.

TypeThresholdSeverity
Moderation Spike
Unusually high ban/kick rate in short timeframe
3x average hourly rateHigh
Staff Outlier Behavior
Staff member acting outside normal patterns
5+ actions in 10 minutes OR unusual severityMedium
Repeat Offender Pattern
User with multiple violations in rolling window
3+ incidents in 7 daysLow-Medium
Coordinated Activity
Multiple users exhibiting similar rule violations
3+ users, same violation type, <1 hour apartMedium-High
Join Wave Anomaly
Unusual spike in new member joins
10+ joins in 5 minutesHigh (raid indicator)

Anomaly Detection Workflow

Automated detection cycle from baseline comparison through alert generation and investigation.

  1. 1. System runs anomaly detection every 15 minutes via scheduled job.
  2. 2. Current activity compared against rolling 30-day baseline averages.
  3. 3. Deviations exceeding threshold (2-3 standard deviations) flagged.
  4. 4. Anomaly alert created with severity, type, affected users/staff.
  5. 5. Alert sent to admin channel if severity is Medium or higher.
  6. 6. Staff investigates using ,anomaly alerts to view details.
  7. 7. Once investigated, staff resolves alert with ,anomaly resolve and notes.
  8. 8. Resolved anomalies tracked for trend analysis and pattern refinement.

Pattern Detection Process

Daily analysis for identifying repeat offenders and behavioral patterns requiring intervention.

  • Daily scan identifies users with 3+ incidents in rolling 7-day window.
  • Pattern types: repeat harassment, ban evasion attempts, policy violations.
  • Confidence scoring based on incident frequency and severity distribution.
  • Auto-flags high-confidence patterns (80%+) for staff review.
  • Integration with trust scoring - patterns lower trust score.
  • Pattern data feeds into risk forecasting and prediction models.

Anomaly Database Schema

Database structure for storing detected anomalies, deviation scores, and investigation results.

FieldDescription
anomaly_idUnique anomaly alert identifier.
detected_atTimestamp of anomaly detection.
anomaly_typemoderation_spike, staff_outlier, join_wave, etc.
severitylow, medium, high, critical.
descriptionAuto-generated description of anomaly.
affected_usersJSON array of user IDs involved.
affected_staffJSON array of staff IDs involved (if applicable).
baseline_valueNormal expected value for comparison.
actual_valueObserved value that triggered anomaly.
deviation_scoreStandard deviations from baseline.
statuspending, investigating, resolved, false_positive.
resolved_byStaff who investigated and resolved.
resolution_notesInvestigation findings and outcome.
resolved_atTimestamp of resolution.

Pattern Database Schema

Database structure for tracking repeat offender patterns and confidence scoring.

FieldDescription
pattern_idUnique pattern identifier.
user_vrc_idVRChat user exhibiting pattern.
pattern_typerepeat_offender, harassment_cycle, policy_violation.
incident_countNumber of incidents in pattern.
first_incident_atTimestamp of earliest incident in pattern.
last_incident_atTimestamp of most recent incident.
confidence_score0-100 likelihood of intentional pattern.
flagged_atTimestamp when pattern was detected.
reviewedBoolean: has staff reviewed this pattern.

Automation Features

Scheduled scans, adaptive baselines, and intelligent alerting to reduce manual monitoring.

  • Real-time anomaly detection every 15 minutes (configurable interval).
  • Auto-alerts to admin channel for high/critical severity only (reduces noise).
  • Baseline auto-recalculation weekly to adapt to community growth.
  • Pattern detection daily scan at 01:00 UTC with summary report.
  • False positive learning - resolved false positives adjust thresholds.
  • Integration with incident reports - anomalies can auto-create incidents.

Real-World Use Cases

Practical examples of anomaly detection identifying security threats and unusual patterns.

Case 1

10 new users join within 3 minutes

Detection: Join wave anomaly triggered, severity: high

Action: Auto-alert sent, head admin reviews, determines organic growth spike

Outcome: Resolved as false positive, baseline adjusted

Case 2

Staff member issues 8 bans in 15 minutes

Detection: Staff outlier behavior detected

Action: Admin reviews - staff was responding to coordinated raid

Outcome: Resolved with notes, raid linked to event mode activation

Case 3

User with 5 warnings in 10 days

Detection: Repeat offender pattern flagged, confidence 85%

Action: Staff reviews history, escalates to temporary ban

Outcome: Pattern confirmed, user on moderation watchlist

Best Practices

Guidelines for effective anomaly investigation and pattern analysis workflows.

  • Review anomaly alerts within 24 hours - don't let them pile up.
  • Mark false positives consistently so system learns and improves.
  • Use pattern detection weekly to identify users needing intervention.
  • Adjust baseline manually after major community events (prevents noise).
  • Cross-reference staff outlier alerts with strike history before acting.
  • Document resolution notes thoroughly for trend analysis and audits.