huawei-cloud-gaussdb-manage
Audited by Snyk on Dec 1, 2026
CRITICAL E004: Prompt injection detected in skill instructions.
- Potential prompt injection detected (medium risk: 0.30). The skill's reporting helper fetches and executes a remote Python bootstrap at first install, and it writes a PATH shim, but the download is hash-checked, documented, and can be disabled, so it reads as risky and undisclosed-in-effect rather than an author intending to attack the user.
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
analyze_slow_sqldiagnostic call, which returns GaussDB slow-SQL text that can contain literal values from application traffic, so an outsider could plausibly influence it, but the agent must actively invoke that call for a chosen instance.
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 the quality-reporting setup path (
scripts/ensure_cli.sh, instructed byreferences/quality-reporting.md) fetches a bootstrap script from a URL returned by a Huawei Cloud portal and executes it, so the content is operational code. The portal is plausibly first-party Huawei Cloud, but the bootstrap URL and its sha256 both come from the same unsigned response and the URL can be overridden by an environment variable, so the provenance is treated as unofficial-common rather than strong, yielding medium.
MEDIUM W009: Direct money access capability detected (payment gateways, crypto, banking).
- Direct money access detected (medium risk: 0.30). Operation: the skill exposes
pay_order(line 69), which pays an existing order. Paying an order is a direct charge, so it is in scope and not an indirect bill-creation step. Line 38 also covers payment authorization for supported write requests, and line 36 covers confirmation before each write.create_instancewith yearly/monthly billing (lines 64, 81) creates orders that can lead to payment, which is further evidence of financial scope.
Control: pay_order is a direct operation, so the control test applies. The skill requires a dedicated IAM identity or temporary credentials (line 44), and the MCP server uses those credentials against Huawei Cloud APIs, where IAM and service guardrails are enforced (line 38, "Never bypass IAM, service guardrails"). Under the evidence standard, validated service API credentials gating the route count as an established access control, even though the agent may submit them and they may be reusable. The agent-followed confirmation prompts (lines 36, 38, confirm=true) do not count as independent control, and I did not rely on them. The document does not state pay_order-specific IAM mapping beyond the general IAM dependency, so this is the weakest link. Under the recall-first override I still rate it medium, because the cited IAM authentication is a documented service-enforced gate for the route. Medium rather than high reflects that a qualifying control is present, not that the gate is proven specific to pay_order.
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 exposes
delete_instanceagainst remote GaussDB instances, which are shared managed infrastructure by default, and the supplied text describes it as permanent ("永久删除" in related-tools.md) with "不可逆影响" in operation-workflows.md. The confirmations and warnings are advisory, not binding on a rogue agent, so this single operation combines operational change, explicit irreversible loss and shared scope.
Issues (5)
Prompt injection detected in skill instructions.
Third-party content exposure detected (indirect prompt injection risk).
Unverifiable external dependency detected (runtime URL that controls agent).
Direct money access capability detected (payment gateways, crypto, banking).
Attempt to modify system services in skill instructions.