Back to skill

Security audit

Discord Claude Code Delegation

Security checks for vulnerabilities and agentic risk

Overview

This Markdown-only skill coherently documents a private Discord controller-to-worker delegation flow and does not include hidden execution, persistence, or unrelated data access.

Install only if you intend to run a Discord controller-to-worker setup. Configure a private worker lane, restrict accepted messages to one trusted controller bot, one lane, and a fixed task prefix such as [WORKER_TASK], and avoid broad conversational triggers for production use.

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
  • 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 (2)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The quick trigger example uses broad natural-language phrasing that could easily overlap with ordinary conversation directed at the bot. In a Discord controller-to-worker delegation flow, ambiguous activation text increases the chance of unintended task delegation, causing the worker bot to process content that was not meant to enter the private worker lane.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The orchestrated trigger wording is ambiguous because it describes delegation in free-form text without clear constraints on what qualifies as a valid handoff. In this skill's context, the controller bot relays tasks between Discord contexts, so loose trigger matching can enable accidental or attacker-induced forwarding of messages into the worker lane and relay of unintended results back to DMs.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.