Back to skill

Security audit

casita

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill benign with medium confidence: the scanners found no AIG issues, and the credential-related alert appears tied to its stated Home Assistant token requirement, though coverage is incomplete.

The verdict is benign, but not risk-free, and confidence is medium. Before installing, consider whether you are comfortable providing a Home Assistant long-lived token for the stated reading purpose; the scan could not resolve several local references, so its evidence is incomplete.

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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (4)

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

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

md
name: casita
description: "Read a Home Assistant home through the casita CLI: what is on, sensor readings, what needs attention, why something changed. Runs owner-approved scripts. Use when the user asks about their home or Home Assistant: lights, locks, climate, plants, EV, irrigation, energy, rooms, 'is X on', 'how warm is it', 'what changed', 'turn off the porch light'."
license: MIT
compatibility: Requires the casita CLI on PATH (Node 22.16+) and a Home Assistant long-lived access token.
metadata:
  version: "1.0.1"
  openclaw:

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

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

md
- casita
required_environment_variables:
  - name: CASITA_HA_TOKEN
    prompt: Home Assistant long-lived access token
    help: "In Home Assistant: your profile, Security, Long-lived access tokens."
    required_for: reading the house
---

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

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

md
required_environment_variables:
  - name: CASITA_HA_TOKEN
    prompt: Home Assistant long-lived access token
    help: "In Home Assistant: your profile, Security, Long-lived access tokens."
    required_for: reading the house
---

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

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

md
If `doctor` reports a failed check, casita is not configured yet. Configuring it takes three things only the owner can provide. Ask for them; do not guess:

- the Home Assistant URL: `casita init --url <url>` writes `~/.casita/config.yaml`, and never replaces an existing one
- a long-lived access token, set as `CASITA_HA_TOKEN` in the environment casita runs in. Never print it, log it or write it to a file.
- which entities casita may read: the owner exposes them in Home Assistant under Settings, Voice assistants, Expose

Running scripts is off until the owner adds an allow prefix to `config.yaml`. Do not edit the policy yourself.