Back to skill

Security audit

b-search

Security checks for vulnerabilities and agentic risk

Overview

The skill is rated suspicious because scanners report insecure connection settings and credential handling, plus collection capabilities beyond its stated Bilibili video-search purpose.

Consider not installing until you can verify the connection and token handling, understand why the extra collection features and legacy credential import are included, and confirm that the skill’s actual capabilities match your needs. The scan was partial: it covered 2 of 6 components, and static analysis of four components was degraded, so the evidence is incomplete. The verdict is suspicious; 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/client.js
Finding

Account bearer tokens transmitted over public HTTP by default

Content
View full analysis

Impact

A captured token can be replayed to impersonate the account through the exposed API, including accessing task results and submitting tasks that consume its credits, while the token remains valid.

Vulnerability Patterns
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • 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
Findings (8)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The supplied command requests logout, which is materially different from the declared keyword-search collection purpose. The implementation of cli.js is not provided, so the exact session effects cannot be verified, but the visible invocation does not match the described workflow.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Generic task submission, export, authentication, and networking functions are plausible supporting implementation details for the declared service. However, the client additionally exposes extensive comment-collection APIs under /comments/sessions, /dy/comments/sessions, /ks/comments/sessions, /b/comments/sessions, and /wb/comments/sessions. These cover undeclared data types and platforms beyond Bilibili video search results. The supplied chunk does not show those methods being invoked, nor does it independently establish the advertised search fields, pricing, or browser workflow; the mismatch is the additional exposed collection capabilities, not evidence that they run automatically.

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 enabled, this function disables TLS certificate verification process-wide, allowing a network attacker to impersonate HTTPS services, steal bearer tokens, and alter results. It is conditional rather than an unconditional default, but warnings do not mitigate the loss of server authentication, and its process-wide scope also affects export downloads.

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 for multiple platforms outside the declared Bilibili keyword-search scope.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The manifest describes collecting Bilibili keyword-search result metadata and exporting it as CSV. L134–L272 additionally implement callable APIs to create, advance, finish, and retrieve comment-collection sessions for Xiaohongshu, Douyin, Kuaishou, Bilibili, and Weibo; collecting individual comments and replies, particularly on unrelated platforms, is not necessary for that purpose. These methods provide additional capabilities, although this file does not establish that the search workflow invokes them.

Content

No source excerpt is available for this finding.

Configuration resolution automatically imports another skill's credentials and insecure connection setting.

Medium
Category
Excessive Agency
Confidence
97% confidence
Finding

Ordinary configuration resolution silently imports a legacy skill's bearer token and insecure TLS setting without confirming the destination or user consent, potentially forwarding credentials to an overridden endpoint with certificate verification disabled. The claimed one-time migration is also not enforced: clearing the current token during logout leaves the legacy token available for reimport on a subsequent command.

Content

No source excerpt is available for this finding.

Mandatory verbatim registration guidance forces Chinese output without user language opt-in.

Low
Category
Output Handling
Confidence
94% confidence
Finding

Line 81 requires the agent to send the registration guidance verbatim, and the prescribed user-facing text is in Chinese. This mandates Chinese output regardless of the user's language, without offering a language choice or documenting a justification for the restriction.

Content

No source excerpt is available for this finding.

Authentication guidance must be forwarded verbatim in Chinese, without a user language choice.

Low
Category
Output Handling
Confidence
90% confidence
Finding

The stderr message instructs the agent to send the following registration or login guidance to the user verbatim. Because that guidance is fixed Chinese text, this imposes Chinese user-facing output without user opt-in, rather than merely providing localized CLI messages.

Content

No source excerpt is available for this finding.