huawei-cloud-computing-query

Fail

Audited by Snyk on Dec 1, 2026

Risk Level: CRITICAL
Full Analysis

CRITICAL E004: Prompt injection detected in skill instructions.

  • Potential prompt injection detected (medium risk: 0.30). The visible code is a read-only Huawei Cloud query tool with no sign of malicious intent, but it globally disables TLS certificate verification (affecting AK/SK traffic to IAM and the SDK) and fetches and executes a get-pip.py script over unverified TLS, which is a sketchy weakening of protections around the user's credentials and environment. The file was truncated, so the review is incomplete.

HIGH W007: Insecure credential handling detected in skill instructions.

  • Insecure credential handling detected (low risk: 0.10). The prescribed query path reads AK/SK from environment variables inside the scripts and never routes the values through the model, but the ECS and BMS guides list optional subcommands (show_server_password, show_windows_baremetal_server_pwd) whose output returns a server login password into the conversation.

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

  • Third-party content exposure detected (low risk: 0.10). The required runtime path is the Huawei Cloud SDK read-only query flow, and the main outsider-authored exposure is list_images in references/ims/guide.md, which can return public and shared images whose names and descriptions come from other accounts or vendors, but only after the agent explicitly runs that query.

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

  • Potentially malicious external URL detected (high risk: 0.70). ensure_env.py downloads get-pip.py from two URLs and executes it as a fallback when pip is unavailable. It does this with SSL verification disabled, both globally and via ssl._create_unverified_context(), which counts as bypassed integrity and so is weak provenance despite the Huawei and PyPA hosts.

Issues (4)

E004
CRITICAL

Prompt injection detected in skill instructions.

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
CRITICAL
Analyzed
Dec 1, 2026, 02:07 AM
Issues
4