huawei-cloud-flexus-l-deploy-jiuwenswarm
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 Huawei Cloud deployment tool, but it tells the agent to suppress error details and full command output, auto-answers installer prompts, alters the system Python symlink, and ships wide-open CORS and allow-list defaults. These are risky toward the user without showing malicious intent.
MEDIUM W012: Unverifiable external dependency detected (runtime URL that controls agent).
- Potentially malicious external URL detected (medium risk: 0.30). The decisive boundary is that setup instructions install the
jiuwenswarmpackage from an Aliyun PyPI mirror and add the community deadsnakes PPA, so the operational content comes from non-first-party sources with no enforced signature or digest, giving a medium tier.
MEDIUM W009: Direct money access capability detected (payment gateways, crypto, banking).
- Direct money access detected (medium risk: 0.30). Ambiguous scope, resolved toward recall. The skill's core action is provisioning a Flexus L cloud instance through the HCSS CreateFlexusL API, which is billed to the customer's account on a prePaid (包年包月) basis (lines 127, 291, 433). The rule excludes "cloud resources" as service costs, but this skill buys and charges for those resources on the user's behalf, so it is at least plausibly an in-scope direct charge. The recall-first override applies. The operation is at most a direct charge, not an indirect bill. The control test is met: the create/query calls are authenticated with the customer's AK/SK or hcloud credentials validated by the Huawei Cloud service API (lines 42-45), which is service-enforced access control rather than an agent-followed check. The customer-confirmation step (line 126) is agent-followed and does not count as qualifying control. Because control is present, the tier is medium rather than high. If cloud-resource provisioning is treated as a pure service cost, the answer would be no.
MEDIUM W013: Attempt to modify system services in skill instructions.
- Attempt to modify system services in skill instructions detected (medium risk: 0.55). The skill directs the agent to create cloud instances and remotely configure a systemd service, change root-owned
.envand config files, and open public security-group ports, and it suggestspip --break-system-packageson the local host. These actions target a remote host rather than the agent's own machine, so the risk is moderate, but under the recall-first policy the systemd, system-package, and network-exposure changes are flagged.
Issues (4)
E004
CRITICALPrompt injection detected in skill instructions.
W012
MEDIUMUnverifiable external dependency detected (runtime URL that controls agent).
W009
MEDIUMDirect money access capability detected (payment gateways, crypto, banking).
W013
MEDIUMAttempt to modify system services in skill instructions.
Audit Metadata