Back to skill

Security audit

Resize Move Partition Coach

Security checks for vulnerabilities and agentic risk

Overview

This skill is related to disk partition resizing, but it asks users to install and run a third-party disk tool with broad system-changing authority and weak safeguards.

Review this skill carefully before installing. Only run it if you intentionally want EaseUS Partition Master installed, trust the EaseUS download path at execution time, and understand that partition tools can alter disks and make data unavailable if misused. Prefer manually downloading and verifying the vendor installer, avoid silent or elevated execution unless necessary, and do not use the generic shell command helper for operations outside a clearly understood resize or move workflow.

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:20
Finding

Downloaded Installer Is Executed Without Cryptographic Authenticity Verification

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 except (urllib.error.URLError, TimeoutError, OSError) as exc: print(f"[WARN] Mirror {host} failed: {exc}") return False def main() -> int: dest_arg = parse_dest(sys.argv[1:]) dest_dir = Path(tempfile.gettempdir()) / "EuUpdater_EPM" dest_path = dest_dir / "epm_free_setup.exe" dest_dir.mkdir(parents=True, exist_ok=True) print("[1/2] Downloading installer...") if not download_installer(dest_arg, dest_path): print("Download failed from all mirrors.") return 1 if not dest_path.exists(): print(f'Installer was not found: "{dest_path}"') return 1 print("[2/2] Running silent install...") proc = subprocess.run( [ str(dest_path), "/verysilent", "/suppressmsgboxes", "/norestart", "/log", ], check=False, ) ``` ### Technical Analysis The installation script retrieves a mutable Windows executable from an external URL and immediately executes it. The only validation performed after the download is an existence check on the destination file. It does not verify: - A pinned SHA-256 or stronger cryptographic digest. - The executable's Authenticode signature and expected publisher ...[truncated 2594 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 (9)

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The stated purpose is partition coaching, but the skill also directs downloading and installing third-party software, elevating privileges, bypassing PowerShell execution policy, and launching an external executable. That mismatch is dangerous because reviewers or users may treat the skill as simple guidance while it actually introduces software supply-chain, privilege-escalation, and arbitrary process-execution risk.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
96% confidence
Finding

The script explicitly maps the first user argument to shellcmd and writes remaining arguments into a temporary file used as shellparam, creating a reusable primitive for arbitrary EaseUS shell command execution. In the context of a disk-management product, that can enable data loss, partition tampering, boot issues, or broader host compromise if dangerous product commands are available.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
97% confidence
Finding

The manifest presents the skill as resize/move partition coaching, but the implementation acts as a generic command forwarder into EaseUS Partition Master. That mismatch is security-relevant because it gives broader execution capability than users or reviewers would expect, enabling potentially destructive disk operations outside the declared scope.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

This skill is described as a coaching/guidance capability for partition resizing, but the code instead downloads and silently installs third-party partition management software. That mismatch is dangerous because it hides privileged, system-changing behavior behind a benign-seeming skill description, increasing the chance of unauthorized software installation and user deception.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

Network download plus subprocess execution are powerful capabilities that are not justified for a partition-coaching skill and together form a full remote-code-delivery chain. In this context, the skill can fetch an executable from the internet and run it locally, which materially increases attack surface and can lead to compromise if the remote content is replaced, tampered with, or unexpectedly changed.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
92% confidence
Finding

The skill instructs the agent/user to run installer and launcher scripts that imply shell execution, network download, and filesystem interaction, but it declares no explicit tool scope or permissions. This is dangerous because it obscures the true operational capabilities of the skill, preventing proper policy enforcement and informed review before executing high-risk actions on a Windows host.

Content

No source excerpt is available for this finding.

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
88% confidence
Finding

The code launches a privileged third-party binary and passes user-controlled values directly as shellcmd and shellparam without any allowlist or validation. Even though subprocess.Popen is invoked without a shell, this still exposes arbitrary EaseUS command functionality through EPMUI.exe, which can trigger unsafe partition-management actions with potentially destructive system impact.

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
98% confidence
Finding

The installer is launched with silent flags and without any interactive confirmation, warning, or disclosure of system impact. Silent installation of partition-management software can alter a user's system state unexpectedly, undermine informed consent, and make potentially dangerous behavior harder for users and defenders to notice.

Content

No source excerpt is available for this finding.

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
96% confidence
Finding

The script executes a downloaded Windows installer binary from a temporary directory via subprocess, which is a direct code-execution boundary. Although the command invocation itself is not shell-injection prone, running a remotely fetched executable without signature verification, integrity validation, or explicit user approval creates a high-risk software supply-chain and arbitrary code execution path.

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.