Huimai Discord Automation

WarnAudited by ClawScan on May 10, 2026.

Overview

No clear malware or exfiltration is shown, but this Discord moderation skill asks for powerful server-management authority and includes batch/skip-confirmation paths that deserve careful review.

Only install this if you are prepared to grant and manage a Discord bot token. Use a least-privilege bot role, start in log-only or confirmation mode, avoid professional skip-confirmation mode until rules are tested, require explicit approval for deletions/kicks/role changes, and verify the package provenance before use.

Findings (5)

Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.

What this means

If enabled or invoked incorrectly, the bot could delete or change Discord content and permissions in bulk before a human reviews the specific action.

Why it was flagged

The skill explicitly offers a mode for batch actions without confirmation. Because the same skill is for Discord moderation and cleanup, this can affect public channels, messages, roles, or users.

Skill content
- **专业模式(可选)**:批量操作,跳过确认
Recommendation

Keep the default confirmation/log-only mode, require explicit approval for deletes, kicks, role changes, and channel cleanup, and add allowlists, dry-runs, backups, and rollback procedures.

What this means

A leaked or over-privileged bot token could let someone alter messages, channels, or roles in the Discord server.

Why it was flagged

The code is designed to use a Discord token with broad management permissions. This is purpose-aligned for a moderation bot, but it is sensitive authority.

Skill content
token: config.token || '', ... manageMessages: true, manageChannels: true, manageRoles: true
Recommendation

Use a dedicated Discord bot token with the minimum permissions needed, avoid administrator privileges, store the token securely, and revoke it if the skill is no longer used.

What this means

Users may rely on safety behavior that is not clearly enforced by the artifacts, especially for deletions, role assignments, or moderation actions.

Why it was flagged

The skill promises confirmation and backups for important operations, but the provided code exposes direct mutation-style methods and does not show enforcement of those safeguards.

Skill content
- **温情模式(默认)**:操作前确认,重要操作备份
Recommendation

Treat the safety claims as policy guidance, not guaranteed enforcement, unless the implementation is updated to require confirmations and create backups for high-impact actions.

What this means

The bot may continue processing queued messages until stopped, so misconfigured rules could keep acting repeatedly.

Why it was flagged

The bot starts a repeating message-processing loop. This is expected for a Discord automation bot, but it is ongoing autonomous behavior once started.

Skill content
setInterval(() => { ... this.processMessage(message); }, 100);
Recommendation

Run it under supervision, confirm the stop behavior, and monitor logs and permissions during initial rollout.

What this means

It is harder to verify whether the packaged files match the intended release before trusting it with server-management access.

Why it was flagged

The registry has limited provenance information, while included files also show different versions. No unsafe install script is shown, but provenance matters for a skill that may receive a Discord bot token.

Skill content
Source: unknown; Homepage: none; Version: 2.0.0
Recommendation

Verify the publisher/source and version, and review the installed files before configuring real Discord credentials.