Back to skill

Security audit

极鲸云Ozon关键词搜索

Security checks for vulnerabilities and agentic risk

Overview

The skill mostly does the advertised GeekBI/Ozon keyword lookup, but it needs Review because login tokens are stored in multiple local places and authenticated requests can be pointed at unvalidated API hosts.

Review this before installing if you will authenticate to GeekBI. Treat any .geekbi/agent-auth.json and GeekBI user-config auth files as sensitive, avoid custom --base-url values, and prefer installing only after the publisher restricts API origins, stores tokens in one appropriate credential location, uses an Ozon-specific namespace, and documents login-state handling.

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

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/geekbi_auth.py:52
Finding

Bearer Tokens Are Replicated Across Multiple Plaintext State Files

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/ozon_keyword_search.py:42
Finding

Unrestricted API Base URL Permits Authentication and Sensitive Requests to Untrusted or Plaintext Origins

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • 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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (10)

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The skill claims to provide Ozon keyword analytics, but part of the detected behavior is limited to site-list querying and site resolution rather than the advertised keyword metrics and analysis. This is a security concern because description-behavior mismatch undermines trust boundaries and can conceal auxiliary capabilities that users did not intend to authorize, even if the hidden behavior is not overtly malicious.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The skill claims to provide Ozon keyword analytics, but part of the detected behavior is limited to site-list querying and site resolution rather than the advertised keyword metrics and analysis. This is a security concern because description-behavior mismatch undermines trust boundaries and can conceal auxiliary capabilities that users did not intend to authorize, even if the hidden behavior is not overtly malicious.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
83% confidence
Finding

The skill declares no explicit tool scope while the implementation reportedly has file, network, and shell capabilities. That creates a least-privilege failure: the agent may invoke broader capabilities than users or reviewers expect, increasing the attack surface for data access, command execution, or unintended outbound requests.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The invocation description is broad enough to trigger on general e-commerce discussions, which can cause over-invocation of a networked skill in contexts where the user did not clearly request it. In practice this increases the chance of unnecessary external queries, unintended data sharing, and confusion about when the agent is using third-party services.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
84% confidence
Finding

The natural-language description specifies handling of '中文词' and the document is written as if Chinese is the default interaction language, but it does not state that language choice is optional or user-selected. This can violate language/locale policy when users have not opted into Chinese output.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The module and many user-visible exception and CLI messages are written only in Chinese, which imposes a specific language on users without opt-in. Under the stated policy, forcing a language/locale without offering choice or documenting a justified region-specific constraint is a natural-language policy violation.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The auth state is stored under a directory segment named "temu-research-skill" even though this skill is for Ozon. That namespace mismatch can cause credential/state confusion, accidental sharing with another skill, or loading the wrong login state if multiple skills coexist on the same system, which is a real security boundary failure for local token storage.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
87% confidence
Finding

The code unlinks stored authentication state files in clear_auth_state() across multiple locations, which is a destructive file operation affecting user session data. There is no confirmation prompt, log/print disclosure in this function, and the module docstring does not warn that invoking clear will remove persisted login state.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
92% confidence
Finding

The display name, description, and default prompt are all written only in Chinese, which implies a fixed language choice in the skill's user-facing interface. Under the language/locale policy, this is a natural-language policy concern when no user choice or opt-in is provided.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
83% confidence
Finding

The file-level docstring is written entirely in Chinese and describes the skill behavior in a way that assumes Chinese-language usage, while the script offers no language or locale choice. Under the policy, forcing a specific language without opt-in can be a natural-language policy violation unless the locale constraint is clearly documented and justified.

Content

No source excerpt is available for this finding.