Back to skill

Security audit

Discord Bot

Security checks for vulnerabilities and agentic risk

Overview

The Discord controls are clearly scoped, but setup directs the agent to execute remote installation code without separate approval or integrity verification.

Review the installation step before enabling this skill. Prefer a separately approved, pinned and verified CLI installation, and review its automatic agent-skill synchronization. Give the Discord bot only needed permissions and retain confirmations for posts, moderation, and deletions. The bundled instructions were fully inspected; the downloaded installer and hosted connector were not verified.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
Findings (5)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The visible behavior is remote installer execution rather than Discord Bot data management. Dependency installation can be a supporting implementation detail, but this chunk provides no evidence that the Oomol installer supports the declared Discord functionality. The downloaded script's contents and any subsequent behavior are not available for assessment.

Content

No source excerpt is available for this finding.

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · SKILL.md (reported line 41)May include surrounding context.

md
## Available actions

- `add_group_dm_user` — Add a recipient to a group DM channel. [write]
- `add_guild_member` — Add a user to a guild with a user access token. [write]
- `add_guild_member_role` — Add a role to a guild member. [write]
- `add_my_message_reaction` — Add a reaction as the current bot user. [write]
- `add_thread_member` — Add a member to a thread. [write]

External Script Fetching

High
Category
Supply Chain
Confidence
98% confidence
Finding

Piping an HTTPS response directly into Bash executes mutable remote code without a pinned version or independent integrity verification; the PowerShell alternative has the same weakness. Compromise of the installer distribution path could execute attacker-controlled code with the agent process's privileges, exposing local data and credentials, although the legitimate dependency context and conditional fallback reduce exposure.

Content

Scanner excerpt · SKILL.md (reported line 200)May include surrounding context.

The setup workflow executes downloaded installation scripts without warning the user about remote code execution or system changes.

Medium
Category
Output Handling
Confidence
93% confidence
Finding

The missing-CLI fallback directs the agent to execute a downloaded installer without explicitly explaining its local execution privileges or obtaining approval for system changes. The confirmation requirements cover Discord actions, not local installation, leaving a separate authorization gap even though setup is conditional.

Content

No source excerpt is available for this finding.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
80% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

Scanner excerpt · SKILL.md (reported line 221)May include surrounding context.

md
- **`OOMOL_INSUFFICIENT_CREDIT`** — OOMOL billing stop. Recharge at `https://console.oomol.com/billing/token-recharge` before retrying.

- **HTTP 402 without `OOMOL_INSUFFICIENT_CREDIT`** — the third-party account itself has no active plan or credit. Report the provider error message as is; do not ask the user to recharge OOMOL.

## Resources