Back to skill

Security audit

知乎内容搜索分析

Security checks for vulnerabilities and agentic risk

Overview

This skill is a Zhihu search and topic-analysis helper whose network use is disclosed and aligned with its stated purpose.

Install this if you are comfortable with the skill sending your Zhihu search keywords to Zhihu endpoints. Expect Chinese-focused output and note that the documented --analyze example appears unsupported by the included script.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (5)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
95% confidence
Finding

The skill invokes a network-capable script (scripts/fetch_zhida.py) but the manifest does not declare any explicit tool scope such as permissions or allowed-tools. This creates a transparency and policy-control gap: consumers or hosting platforms may not realize the skill performs outbound network access, making review, sandboxing, and least-privilege enforcement harder.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
86% confidence
Finding

The file presents nearly all user-facing operational content in Chinese, including the name, feature descriptions, usage guidance, and cautions, but does not state that the skill is intended only for Chinese-speaking users or offer any language/locale option. Under the stated policy, forcing a specific language without user opt-in is a natural-language policy violation.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The request headers force Accept-Language to zh-CN,zh;q=0.9, which imposes a specific language/locale preference in the skill's behavior. This matches the policy category for language/locale constraints because the file does not provide an opt-in, fallback, or justification for restricting requests to Chinese.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · scripts/fetch_zhida.py (reported line 131)May include surrounding context.

python
def get_hot_list(limit=10):
    """获取知乎热榜"""
    url = "https://api.zhihu.com/topstory/hot-lists/total?limit={}".format(limit)
    try:
        req = Request(url, headers=HEADERS)
        with _urlopen(req, timeout=10) as resp:

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
90% confidence
Finding

The skill description is written as an instruction-facing description entirely in Chinese, with no indication that other languages are supported or that Chinese is required for a justified region-specific purpose. Under the policy rule, forcing a specific language without user opt-in is a natural-language policy concern.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.