Back to skill

Security audit

Discord聊天

Security checks for vulnerabilities and agentic risk

Overview

The skill is a Discord messaging helper, but it includes broad posting, deletion, and message-archiving patterns without enough scoping or confirmation guidance.

Review this skill before installing. Use it only with a Discord bot that has the minimum channel and moderation permissions needed, require human confirmation before sending, editing, deleting, or bulk-exporting messages, and avoid archiving private channel content unless users have approved the retention location and duration.

Vulnerability Patterns
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (4)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
86% confidence
Finding

The activation language is overly broad, covering generic communication and notification use cases far beyond narrowly scoped Discord chat actions. Broad triggering criteria can cause an agent to invoke the skill in unintended contexts, increasing the chance of sending messages, notifications, or communications without sufficient user confirmation or destination validation.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The documentation includes destructive deletion and local data-writing workflows without strong warnings, consent requirements, or confirmation steps. In an agent setting, this can normalize actions that delete messages or write retrieved content to disk, leading to accidental data loss or unintended persistence of sensitive communications.

Content

No source excerpt is available for this finding.

Ssd 3

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

Archiving retrieved Discord messages into a local file introduces a clear data retention risk because channel content may contain sensitive or private information. Persisting that data locally expands exposure surface, bypasses platform retention expectations, and can leak information if the host or filesystem is later accessed.

Content

No source excerpt is available for this finding.

Ssd 3

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The example explicitly instructs bulk extraction of messages by author and writing them to a local archive file, which operationalizes collection and retention of potentially sensitive communications. In context, this makes misuse easier by providing a ready-made pattern for mass data export from Discord into less-governed local storage.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.