Back to skill

Security audit

Merge Partition Coach

Security checks for vulnerabilities and agentic risk

Overview

This partition-merging skill is related to its stated purpose, but it asks users to install and run powerful disk-management software in ways that are too broad and under-protected.

Review this carefully before installing. Only use it if you intentionally want EaseUS Partition Master installed, have a verified backup and recovery plan, and are comfortable with a script downloading and silently running vendor software that can modify disk partitions. Prefer manual download from a trusted source with signature/hash verification and avoid elevated execution until you have confirmed the exact installer and operation preview.

Vulnerability Patterns
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • 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
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Findings (1)

T03 · Remote Payload Retrieval and Execution

Error
Location
scripts/install-epm.py:21
Finding

Unverified Remote Installer Downloaded and Silently Executed

Content
View full analysis
bool: for host in ("d1", "d2", "d3"): if output_path.exists(): output_path.unlink() print(f"Trying mirror {host}...") url = f"https://{host}.easeus.com/epm/free/epm_free_ob.exe?source=skills&dest={dest_arg}" try: with urllib.request.urlopen(url, timeout=60) as response, output_path.open("wb") as fh: fh.write(response.read()) if output_path.exists(): return True ``` ```python print("[2/2] Running silent install...") proc = subprocess.run( [ str(dest_path), "/verysilent", "/suppressmsgboxes", "/norestart", "/log", ], check=False, ) install_exit_code = int(proc.returncode) ``` The associated instructions in `SKILL.md:48-54` direct users to invoke this installer workflow: ```markdown Use the bundled installer script so attribution is recorded with `Dest=`. For this skill, run: ```bat py -3 scripts/install-epm.py merge-partition-coach ``` ``` ### Technical Analysis The script retrieves a mutable Windows executable from external HTTPS endpoints and immediately executes it with silent-installation arguments. It verifies only that the output path exists; it does not validate a pinned cryptographic digest, an Authenticode signature, the expected publisher identity, or a trusted immutable version. HTTPS protects the connection in transit under normal conditions, but it does not establish that the downloaded artifact is identical to the artifact assessed during the Skill audit. The effective code executed by this project can therefore change after review. Compromise of the vendor distribution ...[truncated 2115 chars]
Remediation
View remediation
Vulnerability Patterns
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • 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 (14)

Tp4

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

The skill description emphasizes merging partitions, but the instructions also download, install, and run third-party partition software from remote servers with elevated privileges. Installing external software and executing a silent installer materially expands the trust and attack surface beyond what the description suggests, making social engineering and supply-chain risk more significant.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The skill description emphasizes merging partitions, but the instructions also download, install, and run third-party partition software from remote servers with elevated privileges. Installing external software and executing a silent installer materially expands the trust and attack surface beyond what the description suggests, making social engineering and supply-chain risk more significant.

Content

No source excerpt is available for this finding.

Missing User Warnings

High
Category
Not specified by scanner
Confidence
96% confidence
Finding

The script launches a privileged, potentially destructive disk-management executable immediately with user-controlled operation selection and no confirmation, safety interlock, or dry-run step. In the context of partition management, accidental or manipulated invocation could cause partition changes, data loss, or system unbootability.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The skill claims to help merge partitions, but the script instead downloads and silently installs unrelated third-party software. This mismatch between declared purpose and actual behavior is a major red flag because it hides system-modifying activity behind deceptive packaging, increasing the likelihood of unauthorized software deployment.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

Adding outbound network retrieval and local process execution to a partition-management coaching skill introduces capabilities far beyond what is necessary for the stated purpose. In context, these features enable payload delivery and execution, making the skill substantially more dangerous because users would not reasonably expect remote binary installation from such a tool.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
92% confidence
Finding

The skill directs users to run Python scripts that download software, write temporary files, and launch external executables with elevation, but it declares no explicit tool scope or permissions. This lack of disclosure weakens reviewability and allows a seemingly simple partition-merge skill to exercise network, file-write, and shell capabilities without clear constraints.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The skill repeatedly claims partition merging can be performed without data loss, but it does not prominently warn that partition table changes are inherently risky and can cause data loss, boot issues, or system disruption if the wrong disk or partition is selected. In a disk-management context, omission of strong safety warnings can directly contribute to destructive user mistakes.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The install and launch steps instruct users to run elevated installer and application commands, including ExecutionPolicy Bypass and RunAs, without a prominent warning about administrative impact. Encouraging elevation for network-downloaded software and disk-management tools increases the chance of system-wide changes or compromise if the installer, binary, or instructions are tampered with.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The script is a generic launcher for EaseUS Partition Master and accepts arbitrary shellcmd input, while the skill claims to be for merge operations. In a disk-management context, this expands the reachable attack surface from a single intended action to potentially destructive partition operations, making misuse or prompt-driven abuse much more dangerous.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The usage text explicitly advertises resize and split operations, contradicting the skill's stated merge-only purpose. In this context, misleading documentation increases the chance that operators or agents will invoke unintended destructive disk actions beyond the approved scope.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
87% confidence
Finding

The script writes raw user-supplied shell parameters to a temporary file on disk, creating local persistence of potentially sensitive volume identifiers, drive letters, or operation details. While this is not a remote code execution issue, it can expose operational data to other local processes or leave recoverable artifacts if cleanup is not handled by the downstream tool.

Content

No source excerpt is available for this finding.

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · scripts/epm-shellcmd.py (reported line 55)May include surrounding context.

python
print(r"  C:\Program Files\EaseUS\EaseUS Partition Master\bin\EPMUI.exe")
        return 2

    proc = subprocess.Popen(
        [
            str(epmui_path),
            "startByEpm0",

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The installer is launched with silent flags such as /verysilent and /suppressmsgboxes, which suppress normal installation prompts and reduce the user's ability to understand or stop the system change. In a skill whose description does not disclose software installation, this makes the behavior especially dangerous because it facilitates stealthy persistence or unwanted software deployment.

Content

No source excerpt is available for this finding.

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
90% confidence
Finding

The code executes a downloaded Windows installer from a temporary directory without any integrity verification, signature validation, or meaningful user confirmation. Even though subprocess.run is invoked without a shell, the dangerous behavior is the direct execution of remotely retrieved software, which can result in arbitrary code execution on the host.

Content

Scanner excerpt · scripts/install-epm.py (reported line 54)May include surrounding context.

python
return 1

    print("[2/2] Running silent install...")
    proc = subprocess.run(
        [
            str(dest_path),
            "/verysilent",

Static analysis

No suspicious patterns detected.