Skip to content

Anti-Raid

Detects mass-join attacks and auto-actions the joining members. The most-impactful security feature on most servers.

How it works

Anti-Raid watches the join rate — the number of members joining in a rolling time window. When the join rate exceeds your threshold, Phantom marks a "raid session" and starts auto-actioning every member that joins during that session.

Settings

SettingWhat it does
EnabledMaster switch.
Join thresholdJoins-per-window to trigger. Default 8.
Join window (seconds)Rolling window. Default 10.
Min account age (days)An additional filter that auto-actions accounts younger than this regardless of the raid threshold. 0 disables.
ActionWhat to do to raid members. quarantine / kick / ban / challenge.
Auto-lockdownEngage server-wide Lockdown when a raid is detected.
Session cooldown (seconds)After a raid is resolved, how long to keep watching before auto-resetting. Default 300.
Exempt rolesMembers with any of these roles bypass the check. Useful for "verified members" lists.
Alert channelWhere to post the raid alert + a session summary.

Actions

quarantine — strip the user's roles, give them the Quarantine role from your Quarantine config. Reversible if it's a false positive.

kick — kick the user. They can rejoin after the raid window closes.

ban — ban the user. They cannot rejoin. Don't use this unless you've tuned the thresholds.

challenge — engage Verification instead of an enforcement action. Combine with a button-mode verify panel so legit users can still get in.

Tips

  • Default thresholds are tuned for medium servers. Big servers (5k+ members) may legitimately see 8 joins in 10s on busy days; bump the threshold to 12-15. Small servers (< 500) tighten to 4-5.
  • Start with action = quarantine. If the bot misjudges, you can release quarantined users one-click; banning is much harder to undo at scale.
  • Auto-lockdown is your nuclear button. Useful for high-profile servers; overkill for most.
  • The alert channel is critical — without it you only know about the raid after the fact via the audit log. Pick a mod channel with notifications on.

Resolving a raid session

The alert message comes with two buttons: Resolve (mark the raid handled, keep quarantined members where they are) and Revert (mark the raid handled AND release everyone the session quarantined).

Use Revert when you decide it was a false positive — common during big events where a guild legitimately gets a spike of joins.

Cross-Server Sync

If you've enabled security sync on a network, these settings propagate from the source server's anti-raid config to every subscriber:

  • Enabled toggle, join threshold, join window, minimum account age, action, auto-lockdown, and session cooldown.

The alert channel and exempt roles stay local per server (each server has its own channels and roles).

Permissions

  • security.view — see the page + current raid sessions
  • security.edit — change settings, manually resolve/revert sessions

Behaviour

  • Each server's join-rate counter resets after the configured cooldown of no new triggers.
  • An ongoing session is visible on the dashboard with a live count of members caught.
  • Members exempted by role are silently let through without contributing to the count.

Phantom is a product of Hydra Labs. The bot is run as a managed service; you do not need to host it yourself.