Back to skill

Security audit

wb-hot

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill suspicious because scanners report security weaknesses and capabilities that go beyond its stated Weibo trends purpose; the review is incomplete.

Consider the credential exposure and the additional collection and account capabilities before installing. The scan covered only 33.3% of components, so the evidence is incomplete and does not establish that uninspected behavior is safe.

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 platform bearer credentials

Content
View full analysis

Impact

Captured credentials can be replayed to access token-authorized platform functions, including profile and task operations, and to submit tasks that consume the user's quota.

Vulnerability Patterns
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • 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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (7)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The task and export API wrappers could support the declared service, and authentication is not inherently inconsistent with collecting public Weibo data without Weibo cookies. However, the extensive comment-session APIs explicitly support a separate collection workflow across multiple platforms, which the description does not disclose. This is a capability mismatch even though the supplied chunk does not show these methods being invoked. The backend implementation is absent, so direct public-data fetching, browser-node requirements, one-point pricing, and failure refunds cannot be verified from this code.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Version and quota checks can reasonably support the declared tool, but logout and persistent endpoint configuration are materially different actions from collecting public Weibo trends. The supplied chunk performs administrative operations rather than the advertised collection workflow. Setting a localhost URL does not itself establish that any network request occurs.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
91% confidence
Finding

Shared platform authentication is disclosed, but the implementation additionally imports legacy credentials, the service address, and an insecure TLS setting automatically. Carrying forward a disabled certificate-validation setting or using the imported bearer token with an independently overridden destination can expose an existing account without explicit migration consent.

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.

Unsafe Defaults

Medium
Category
Tool Misuse
Confidence
99% confidence
Finding

When called, allowInsecureTls disables certificate validation process-wide, allowing a network attacker to impersonate HTTPS services and capture bearer tokens or modify responses. This is an opt-in insecure mode rather than a demonstrated default, but warning messages do not prevent exploitation and the effect extends beyond this client's requests.

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 exported client exposes comment-collection session management for multiple platforms, beyond the declared Weibo hot-ranking functionality.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The manifest limits this skill to collecting and exporting public Weibo hot rankings. L134–L272 implement methods to create, enumerate, advance, finish, and retrieve comment-collection sessions for Xiaohongshu, Douyin, Kuaishou, Bilibili, and Weibo; these capabilities are exposed through the exported ApiClient at L275 and are unnecessary for hot-ranking collection.

Content

No source excerpt is available for this finding.

Configuration resolution automatically imports another skill's credentials and security settings.

Medium
Category
Excessive Agency
Confidence
95% confidence
Finding

Ordinary configuration resolution automatically copies a legacy token, service address, and insecure=true without confirmation; the migration notice is emitted only after the write. Although credential sharing appears intentional, silently preserving a TLS-verification bypass and allowing destination overrides to reuse the imported token can expose the account to interception or an unintended service.

Content

No source excerpt is available for this finding.