harmonyos-device-automation

Fail

Audited by Snyk on May 6, 2026

Risk Level: HIGH
Full Analysis

HIGH W007: Insecure credential handling detected in skill instructions.

  • Insecure credential handling detected (high risk: 0.90). The prompt contains an explicit example that embeds a plaintext password in an act command (and shows API key placeholders in CLI examples), which teaches/permits the agent to output secret values verbatim and thus presents a high exfiltration risk.

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

  • Third-party content exposure detected (high risk: 0.90). The SKILL.md explicitly instructs the agent to accept and fetch external image URLs for targeting (see "Use a Reference Image for Precise Targeting" with an images.url example like https://github.githubassets.com/... and convertHttpImage2Base64) and also shows launching arbitrary http(s) URIs, so the agent ingests untrusted public web content and uses it to decide actions.

MEDIUM W012: Unverifiable external dependency detected (runtime URL that controls agent).

Issues (3)

W007
HIGH

Insecure credential handling detected in skill instructions.

W011
MEDIUM

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

W012
MEDIUM

Unverifiable external dependency detected (runtime URL that controls agent).

Audit Metadata
Risk Level
HIGH
Analyzed
May 6, 2026, 01:05 PM
Issues
3