Back to skill

Security audit

Wled

Security checks for vulnerabilities and agentic risk

Overview

This is a straightforward WLED light-control skill whose network commands and device-state changes are disclosed and match its purpose.

Install only if you intend to let Codex send HTTP commands to your WLED device. Verify the host or alias before running commands, especially when using WLED_HOST or saved config aliases, because commands can immediately change the selected light controller's state.

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
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (3)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
90% confidence
Finding

The skill documents network access to arbitrary WLED hosts and use of environment/configuration data, but it does not declare any explicit tool scope such as allowed hosts or permitted capabilities. This creates an authorization gap: an agent invoking the skill could perform unintended network actions against user-supplied targets on the local network without clear policy boundaries.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
82% confidence
Finding

This markdown file describes controlling a WLED device via an HTTP API and includes examples that turn the device on/off, change brightness, colors, effects, and presets. Under the markdown-specific warning rule, the description omits any notice that the skill sends network commands to a device and modifies its live state, which could affect system behavior in the user's environment.

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 describes a POST endpoint that updates device state, including power, brightness, segment settings, and preset loading, but does not include any user-facing warning that these requests will immediately change the connected device. Because markdown files should warn about behaviors that affect user systems or devices, the omission is a quality and safety issue.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.