Back to skill

Security audit

Bilibili Search

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward Bilibili lookup tool that uses public Bilibili endpoints and does not show hidden behavior, credential access, persistence, or destructive actions.

Before installing, understand that searches, BVIDs, and Bilibili user IDs you ask it to look up will be sent to Bilibili public endpoints. It does not need an API key or login, and I found no evidence of persistence or local data access.

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

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
92% confidence
Finding

The skill explicitly invokes a Python script that uses Bilibili public interfaces, implying outbound network access, but the manifest does not declare any tool scope or permission boundary for that capability. This creates a governance and least-privilege gap: users and orchestrators cannot clearly assess or constrain what external access the skill may perform, which increases the risk of unexpected data egress or broader network misuse if the script changes.

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/bilibili.py (reported line 41)May include surrounding context.

python
"search_type": "video",
        "order": order,
    })
    url = f"https://api.bilibili.com/x/web-interface/search/type?{params}"
    data = http_get(url)
    if data.get("code") != 0:
        return {"error": data.get("message", "搜索失败")}

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/bilibili.py (reported line 72)May include surrounding context.

python
"search_type": "video",
        "order": order,
    })
    url = f"https://api.bilibili.com/x/web-interface/search/type?{params}"
    data = http_get(url)
    if data.get("code") != 0:
        return {"error": data.get("message", "搜索失败")}

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/bilibili.py (reported line 107)May include surrounding context.

python
"search_type": "video",
        "order": order,
    })
    url = f"https://api.bilibili.com/x/web-interface/search/type?{params}"
    data = http_get(url)
    if data.get("code") != 0:
        return {"error": data.get("message", "搜索失败")}

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/bilibili.py (reported line 122)May include surrounding context.

python
"search_type": "video",
        "order": order,
    })
    url = f"https://api.bilibili.com/x/web-interface/search/type?{params}"
    data = http_get(url)
    if data.get("code") != 0:
        return {"error": data.get("message", "搜索失败")}

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/bilibili.py (reported line 150)May include surrounding context.

python
"search_type": "video",
        "order": order,
    })
    url = f"https://api.bilibili.com/x/web-interface/search/type?{params}"
    data = http_get(url)
    if data.get("code") != 0:
        return {"error": data.get("message", "搜索失败")}

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
83% confidence
Finding

The description is presented in Chinese with an appended English sentence, but the rest of the document is primarily Chinese and does not state any user-selectable language option. Under the policy rule, forcing or assuming a specific language without opt-in can be a natural-language policy concern.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.