Back to skill

Security audit

huawei-cloud-mrs-new-cluster-planner

Security checks for vulnerabilities and agentic risk

Overview

This skill creates local cluster-planning reports without cloud-control access, but its spreadsheet checkmarks do not validate capacity.

Use the output as a planning estimate. Independently check capacity, redundancy, regional availability, and pricing before purchasing or deploying; spreadsheet success checkmarks are automatic. Cloud credentials are unnecessary.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • System Prompt LeakageDirect Leakage, Indirect Extraction, Tool-Based Exfiltration
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (5)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The absence of sizing algorithms in the report generator is not itself a mismatch: the workflow assigns estimation and selection to the agent before supplying report data. However, the reported unconditional resource-satisfaction checkmarks constitute an output-integrity weakness: an erroneous or manipulated input plan could receive apparent validation despite insufficient capacity, potentially causing outages or misleading purchasing decisions. This conclusion relies on the static analyzer's description because the generator source was not provided.

Content

No source excerpt is available for this finding.

Direct Prompt Extraction

High
Category
System Prompt Leakage
Confidence
85% confidence
Finding

Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.

Content

Scanner excerpt · SKILL.md (reported line 103)May include surrounding context.

md
> Full sheet column definitions: [references/excel-report-template.md](references/excel-report-template.md)
> Python script implementation: [scripts/generate_mrs_report.py](scripts/generate_mrs_report.py)

## Output Rules

- **Single plan output**: Output only 1 final plan (minimum redundancy); no dual-plan comparison
- **Minimum-redundancy selection**: Using estimated resources as target, calculate Total_excess = CPU_excess% + Mem_excess% for candidate specs; select the minimum. Ties prefer fewer nodes

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: file_read.

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
75% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

Scanner excerpt · SKILL.md (reported line 167)May include surrounding context.

md
9. **Elastic Task algorithm (total buffer method)**: Total = estimated resources × (1 + buffer%); Core = estimated resources × daily load% (no buffer); Task = Total - Core (includes all buffer). Task on-demand billing: monthly fee = unit_price/730 × 1.2 × monthly running hours
10. **Buffer determination (estimation item A3)**: Greenfield scenario defaults to "No (no +20% buffer)"; only consider adding buffer when user explicitly describes "sustained peak"
11. **ZooKeeper** is auto-included. **DBService** dependencies are auto-configured
12. **Region handling**: Defaults to cn-north-4 (widest flavor availability) without asking user. Only verify ECS flavor availability when user explicitly specifies another region. Region coefficients are experience-based estimates
13. **Excel report (Phase 6)**: Must generate 4-sheet Excel file: Cluster Spec Recommendation / Resource Estimation Details / Selection Decision Rationale / OBS Storage Spec

## References

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
75% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

Scanner excerpt · SKILL.md (reported line 226)May include surrounding context.

md
- **Core node count and HA capability**: N=1 no HA (test scenario only), N=2 has HA but Shuffle marginal (acceptable with OBS), N>=3 standard HA. Greenfield scenario does not enforce minimum 3 Core nodes
- **Estimation confirmation mechanism**: Phase 3 estimation results must be shown to user first (formula + coefficients + results + estimated value annotation); proceed to Phase 4 only after user confirms or corrects; skipping is prohibited
- **Mixed load summation**: Multiple load types are estimated per item then summed; peak off-peak can apply ×0.8 discount. Complexity coefficients: Simple ETL=20, Standard warehouse=40, Complex compute/ML=80 vCPU·h/TB
- **Region flavor availability**: Defaults to cn-north-4 (widest flavor availability) without asking. aC9 and other series are not available in all regions; only verify flavor availability when user explicitly specifies a non-default region