Security and cyberattacks
Last updated : 7 October 2026.
Discord is a place to live, so it is a target: scams, account takeovers, raids, leaks. This page explains the attacks we see most, how to protect yourself, what MoBot offers, and how to report a flaw to us.
1. The most common attacks
- Phishing: a fake “Nitro gift”, a fake giveaway, a fake support or a fake login page to steal your account.
- Token theft: a file or “software” sent in a direct message grabs your Discord token, which is enough to take your account even with a strong password.
- Impersonation: a fake moderator, a fake friend (hacked account) or a fake bot asking you for a favour or a code.
- Raids: dozens of recent accounts arriving at once to spam, insult or destroy a server.
- Server takeover: a hacked administrator account, or a role that is too powerful given to a dubious application, which deletes channels and roles or mass-bans.
- Leaks: webhook link, API key, application token or screenshot left in public.
- Harassment and doxxing: to be reported and deleted without waiting.
2. Good practices for everyone
- Turn on two-factor authentication. On your Discord account, and require it from your moderation team (Server Settings → Safety). A stolen moderator account is the way in for most attacks.
- Never share your token or password. Nobody serious will ask for your Discord token, password or login code: not a “support agent”, not a “moderator”, not a bot.
- Beware of fake gifts. “Free Nitro”, “you won”, “look at this game”: links and files sent by direct message are the first source of account takeovers. Check the address before you click.
- A unique, long password, in a password manager: never reuse it anywhere else.
- When in doubt, do not click. Go to the official site by typing the address yourself, and ask someone you trust.
3. Good practices for administrators
- Give the minimum permissions. A role should only have what it needs. Keep “Administrator” for very few people, and put the app's role just above what it has to manage, not at the very top.
- Review your server's apps. Remove the apps you no longer use (Server Settings → Integrations). A forgotten app keeps its permissions.
- Never paste a webhook address in public. Anyone with a webhook link can write in your channel pretending to be anyone. If it leaks, delete it and create a new one.
- Protect yourself from raids. Turn on the join captcha, raid mode and MoBot's attack protection, and raise the server's verification level when a wave of recent accounts arrives.
- Check files before opening them. An executable (.exe, .scr, .bat, .jar) or an archive sent by a stranger can steal your token. On your server, Automod's anti-file rule blocks risky attachments.
- Keep a trace of what happens. Turn on logs in a team-only channel: during an incident, knowing who did what and when saves precious time.
- Back up your server. A backup of the structure (roles, channels, permissions) lets you put everything back after a destructive attack. Mo-Backup takes care of it.
- Watch out for fake moderators. An account copying a team member's name and avatar to ask you for “just a favour” is a classic scam. Check their ID and role.
- Tidy up your authorisations. In Discord → Settings → Authorised apps, remove sites and apps you no longer recognise. Every authorisation is access to your account.
- Require two-factor from your team on the site. Server owner, turn on “Require two-factor authentication” in General → Dashboard security: the other people who manage MoBot must set it up on their profile before opening your dashboard.
- Get an alert on every change. In General, pick an alert channel: MoBot says there who changed which module from the site (never the values). A change you did not expect is a signal to check.
- Keep “Manage Server” for few people. That permission is enough to open your dashboard and change MoBot's settings. Hand it out like “Administrator”: to trusted people, and only those who need it.
- Raise the server's verification level. Server Settings → Safety: requiring a verified email, an older account or a phone number greatly slows down raids and throwaway accounts.
- Limit who can create invites. An invite with no usage limit can be posted everywhere. Remove “Create Invite” from roles that do not need it and follow invites with the Invites module.
- Forbid @everyone to members. The “Mention @everyone, @here and all roles” permission should belong to the team only: it is the favourite tool of spammers and fake giveaways.
- Check a link before you click. Our link checker (Tools page) shows where an address leads, without opening it. If in doubt about a shortened link, go through it.
- Read the permissions before authorising an app. An app asking for “Administrator” for a simple feature is suspicious. Pick permissions one by one, and do not give a role higher than needed.
- Blur before sharing a screenshot. A token, webhook address, API key or private invite link visible in a screenshot is a leak. Crop or blur, especially when asking for help in public.
- Prepare your incident plan. Knowing in advance who can strip a hacked account's roles, who warns the members and how to restore the server avoids losing hours when it happens.
4. What MoBot does for you
These are aids, not a guarantee: they reduce risk without removing it. All of them are set from the dashboard.
- Captcha on arrival (code, question, rules or login through the website) and raid mode: invites paused and verification level raised when too many people arrive at once.
- Automod: anti-scam (known links and images), anti-links, anti-invites, anti-files, trap channel, and kicking of accounts that are too recent.
- Anti-attack protection (anti-nuke): detects mass deletions and creations, removes the author's roles and can pause invites.
- Ban check (UBC): spots accounts reported by the community on arrival, and by scan.
- Detailed logs, message reports and Mo-Backup to rebuild after an incident.
5. How we protect your data
Login through Discord (we never see your password), encrypted exchanges (HTTPS), management rights re-checked with Discord on every action, secrets never exposed to the browser, rate limits and security logs. The details are in the privacy policy. We will never ask for your Discord password.
6. Hacked account or server: what to do
- Change your Discord password and turn on (or renew) two-factor authentication: this signs out the other devices.
- In Settings → Authorized Apps, remove anything you do not recognise.
- On your server: remove suspicious roles and applications, reset webhooks, check the audit log, then restore with Mo-Backup if needed.
- Warn your members with an official message (fake messages spread fast) and report the hacked account to Discord.
7. Report a security flaw
Do you think you found a flaw in MoBot or its website? Please report it to us privately, without exploiting or publishing it, through the contact given in the legal notice. Describe what you saw and how to reproduce it; we acknowledge receipt, fix it as soon as possible and keep you informed. Never view, modify or delete data that is not yours. The principles of responsible disclosure are also published in the security.txt file.