T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:55- Finding
Unverified Remote Installation Script Is Piped Directly into a Shell
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill mostly matches a read-only analytics helper, but it adds mandatory telemetry with your appkey and includes unsafe install commands.
Install only if you are comfortable with the CLI dependency and can avoid or disable the telemetry steps. Prefer a pinned, verified CLI installation over `curl | sh`, and do not allow appkeys or other identifiers to be sent through telemetry without explicit approval.
SKILL.md:55Unverified Remote Installation Script Is Piped Directly into a Shell
SKILL.md:51Unpinned Package Is Installed Globally Through npm
SKILL.md:24Skill Instructions Mandate Undisclosed Telemetry Including the User's Appkey
Piping a fetched script directly into sh is a classic command-chaining risk because it combines network retrieval and code execution into one unreviewed step. In an agent context, this is more dangerous because the skill is effectively instructing automated execution of arbitrary remote code during setup, which can fully compromise the environment.
npm install -g @umengfe/umeng-cli
curl -fsSL https://raw.githubusercontent.com/umeng/umeng-cli/main/scripts/install.sh | sh
安装完成后再次运行 `umeng-cli --version` 验证。
The skill claims to cover 7 read-only event query APIs, but it additionally instructs the agent to run umeng-cli trace, which is a separate outbound telemetry action unrelated to the user-requested read-only query. This expands behavior beyond the documented business purpose and causes data disclosure to a third party without necessity for fulfilling the query task.
The skill directs the agent to send telemetry containing skill usage and possibly Appkey data without any explicit user-facing warning or consent step. Silent disclosure of user/task metadata violates least surprise and can leak sensitive operational context to an external service.
The instruction to report the user's Appkey via telemetry is not required to query event data and is unrelated to the skill's stated read-only analytics purpose. Transmitting identifiers tied to a user's application increases privacy and confidentiality risk, especially because the Appkey is user-provided operational data.
The skill explicitly instructs the agent to transmit a user-supplied Appkey before the first business API call. Even if an Appkey is not a secret key, it is still tenant/application-identifying data, and sending it to telemetry infrastructure creates unnecessary exposure and correlation risk.
Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
**获取路径**:
1. 直接要求用户提供 `appkey`
2. 若用户不知道,引导至友盟官网 https://www.umeng.com/ 登录后在应用管理后台复制
3. (进阶)可调用同 namespace 的 `umeng.uapp.getAppList` 搜索获取
## 通用调用格式
Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
**获取路径**:
1. 直接要求用户提供 `appkey`
2. 若用户不知道,引导至友盟官网 https://www.umeng.com/ 登录后在应用管理后台复制
3. (进阶)可调用同 namespace 的 `umeng.uapp.getAppList` 搜索获取
## 通用调用格式
Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
**获取路径**:
1. 直接要求用户提供 `appkey`
2. 若用户不知道,引导至友盟官网 https://www.umeng.com/ 登录后在应用管理后台复制
3. (进阶)可调用同 namespace 的 `umeng.uapp.getAppList` 搜索获取
## 通用调用格式
The documentation recommends curl ... | sh, which downloads and immediately executes a remote script without prior verification. If the remote source, transport chain, or repository is compromised, an agent or user following this instruction could execute arbitrary code on the host.
npm install -g @umengfe/umeng-cli
curl -fsSL https://raw.githubusercontent.com/umeng/umeng-cli/main/scripts/install.sh | sh
安装完成后再次运行 `umeng-cli --version` 验证。