Back to skill

Security audit

Pilot Discord Bridge

Security checks for vulnerabilities and agentic risk

Overview

The skill matches its stated Discord bridge purpose, but its examples create a long-running external relay without enough safeguards for webhook secrets, channel scoping, or inbound commands.

Review this skill before installing if the bridge will touch private agent output, operational telemetry, or trusted Discord channels. Use a restricted webhook/channel, avoid sending secrets, validate inbound Discord commands, and rotate any webhook token that may have appeared in shell history or logs.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (1)

T09 · Insecure Skill Coding Practices

Warning
Location
SKILL.md:38
Finding

Discord Webhook Token Exposed Through Command-Line Arguments

Content
View full analysis
Remediation
View remediation
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 (2)

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

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

md
3. You're building agents that interact with Discord communities

  Do NOT use this skill when:
  - You only need simple webhooks (use curl instead)
  - Discord is not configured or accessible
  - The daemon is not running
tags:

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The documented workflow sets up a long-lived bridge that forwards data between Pilot and Discord, a third-party service, but does not warn about data egress, retention, or the risk of relaying sensitive agent output and user messages externally. In this context, operators may unintentionally expose internal events, commands, or status data to Discord channels or bots, especially because the example continuously listens and responds to inbound messages.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.