Back to skill

Security audit

Discord Voice Agent

Security checks for vulnerabilities and agentic risk

Overview

The skill is a coherent Discord voice-agent guide, but users should secure bot tokens and handle recorded voice/transcript data carefully.

Before installing, store Discord/OpenClaw tokens only in a secure environment or secret store, do not paste them into shared chats or commit them, and make sure Discord participants know the bot can capture, transcribe, and locally save voice turns and conversation history.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • 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
Findings (8)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
85% confidence
Finding

The skill instructs the operator to provide a Discord token and to auto-detect OpenClaw settings from the environment, but it does not include any warning or handling guidance for secrets. In an agent setting, this can normalize pasting credentials into chat, logs, or prompts, or encourage broad environment exposure without clarifying least-privilege or redaction expectations.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The documentation explicitly states that voice receive/capture uses per-turn saved audio, but it does not warn operators that user voice data may be recorded and retained on disk. In a Discord voice agent context, this can lead to unnoticed collection of sensitive audio, privacy violations, and noncompliant deployment if admins enable the feature without informed consent or retention controls.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The file lists on-disk locations for conversation history and captured voice turns, but it does not disclose that users' audio and chat-derived data will be persisted locally. This increases the risk that deployers unknowingly retain sensitive content, which can be exposed through host compromise, backups, shared systems, or simple operational oversight.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The README explicitly describes capturing speech, transcribing it, and routing replies through OpenClaw, but it does not warn operators that user voice data and transcripts may be collected, processed, retained, or transmitted to external/local services. In a Discord voice-agent context, this omission can lead to deployments that record or process users’ spoken content without informed consent, creating privacy, compliance, and trust risks.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The demo script presents the bot joining a Discord voice channel, listening, and replying, but it does not disclose that spoken audio will be captured and processed. In a voice-agent context, omission of a clear consent/privacy warning can mislead operators or participants, increasing the risk of non-consensual monitoring, privacy complaints, or policy non-compliance when the demo is reused as setup guidance or marketing material.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The wizard explicitly asks the user to provide DISCORD_TOKEN but gives no guidance that this is a secret, how it should be entered securely, or that it must not be echoed, logged, or committed. In an onboarding flow for an agent skill, this omission can lead to credential exposure through chat transcripts, screenshots, shell history, or config files, enabling takeover of the Discord bot account.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
80% confidence
Finding

This markdown file instructs users to set DISCORD_TOKEN and DISCORD_VOICE_CHANNEL_ID, which relate to authentication and connecting a live voice agent to Discord. The release note does not include any warning about safeguarding the token, granting bot access, or the privacy impact of capturing/transcribing voice in a channel.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
89% confidence
Finding

This markdown file instructs the user to set DISCORD_TOKEN but does not warn that the value is a secret credential or that it should not be logged, committed, or shared. Because markdown files should disclose behaviors affecting privacy or system integrity, the omission is a minor but real safety gap.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.