Back to skill

Security audit

实时新闻热点

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill suspicious because its news-summary purpose is paired with unverified remote installer commands and a reported action that clears the CLI API key; some script analysis was incomplete.

Treat this as a review warning and weigh whether the news feature is worth the installation risk. Before installing, seek assurance that installer and update scripts are authenticated before execution, that software changes require your approval, and that the API-key-clearing behavior is removed or explicitly justified. The scan was partial: 14 of 16 components were fully inspected, and two shell scripts had limited analysis, so the remaining behavior is not fully assessed.

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
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
Findings (21)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

代码没有调用声明中的 hotspot 命令,而是执行凭据清除操作。虽然使用了同一 CLI,但清除 API 密钥会改变认证配置,并非所声明新闻汇总功能的普通支持性实现细节,因此构成用途与行为不匹配。

Content

No source excerpt is available for this finding.

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
1. 执行 `sh scripts/run-cli.sh help`,在命令列表中查找 `hotspot`。

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
2. 没有 `hotspot` 时执行 `sh scripts/run-cli.sh update --force`(普通 `update` 只比较版本号,同版本不会替换旧构建),再执行 `help` 复查一次;仍没有则返回「能力缺失结果」。

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
3. 有 `hotspot` 时用 `sh scripts/run-cli.sh hotspot --help` 和 `sh scripts/run-cli.sh hotspot premium --help` 读取实际参数;参数与本文不一致时以实际 help 为准,并在回复中说明差异。

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
sh scripts/run-cli.sh hotspot channels # 频道与 pool_tag_id

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
sh scripts/run-cli.sh hotspot premium --channel 科技 --limit 20 --format json

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
sh scripts/run-cli.sh hotspot premium 体育 --today --limit 10

External Script Fetching

High
Category
Supply Chain
Confidence
98% confidence
Finding

Both installation commands feed mutable network content directly into an interpreter without authenticating the installer before execution. HTTPS and a plausible vendor CDN reduce some risks but do not protect against compromised hosting or publishing credentials; substituted code would run with the agent account's access.

Content

Scanner excerpt · references/cli-environment.md (reported line 24)May include surrounding context.

md
保持同一运行账号、PATH、HOME、安装目录、shell 和凭证上下文;新建目录、解压或切换源码不代表环境失效。已有本会话的有效状态可复用,发生鉴权错误或环境变化后重新检查。

1. **检查状态**:执行上表对应平台的状态命令。包装脚本缺失、执行失败或 JSON 无法解析时先核实完整包和脚本解释器,不能直接判为 CLI 未安装。
2. **缺少 CLI**:仅状态脚本确认 `cliExists: false` 时安装。`command not found` 可能只是 PATH 未命中;脚本还会检查固定安装目录。macOS / Linux:`curl -fsSL https://mat1.gtimg.com/qqcdn/qqnews/cli/hub/tencent-news/setup.sh | sh`;Windows:`irm https://mat1.gtimg.com/qqcdn/qqnews/cli/hub/tencent-news/setup.ps1 | iex`。安装后在当前对话复查,无需让用户重开终端、重新提问;失败时提供 [安装指南](installation-guide.md),不循环重装。
3. **需要更新**:`update.needUpdate: true`、CLI 明确提示版本过旧或当前帮助不支持所需能力时,按 [更新指南](update-guide.md) 更新并重新读帮助。测试环境先核实 `run-cli version` 的下载渠道;若指向 `/hub/`,不要执行会切回正式构建的更新,使用已核实的测试构建及同渠道校验文件。不能仅凭安装脚本位于 `/test/` 或版本号相同就认定构建正确;来源不明时说明缺口,不猜下载地址。
4. **Key 缺失先核实**:`apiKey.status: missing` 不等于用户从未配置。macOS / Linux 可执行以下命令,只列出配置文件名,不读取或记录 Key 值:

External Script Fetching

High
Category
Supply Chain
Confidence
97% confidence
Finding

The documented installation commands immediately execute scripts fetched from a mutable CDN location. The recorded checksum for a particular test binary does not authenticate these bootstrap scripts, so installer substitution could execute arbitrary code with the invoking account's privileges.

Content

Scanner excerpt · references/cli-integration.md (reported line 20)May include surrounding context.

md
## 2. 安装与版本

- 分发给用户的安装命令(formal / hub 渠道):
  - macOS / Linux:`curl -fsSL https://mat1.gtimg.com/qqcdn/qqnews/cli/hub/tencent-news/setup.sh | sh`
  - Windows PowerShell:`irm https://mat1.gtimg.com/qqcdn/qqnews/cli/hub/tencent-news/setup.ps1 | iex`
- 版本核实:`sh scripts/run-cli.sh version` 读取 `current_version`、`build_date`、`need_update`。
- **支持 `hotspot` 的构建**:test 渠道 `v1.0.18`,`build_date: 2026-10-20T17:40:37`,linux-amd64 二进制 SHA-256 `e635820dcb63bb05b6867de13b2d6f740aa50573d831217c5e2b65dcc20f42c9`(与 `test/checksums.txt` 一致,文件 `Last-Modified: Tue, 20 Oct 2026 09:42:33 GMT`)。

External Script Fetching

High
Category
Supply Chain
Confidence
98% confidence
Finding

The guide directs users to execute a remotely fetched script before verifying its authenticity. Its claim that the script performs verification does not authenticate the script itself, so a compromised installer could access credentials and modify startup files under the user's account.

Content

Scanner excerpt · references/installation-guide.md (reported line 8)May include surrounding context.

打开终端,执行以下命令:

sh
curl -fsSL https://mat1.gtimg.com/qqcdn/qqnews/cli/hub/tencent-news/setup.sh | sh

脚本会自动完成:识别系统和架构 → 下载 CLI → 验证 → 配置环境变量 → 检测 API Key 状态。

Chaining Abuse

High
Category
Tool Misuse
Confidence
96% confidence
Finding

The pipe connects an external download directly to a shell, allowing fetched content to become executable code without a verification checkpoint. This is the same underlying unsafe bootstrap issue as the external-script finding, not evidence of a separate malicious command chain.

Content

Scanner excerpt · references/installation-guide.md (reported line 8)May include surrounding context.

打开终端,执行以下命令:

sh
curl -fsSL https://mat1.gtimg.com/qqcdn/qqnews/cli/hub/tencent-news/setup.sh | sh

脚本会自动完成:识别系统和架构 → 下载 CLI → 验证 → 配置环境变量 → 检测 API Key 状态。

External Script Fetching

High
Category
Supply Chain
Confidence
98% confidence
Finding

The fallback fetches an unpinned script and immediately executes it, with an equivalent download-and-execute pattern on Windows. A compromised distribution endpoint could supply arbitrary code that inherits the user's filesystem and credential access.

Content

Scanner excerpt · references/update-guide.md (reported line 20)May include surrounding context.

macOS / Linux:

sh
curl -fsSL https://mat1.gtimg.com/qqcdn/qqnews/cli/hub/tencent-news/setup.sh | sh

Windows:

Chaining Abuse

High
Category
Tool Misuse
Confidence
96% confidence
Finding

The download-to-shell pipeline removes the opportunity to authenticate the installer before any of it executes. This overlaps the external-script vulnerability and is a supply-chain exposure rather than proof of intentionally abusive chaining.

Content

Scanner excerpt · references/update-guide.md (reported line 20)May include surrounding context.

macOS / Linux:

sh
curl -fsSL https://mat1.gtimg.com/qqcdn/qqnews/cli/hub/tencent-news/setup.sh | sh

Windows:

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

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.

The workflow forces a CLI update without warning the user that a news-summary request may replace installed software.

Medium
Category
Output Handling
Confidence
94% confidence
Finding

The workflow directs a forced software update when a capability is missing, without first obtaining approval to replace the installed CLI. A news-summary request can consequently change shared executable state and disrupt other workflows; the supplied source does not establish that the updater itself is malicious.

Content

No source excerpt is available for this finding.

The recovery workflow instructs automatic execution of downloaded installation scripts without warning the user about the system-integrity implications.

Medium
Category
Output Handling
Confidence
97% confidence
Finding

A missing dependency automatically leads to executing a remotely downloaded installer, although the user's requested action is only news retrieval. This crosses from querying content into running code and changing the environment without informed approval, exposing the account to a compromised installer.

Content

No source excerpt is available for this finding.

Failure recovery instructs a forced CLI update without warning that it replaces local executable files.

Medium
Category
Output Handling
Confidence
94% confidence
Finding

Failure recovery instructs a forced update without an approval step, allowing a read-oriented news workflow to replace installed software. The statement that operations do not modify user configuration also understates the broader workflow's installation and update effects.

Content

No source excerpt is available for this finding.

Instructions to bypass platform security protections omit a trust-verification warning.

Medium
Category
Output Handling
Confidence
98% confidence
Finding

The troubleshooting instructions recommend overriding macOS and Windows execution warnings without first verifying the publisher or artifact. This encourages users to bypass protections precisely when an untrusted or substituted download may be present.

Content

No source excerpt is available for this finding.

The fallback installation instructions execute downloaded scripts without warning about running remote code.

Medium
Category
Output Handling
Confidence
96% confidence
Finding

Although this is a manual update guide, its fallback silently changes the trust model from invoking an installed updater to executing newly downloaded code. No pre-execution authentication or warning is provided, leaving users exposed if the installer distribution is compromised.

Content

No source excerpt is available for this finding.

The output rules mandate Beijing time without user opt-in or a stated justification for this locale constraint.

Low
Category
Output Handling
Confidence
90% confidence
Finding

Line 51 requires every publication timestamp to be converted to Beijing time. This imposes a fixed timezone regardless of the user's locale, without offering a choice or explaining why that timezone is required.

Content

No source excerpt is available for this finding.

The status script silently changes the CLI executable's permissions without disclosing this modification.

Low
Category
Output Handling
Confidence
96% confidence
Finding

The status operation adds executable permissions to the discovered CLI and then runs it, rather than reporting a non-executable installation. This can undo an intentional permission restriction and enables execution of an unverified file at a searched location, although exploitation requires influence over that file or location and does not inherently elevate privileges.

Content

No source excerpt is available for this finding.