Back to skill

Security audit

Itsyhome Control

Security checks for vulnerabilities and agentic risk

Overview

This skill is a legitimate smart-home integration, but it can perform sensitive physical actions like unlocking doors or opening garages without documented confirmation or safe input handling.

Review this skill carefully before installing. It appears intended to control Itsyhome locally, but users should only enable it where the OpenClaw gateway is trusted, the Itsyhome webhook is locally restricted, and the agent is required to ask before unlocking doors, opening garages, or running scenes with physical/security impact. Device and room names should be safely URL-encoded, not interpolated into shell commands.

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:13
Finding

Shell Command Injection Through Unvalidated Smart-Home Targets

Content
View full analysis
/`. - Targets use `Room/Device` format or just `DeviceName` - Spaces → `%20` in URLs ``` `references/api.md:3-5`: ```markdown Base URL: `http://localhost:8423` (default port, configurable in Settings) All endpoints respond with JSON. Targets are case-insensitive. Use `%20` for spaces. ``` `references/api.md:127-131`: ```markdown ## Target Format - `Room/Device` → most specific, preferred - `DeviceName` → matches across all rooms (may be ambiguous) - `RoomName` → matches all devices in room (for info/list only) - URL encode spaces: `Living Room` → `Living%20Room` ``` ### Technical Analysis The Skill directs the agent to interpolate an action and target into a shell command containing a URL. The only documented encoding requirement is replacement of spaces with `%20`. It does not require full URL path-segment encoding, validation of target characters, action allowlisting, or shell-safe argument handling. Room, device, group, and scene names may derive from user requests or local smart-home metadata. If an agent builds the documented command as a shell string, metacharacters such as semicolons, command substitutions, redirection operators, or shell control operators can be interpreted by the shell rather than treated as part of the target. Quoting a dynamically assembled URL is not a complete defense when the implementation constructs a command string and evaluates it through a shell. Command substitution and incorrect escaping can remain exploitable depending on how interpolation occurs. The safe approach is to avoid shell parsing entirely. ### Attack Path 1. ...[truncated 1568 chars]
Remediation
View remediation
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
95% confidence
Finding

The trigger description is extremely broad and is designed to activate on nearly any smart-home-related intent, including high-risk actions like unlocking doors or opening garage doors. Because this skill directly controls local home automation via unauthenticated localhost HTTP endpoints, unintended invocation could cause real-world actions without sufficiently precise user intent matching or confirmation.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The documentation exposes direct unauthenticated control paths for security-sensitive physical actions such as unlocking doors, opening garages, and triggering scenes, but provides no safety guidance, confirmation requirements, or warnings about real-world consequences. In the context of an agent skill designed to act on user requests, this increases the risk of accidental or unauthorized actuation of physical devices and property access if the skill or surrounding agent invokes these endpoints too readily.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.