Back to skill

Security audit

MetaTraderAPI

Security checks for vulnerabilities and agentic risk

Overview

The skill mostly matches its MetaTraderAPI connector purpose, but its fallback setup tells an agent to run an unverified remote installer on the host.

Review the oo CLI installation path before installing. Prefer a verified or package-managed installation, and require explicit confirmation before starting, stopping, or closing MetaTraderAPI sessions because the skill can access sensitive trading-account data and affect active sessions.

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
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (2)

External Script Fetching

High
Category
Supply Chain
Confidence
97% confidence
Finding

The skill instructs the agent to install software by piping a remotely fetched script directly into a shell, which is a classic supply-chain and remote-code-execution risk. If the install endpoint, transport, DNS, or upstream distribution is compromised, arbitrary code could execute immediately on the host running the skill.

Content

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

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill is configured to activate for essentially any MetaTraderAPI-related request, which is overly broad for a capability that includes both read-only and destructive actions such as stopping sessions. Broad triggers increase the chance of accidental invocation in sensitive trading contexts, causing the agent to route tasks into a powerful integration without sufficient narrowing or confirmation.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.