Safety & Moderation (Haven 2026)
Haven maintains a high standard of safety for its 14+ audience through automated and multi-layered moderation systems.
🤖 AI-Powered NSFW Scanner
Haven uses a TensorFlow.js model (MobileNetV2) to perform decentralized, client-side moderation for 1-on-1 video chats.
How It Works:
- Sampling Frames: Every few seconds, the
HiddenScannerNodeinChatCallProvider.tsxcaptures a 224x224 frame from theremoteStream. - On-Device Inference: The frame is processed entirely in the visitor's browser. Images are never uploaded to a server for scanning, ensuring maximum privacy.
- Violation Callback: If a frame is scored as NSFW (>85% confidence), the system triggers:
- Instant Disconnect: The call is terminated immediately.
- Auto-Report: The
reportedUserIdandAutomated AI Banreason are sent to the database. - Matchmaking Blacklist: The WebSocket server adds the offender to a temporary memory-based ban list.
🛡️ Manual Reporting System
Users can manually report partners during or after a call.
- Fast-Report Trigger: A report immediately ends the current session on the reporter's end.
- Moderation Queue: Reports are persisted to the
reportstable in Supabase. - Reputation (Karma): Each report impacts the user's hidden reputation score, eventually leading to a permanent ban or shadow-ban in the matching pool.
🚪 Access Control & Verification
-
Age Verification:
- 1-on-1 video matching is strictly limited to users who have completed the age verification self-declaration (managed via
AgeVerificationModal.tsx). - Verified status is cached for performance but periodically re-validated by the
verificationmiddleware.
- 1-on-1 video matching is strictly limited to users who have completed the age verification self-declaration (managed via
-
Email Confirmation:
- Mandatory for all interactive features (Chat, Sangha creation, Friend requests).
- This ensures a valid point of contact for moderation notices and reduces bot spam.
-
Sangha Moderation:
- Role-Based Control: Creators can define moderators with permission to kick or ban users from a specific Sangha.
- Auditing: Session participants are tracked in
room_participantsfor accountability.
💡 Safety Tips
- Always Report Unusual Behavior: Don't just skip; reporting helps keep the community clean for everyone.
- Status Badges: Look for the "Verified member" badge in Sangha lists for a safer experience.
Created by the Antigravity Safety Team.