Back to skill

Security audit

wb-profile

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marked this skill suspicious because it exposes comment-collection features beyond its stated Weibo post-collection purpose and includes security weaknesses; the scan was partial.

Consider avoiding installation until the maintainer explains the additional comment-collection features, addresses token transport and TLS verification risks, and clarifies the required tool access. Treat the review as incomplete: several files were only partially inspected and tool-misuse analysis was degraded.

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 HTTP transport exposes reusable account tokens

Content
View full analysis

Impact

An intermediary can steal and replay the account token to access the platform as the victim, retrieve account/task data, and submit tasks that consume the victim's credits.

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 (4)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

The task and export methods plausibly support the declared workflow, and authentication and HTTP handling are supporting implementation details. However, the client also exposes methods to create, enumerate, advance, finish, and retrieve comment-collection sessions across multiple platforms. Those capabilities access resources materially beyond Weibo homepage post collection. This is a capability-scope mismatch, not evidence that those methods are automatically executed. The supplied client alone also cannot verify the claimed CSV format, collected fields, or billing and refund rules.

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

Calling allowInsecureTls disables TLS certificate verification process-wide, allowing a network attacker to impersonate HTTPS services and intercept bearer tokens or alter API responses. This is an opt-in insecure mode rather than a demonstrated default, but its global effect can compromise other HTTPS requests in the same process, and warning messages do not prevent exploitation.

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 profile-post collection purpose.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The manifest describes collecting a Weibo user's posts and engagement counts, not collecting individual comments or replies. L134–L272 implement creation, listing, advancement, completion, and comment retrieval for comment-collection sessions across Xiaohongshu, Douyin, Kuaishou, Bilibili, and Weibo; these are additional operational capabilities rather than implementation details of profile-post collection. This file exposes those capabilities but does not establish that the skill invokes them.

Content

No source excerpt is available for this finding.