Mijia
Security checks across malware telemetry and agentic risk
Overview
This is a coherent Mijia lamp-control skill, but it does require Xiaomi account login and lets the agent change the selected smart device's state.
Install this only if you want the agent to control the selected Mijia device. Verify the device ID, be comfortable with the Xiaomi QR login, and avoid assigning safety-critical devices such as smart plugs controlling appliances unless you add an explicit confirmation workflow.
VirusTotal
63/63 vendors flagged this skill as clean.
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.
If invoked, the agent can turn the configured lamp or compatible device on/off and change its settings.
These command handlers directly change a Mijia device's state. That is the stated purpose of the skill, but it is still real-world device mutation.
lamp.on = True ... lamp.on = False ... lamp.brightness = args.value ... lamp.set('mode', mode_val)Only configure MIJIA_LAMP_DID for the device you want the agent to control, and consider requiring confirmation before controlling smart plugs or any safety-sensitive device.
Installing and using the skill involves granting the agent access to a Xiaomi smart-home account session for device control.
The skill authenticates to a Xiaomi/Mijia account to control devices. This is expected for the integration, and the provided code does not show hardcoded credentials or credential exfiltration.
api = mijiaAPI()
api.login()Review the Xiaomi login prompt, use the least-privileged account available, and ensure the configured device ID points only to the intended device.
Running uv sync may install a newer mijiaapi release than the author tested.
The setup relies on an external package with a lower-bound version range rather than an exact pinned version. This dependency is central to the skill's purpose, but users should be aware of the supply-chain dependency.
dependencies = [
"mijiaapi>=3.0.5",
]Install from a trusted environment and consider pinning or reviewing the mijiaapi package version before use.
