home-assistant-best-practices

Fail

Audited by Snyk on Nov 29, 2026

Risk Level: CRITICAL
Full Analysis

CRITICAL E004: Prompt injection detected in skill instructions.

  • Potential prompt injection detected (medium risk: 0.30). The skill is documented HA best-practice guidance with no covert triggers, hidden code, or pretexts. One section (automation-actions.md) gives a workaround that deliberately lets non-admin users run admin-only actions, which weakens a protection on the user's resources beyond what the task needs, though it is disclosed.

MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).

  • Third-party content exposure detected (low risk: 0.10). The required workflow reads first-party HA docs and API schemas, but when the agent searches for community dashboard cards in the HACS/Marketplace, it must fetch outsider-authored repository details, which is an actively searched source (low).

MEDIUM W013: Attempt to modify system services in skill instructions.

  • Attempt to modify system services in skill instructions detected (high risk: 0.70). The skill can restore or delete backups, remove integrations or registry entries, and upgrade Core or the OS on a Home Assistant instance, which changes the supporting environment. backups.md states these losses are irreversible: restore "discards every change made since that archive", deleting a backup means "the archive is gone", and a direct delete "has no such guard". Registry deletions and integration removals are said to be unrecoverable by writing a definition back. The instance is not described as personal or isolated, so it is presumed shared, which supports high.

Issues (3)

E004
CRITICAL

Prompt injection detected in skill instructions.

W011
MEDIUM

Third-party content exposure detected (indirect prompt injection risk).

W013
MEDIUM

Attempt to modify system services in skill instructions.

Audit Metadata
Risk Level
CRITICAL
Analyzed
Nov 29, 2026, 09:30 PM
Issues
3