Security guide
How to protect your Discord server
Fourteen steps to close the doors raids, stolen accounts and scams use. Each step says what to change in Discord and what Garita does for you.
Updated:
The checklist, step by step
Go through it once, then again every month. No step costs money.
Your account and your team’s
Turn on two-step verification on your account
Most wrecked servers start with a stolen password. With a second step (a code app or a key), the password alone is no longer enough. Ask everyone on the team to do it too.
With Garita: Garita can’t turn it on for you, but the anti-nuke stops a stolen account that starts deleting.
Require two-step verification to moderate
A server setting only the owner can change: whoever hasn’t turned on the second step won’t be able to ban, kick or delete messages.
With Garita: The “Security review” tells you when it is off and where to click.
See the security review
Who can do what
Hand out few permissions that break things
Administrator, Manage Server, Manage Roles, Manage Channels, Ban and Mention @everyone: the fewer people have them, the less damage a stolen account can do. Never on @everyone or on the role everybody gets.
With Garita: The review finds them on @everyone and on widely held roles, and removes them with a button.
Put the roles in order
A bot can only act on people below its role. Put Garita’s role above your community’s ordinary roles (it doesn’t need to be above yours).
With Garita: The review tells you which roles sit above Garita. No bot can move itself up.
Bots with just what they need
A bot with Administrator is a master key: if it gets hacked, it takes the server with it. Give each bot only the permissions it uses and kick the ones you no longer use.
With Garita: Garita doesn’t ask for Administrator. “Can I kick it now?” tells you which other bots you can remove without losing anything.
Check the webhooks
Anyone with a webhook link can post whatever they want in that channel, @everyone included, without being a member. Delete the ones you don’t recognise.
With Garita: The review lists the webhooks; the anti-nuke deletes the ones an attacker creates and the ones that spam, and tells you about the ones that just post a lot.
How the anti-nuke works
The front door
Raise the verification level
In Server Settings you can ask, for example, for a verified email or a few minutes inside before posting. With “None”, any brand-new account posts at once.
With Garita: The review raises it with a button, and the anti-raid raises it by itself during a raid.
Filter adult images and quiet the notifications
Turn on the explicit content filter for all members. And set the default notifications to “only mentions”: that way nobody mutes the whole server and then misses an important alert.
With Garita: The review changes both settings with a button and lets you undo it for 24 hours.
Put a gate at the entrance
Making newcomers press a button (or solve a captcha) before seeing the channels stops most bots. Add a filter for accounts that are too new and a trap channel where nobody should post.
With Garita: Verification, the new-account filter and the trap channel come with Garita; the trap channel is made from Discord.
What the trap channel isLook after your invites
An invite that never expires and ends up in the wrong group works forever. Make invites that expire and delete old ones nobody uses.
With Garita: The review counts invites that never expire; during a raid you can pause them with a button.
Monitoring
A log channel
A private team channel that records who joins, who leaves, what is deleted and what is changed. Without a log, nobody knows what happened after an attack.
With Garita: Garita’s logging module writes all of that in the channel you pick.
LoggingAutomod and the scam shield
Delete spam, mass mentions and attempts to ping the whole server. Stolen accounts post scam pictures and links (free Nitro, crypto giveaways): delete them before someone falls for them.
With Garita: The scam picture and scam link shields are on from the start and work even with automod off.
AutomodAnti-raid and anti-nuke
The anti-raid watches people joining in a flood; the anti-nuke, someone with permissions who starts deleting channels or roles or banning many. Both start by observing: look at what they would have done and turn them on once you are convinced.
With Garita: The anti-nuke takes the attacker’s permissions and undoes what they granted and created; the anti-raid also isolates people who were already inside.
Garita security
Habit
A review every month
Servers change: new bots join, someone creates a role with too many permissions, webhooks appear. Go through this list once a month.
With Garita: The “Security review” does it in seconds, in the dashboard or in Discord with /dashboard security, with buttons to fix things.
Open the dashboard
Discord’s menu names can change over time; if you can’t find one, search for it in the server settings.
What to do during a raid
If it is happening right now, in this order. Breathe: almost everything can be undone.
Pause the invites
Cut off the entrance without kicking anyone. In Discord it is in the server menu; the pause lasts 24 hours at most.
With Garita: “Pause invites” button on the raid alert, in /dashboard security and in the dashboard.
Raise the verification
A higher level stops brand-new accounts while the attack lasts.
With Garita: With the anti-raid on, Garita raises it by itself and puts it back when it ends.
Lock the channels being spammed
Let nobody post in the channels that are filling up, only while the attack lasts.
With Garita: The /lockdown command locks one channel or all the ones you chose, and reopens them as they were.
Remove whoever came to attack
Isolate or kick the raid accounts. Also look at accounts that joined recently and took part.
With Garita: The anti-raid isolates people joining and also people already inside who take part; never the team.
Delete what they left
Remove the attack’s messages so nobody clicks a dangerous link.
With Garita: The /clear command deletes a person’s or a channel’s recent messages at once.
Look at the audit log
Look for bots added, new webhooks, roles created or permissions changed during the attack.
With Garita: The anti-nuke undoes what it can and tells you what is left to do by hand.
Tell Discord and change whatever leaked
Report the accounts from Discord. If someone on the team had their account stolen, they should change the password and turn on two-step verification.
With Garita: Garita can’t report for you, but it keeps a record of who did what.
Afterwards, run the review
Once things calm down, resume the invites and check which door they used.
With Garita: The “Security review” tells you what to close for next time.
Frequently asked questions
How often should I check security?
Once a month is enough for most servers, and always after adding a bot or creating new roles. With Garita it takes a few seconds.
Which verification level should I pick?
For an open community, “Low” (verified email) or “Medium” (account older than 5 minutes). Higher levels stop more, but they also stop real newcomers: keep them for when there is a raid.
Does Garita need to be an Administrator?
No. Garita asks only for the permissions its features use, and the review tells you if one is missing for what you have turned on.
What do I do if an admin’s account is stolen?
Take their roles away as soon as you see it, and have them change the password and turn on two-step verification. If the anti-nuke is on, it stops that account when it starts deleting and undoes what it can.
Does pausing invites kick anyone?
No. It only stops new people joining while the pause lasts; people already inside won’t notice anything.
Does it cost anything?
Following this guide costs nothing, and Garita’s security is free on every plan.
Let Garita do half the list
Anti-raid, anti-nuke, trap channel, verification and scam shields, free on every plan.