Back to skill

Security audit

wb-search

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marks this skill suspicious because it reports substantial comment-collection features beyond the stated Weibo search purpose, alongside insecure connection settings and broad activation triggers.

Consider not installing until the skill's extra collection features and broad activation trigger are clarified, and its HTTP and TLS settings are addressed. Coverage is incomplete: Skillspector scanned 2 of 6 components fully, with partial inspection of the other 4, so there may be additional issues not covered by these findings. The suspicious verdict indicates reported weaknesses and undeclared risky behavior; it does not establish malicious intent.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (1)

T09 · Insecure Skill Coding Practices

Warning
Location
src/config.js
Finding

Default plaintext HTTP transport exposes account bearer tokens

Content
View full analysis

Impact

A network observer can capture and replay the token to access token-authorized account information and task results or submit tasks that consume the victim's points, subject to server-side permissions and token validity.

Vulnerability Patterns
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
Findings (7)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The generic task/export methods and authentication handling are reasonable supporting infrastructure for the declared tool. However, the client also exposes substantive, unrelated collection workflows through /comments/sessions, /dy/comments/sessions, /ks/comments/sessions, /b/comments/sessions, and /wb/comments/sessions. These capabilities go beyond keyword-based Weibo post search. The supplied chunk does not demonstrate the specific search filters, CSV formatting, or billing/refund rules; those could be implemented elsewhere or server-side, so their absence alone is not treated as a mismatch. No automatic collection or unrelated data transmission occurs merely by importing this module.

Content

No source excerpt is available for this finding.

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: env, network, 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 activation list includes the broad standalone trigger “选题” (topic selection), which can invoke Weibo collection for unrelated planning requests.

Medium
Category
Trigger Abuse
Confidence
96% confidence
Finding

The standalone trigger “选题” can select this paid, external-service skill for generic topic-planning requests that do not authorize Weibo collection. Following the workflow without establishing that intent could transmit a user's topic to the service and consume credits, although the keyword-confirmation step reduces the risk.

Content

No source excerpt is available for this finding.

Unsafe Defaults

Medium
Category
Tool Misuse
Confidence
98% confidence
Finding

When invoked, allowInsecureTls disables certificate verification process-wide, allowing an active network attacker to impersonate HTTPS services and potentially capture bearer tokens or modify responses. The function is opt-in rather than a demonstrated default, but its global effect extends beyond the intended API connection and warnings do not restore authentication.

Content

Scanner excerpt · src/client.js (reported line 17)May include surrounding context.

js
/** 忽略 HTTPS 证书校验 (服务端自签/域名不匹配证书时由 insecure 配置开启)。进程级。 */
function allowInsecureTls() {
  process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
}

/** 业务错误: code 为后端错误码 (1001/1002/3001/...) */

The client exposes comment-collection workflows beyond the declared Weibo keyword-search purpose.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The manifest describes Weibo keyword-search results and engagement counts, not collection of comment bodies or replies. L134–L272 implement authenticated methods to create, advance, finish, and read comment-collection sessions across multiple platforms, including Weibo; these are separate collection capabilities rather than requirements for keyword search.

Content

No source excerpt is available for this finding.

Automatically imports another skill’s TLS-verification bypass setting into the Weibo search configuration.

Medium
Category
Excessive Agency
Confidence
96% confidence
Finding

Automatic credential migration also persists legacy insecure:true, and resolveConfig subsequently exposes it as the effective TLS setting without fresh approval. This carries a security exception from another service context into the new configuration and can enable certificate-verification bypass when consumed by the client, including after switching to HTTPS.

Content

No source excerpt is available for this finding.

The promised per-destination insecure-TLS warning is emitted only once per process.

Low
Category
Excessive Agency
Confidence
99% confidence
Finding

The process-wide _insecureNoted flag suppresses warnings for every destination after the first, despite the stated per-destination behavior and the presence of a host-tracking set. In a process contacting multiple HTTPS destinations with verification disabled, later destinations silently inherit that unsafe state; this is a warning-coverage defect rather than the cause of the TLS bypass.

Content

No source excerpt is available for this finding.