Tutorials

Advanced Security

Jarvis Feature

Jarvis includes a multi-layered security system designed to protect Discord communities from harmful content, dangerous links, and malicious attachments. The goal is simple: keep your guild safe without slowing down conversation or overwhelming moderators.

1. Real-Time Message Monitoring

Every message sent in a guild where Jarvis is active is scanned instantly. This includes:

  • Normal text messages
  • Messages containing links
  • Messages containing attachments
  • Edited messages
  • Replies and thread messages

Jarvis does not store message content — it evaluates each message as it appears.

2. Dangerous Link Detection

When a message contains a link, Jarvis performs a multi-step safety check:

Step 1 — Domain Analysis

Jarvis checks the domain against:

  • Known malicious domains
  • Phishing sites
  • Malware distribution networks
  • Scam or impersonation pages
  • Suspicious newly registered domains

If the domain is flagged, Jarvis removes the message immediately.

Step 2 — Google Safe Browsing Verification

Jarvis uses Google’s threat-detection API to verify:

  • Malware
  • Phishing
  • Social engineering
  • Unwanted software
  • Harmful redirects

If Google reports the link as unsafe, Jarvis deletes the message and logs the event.

Step 3 — Content Inspection

For pages that pass domain checks, Jarvis attempts to fetch metadata:

  • Page title
  • Redirect chain
  • Embedded scripts
  • Suspicious keywords
  • Known exploit signatures

If the page appears harmful, Jarvis removes the message.

3. Attachment Safety Filtering

Jarvis also checks file attachments:

User-Defined Blocklist

Guild owners can block specific file types, such as:

  • .exe
  • .bat
  • .scr
  • .ps1
  • .jar
  • .html
  • .svg

If a user uploads a blocked file type, Jarvis removes the message instantly.

Suspicious File Behavior

Jarvis also flags attachments that:

  • Have mismatched MIME types
  • Are disguised executables
  • Contain embedded scripts
  • Match known malware signatures
4. Automatic Message Removal

If any part of the safety check fails, Jarvis:

  1. Deletes the message
  2. Logs the event (if logging is enabled)
  3. Optionally notifies moderators
  4. Optionally warns the user

This keeps harmful content out of the guild without requiring manual intervention.

5. Moderator Tools & Transparency

Jarvis provides clear visibility into security actions:

  • Logs deleted messages
  • Shows the reason for removal
  • Displays detected threat type
  • Allows moderators to whitelist domains
  • Allows custom blocklists per guild
6. Adaptive Learning

Jarvis improves over time by:

  • Tracking repeated offenders
  • Learning new malicious patterns
  • Updating domain threat lists
  • Improving attachment heuristics
7. What Jarvis Does Not Do

To keep things safe and privacy-friendly, Jarvis does not:

  • Store message content
  • Archive user data
  • Track users across servers
  • Read DMs
  • Bypass Discord permissions
Summary

Jarvis’s security system is built to detect harmful links, verify pages using Google Safe Browsing, inspect suspicious content, block dangerous attachments, remove threats instantly, and keep moderators informed — all while protecting communities without being intrusive.