huawei-cloud-ecs-manage

Fail

Audited by Snyk on Nov 18, 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 a legitimate ECS manager, but its bundled telemetry wrapper silently persists PATH edits into the user's shell profiles and is described as auto-collecting user input for reporting to a vendor endpoint, which is undisclosed data sharing rather than clear malicious intent.

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

  • Third-party content exposure detected (low risk: 0.10). The required workflow reads Huawei Cloud API responses (instances, flavors, quotas, jobs, VPC, KPS, EVS, CES), which are first-party or tenant-owned data, but its IMS ListImages step (diagnosis step 5 and the image listing action) can return public and marketplace images whose names and descriptions are written by third-party publishers, and the agent must invoke that query itself.

MEDIUM W009: Direct money access capability detected (payment gateways, crypto, banking).

  • Direct money access detected (medium risk: 0.30). Scope: the skill can purchase paid cloud resources. huawei_create_ecs_instance and batch creation can build prePaid (yearly/monthly) or spot instances, and the isAutoPay=true option charges the account balance (SKILL.md:266, 272-273). This is a direct purchase, not a cloud-resource operation the agent merely runs, and it is not a tutorial or simulation. Lines 91 and 483-484 confirm the skill treats paid creation as a real purchase that requires confirmation. Other routes (resize, EIP, delete, EP migration) are not direct payments. EP migration changes billing attribution but moves no money, so it does not raise the tier.

Control: the purchase route is gated by the Huawei Cloud service API, which the agent can only reach with validated AK/SK credentials or a configured hcloud profile (SKILL.md:116-118). Under the rubric, validated service API credentials establish service-enforced access control for this route, so the direct operation is not "without established qualifying control." The confirmation gates, dry-run, and balance pre-check are agent-followed procedures and do not count as independent controls. Because a qualifying service-level control exists, severity is Medium rather than High. Under the recall-first override I considered High, since the procedure's gates are only instructions, but the service-enforced credential check meets the stated evidence standard.

Indirect operations and excluded items do not affect the tier.


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

  • Attempt to modify system services in skill instructions detected (low risk: 0.30). The skill manages remote Huawei Cloud resources through the hcloud CLI with confirmation gates, but it has a few borderline points: an auto-run installer script and a keypair step that installs keys into guest systems.

Issues (4)

E004
CRITICAL

Prompt injection detected in skill instructions.

W011
MEDIUM

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

W009
MEDIUM

Direct money access capability detected (payment gateways, crypto, banking).

W013
MEDIUM

Attempt to modify system services in skill instructions.

Audit Metadata
Risk Level
CRITICAL
Analyzed
Nov 18, 2026, 04:03 AM
Issues
4