Pilot Discord Bridge

Security checks across static analysis, malware telemetry, and agentic risk

Overview

This instruction-only Discord/Pilot bridge is coherent, but users should protect the Discord webhook, verify the external relay script, and treat inbound Discord messages as untrusted.

Before using this skill, confirm that you trust the local pilotctl installation and any external discord_relay.py script, keep the Discord webhook secret and channel-scoped, and add checks so Discord users cannot trigger unintended Pilot actions.

Static analysis

No static analysis findings were reported for this release.

VirusTotal

VirusTotal findings are pending for this skill version.

View on VirusTotal

Risk analysis

Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.

#
ASI02: Tool Misuse and Exploitation
Low
What this means

The agent may send Discord messages or interact with the local Pilot daemon when this skill is used.

Why it was flagged

The skill exposes Bash-based pilotctl commands that can publish messages and manage bridge operations. This is central to the stated bridge purpose, but users should recognize that the agent can invoke these commands.

Skill content
allowed-tools:
  - Bash
...
pilotctl --json publish localhost discord-notifications --data "Agent deployed successfully"
Recommendation

Use this only with the intended Pilot daemon and Discord webhook, and review any message-sending workflow before relying on autonomous use.

#
ASI03: Identity and Privilege Abuse
Low
What this means

If the webhook URL is exposed or misused, messages could be posted to the configured Discord channel.

Why it was flagged

A Discord webhook URL includes a token that grants posting ability to a Discord channel. This is expected for Discord notifications, but it is still a credential.

Skill content
pilotctl --json set-webhook https://discord.com/api/webhooks/YOUR_WEBHOOK_ID/YOUR_WEBHOOK_TOKEN
Recommendation

Store the webhook as a secret or environment variable, restrict it to the needed channel, and rotate it if it is shared or logged accidentally.

#
ASI04: Agentic Supply Chain Vulnerabilities
Low
What this means

Running an unverified relay script could introduce behavior beyond what this skill document describes.

Why it was flagged

The workflow references an external Python relay script that is not included in the reviewed artifact set. This is disclosed as external, but its contents and provenance are not reviewed here.

Skill content
# Start Discord bot relay (external)
python3 discord_relay.py &
Recommendation

Inspect and obtain discord_relay.py from a trusted source before running it, and confirm it only accesses the intended Discord bot and Pilot streams.

#
ASI07: Insecure Inter-Agent Communication
Low
What this means

Discord messages could influence downstream Pilot agents or workflows if those agents treat them as trusted instructions.

Why it was flagged

The skill intentionally bridges Discord-originated content into Pilot event streams. That is purpose-aligned, but the artifact does not describe sender validation, channel restrictions, or trust boundaries for inbound messages.

Skill content
You want to receive Discord messages in Pilot event streams
...
pilotctl --json subscribe discord-relay discord-messages
Recommendation

Treat inbound Discord content as untrusted input, restrict bot/channel access, and add explicit approval or allowlists before actions are triggered from Discord messages.

#
ASI10: Rogue Agents
Low
What this means

The bridge may keep running and continue handling Discord/Pilot traffic after the initial setup command.

Why it was flagged

The example starts a daemon, launches a background listener, and runs an infinite loop. This is consistent with a bridge service, but it creates ongoing activity until the user stops it.

Skill content
pilotctl --json daemon start --hostname discord-bridge
pilotctl --json listen 1003 &
...
while true; do
Recommendation

Run it only when needed, monitor the background process, and document how to stop the daemon/listener cleanly.