Back to skill

Security audit

Guaikei Kuaishou Data Extractor

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed Kuaishou public-data extraction tool that uses a third-party API token and saves results locally, with privacy and retention cautions for users.

Install only if you are comfortable sending Kuaishou keywords, profile/video URLs, and request parameters to guaikei.com using your GUAIKEI_API_TOKEN. Treat fetched comments and creator metadata as potentially personal data, review platform/legal obligations, and delete or secure the local logs directory if results should not persist.

Vulnerability Patterns
  • 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
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (21)

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
85% confidence
Finding

The skill instructions, trigger guidance, routing rules, and user-facing interaction expectations are written to operate in Chinese, and the examples direct the agent to ask follow-up questions and report results in that language style. There is no opt-in or alternative language guidance for users who may prefer another locale, which can violate a language/locale choice policy.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The README explicitly states that all task results are automatically saved to a local logs/ directory, but it does not warn users that scraped platform data, URLs, comments, and analysis outputs may persist on disk beyond the session. In a data-extraction tool, this increases the risk of unintended retention, local disclosure, and secondary sharing of collected data, especially on shared systems or in environments with weak filesystem hygiene.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The documentation describes bulk extraction of Kuaishou search results, creator posts, and comments up to 10,000 records, but provides no warning that this can collect privacy-sensitive content, identifiers, and metadata at scale. In this context, the omission increases the risk of misuse, non-compliant data handling, and unsafe operator assumptions that the tool is appropriate for unrestricted collection.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The script persists fetched comment data to a local JSON file after successful execution, creating a copy of externally sourced data without any consent prompt, retention control, or visibility into where and how long it is stored. If comments contain personal data or sensitive content, this can expand data exposure through unintended local retention, especially on shared systems or agent runners.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The script writes full comment results to disk without an explicit user warning in the command flow, which can surprise users who expect a read-only fetch operation. Silent persistence increases privacy and operational risk because retrieved content may remain on disk beyond the session and be accessible to other local users, backup systems, or later processes.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
75% confidence
Finding

The script reads GUAIKEI_API_TOKEN from the environment and sends requests using the user-provided profile URL to create and fetch a remote task. While success messages are printed after the request starts, there is no clear upfront warning or comment that the input URL and token-backed request will be transmitted to an external service.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The script writes the full fetched results to a local JSON file using a filename derived from user-controlled input after normalization. This creates a privacy and data-handling risk because potentially sensitive scraped content is persisted on disk without clear consent, retention controls, or visible warning in this file, increasing exposure if the host is shared or logs are collected.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The CLI writes the full search output, including user-provided keywords and returned results, to a local file automatically without an explicit runtime warning or opt-in. This can create unintended local data persistence, exposing potentially sensitive search activity or scraped content to other local users, backups, or later collection by unrelated processes.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
82% confidence
Finding

This code sends request data over the network and includes a TOKEN header, which falls under network transmission of user or system data and access to credentials. The file contains no confirmation prompt, user-facing logging, or explanatory comments/docstrings warning about this behavior.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

This JavaScript file contains multiple user-facing error strings in Chinese, such as the validation messages printed via utils.printError. Because the skill forces a specific language in its natural-language output without any opt-in or documented regional limitation, it presents a language/locale policy concern.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
81% confidence
Finding

The file's headings, parameter descriptions, and usage guidance are entirely in Chinese, which effectively forces a specific language for users reading the skill documentation. Under the policy, language constraints should either be optional/opt-in or explicitly documented and justified as region-specific.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

The CLI descriptions and examples shown to users are entirely in Chinese, and the rest of the script's user-facing output follows the same pattern. Forcing a specific language without opt-in can violate language/locale policy when the tool may be used in broader contexts.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Low
Category
Not specified by scanner
Confidence
82% confidence
Finding

With no manifest available, the skill's intended scope is unknown, so accessing process environment for credentials is an extra capability not justified by any stated purpose. The code explicitly derives a token from GUAIKEI_API_TOKEN before making the comment task request.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
94% confidence
Finding

The script's descriptions, help text, and runtime messages are entirely in Chinese, with no option to select another language or locale. Under the stated policy, forcing a specific language without user opt-in is a natural-language policy violation unless explicitly justified.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

The command descriptions, examples, warnings, and runtime messages are presented in Chinese, with no indication that another language can be selected. Under the stated policy, forcing a specific language without user opt-in is a natural-language policy concern unless the locale restriction is clearly documented and justified.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
97% confidence
Finding

This JavaScript file contains natural-language comments, error messages, and help text exclusively in Chinese, including thrown errors and CLI help output. Because the file does not offer a language choice or document a justified locale restriction, it creates a language/locale policy concern under the stated rule.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

The code emits user-facing status and error messages only in Chinese, such as the validation errors on these lines. This can violate a language/locale policy when the skill does not offer user opt-in or document that it is intended only for Chinese-speaking users.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
94% confidence
Finding

Several user-visible error strings are written only in Chinese, including the authentication failure message. This enforces a specific language without any visible opt-in or locale selection, which matches the language/locale policy violation category.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
98% confidence
Finding

This code file contains a natural-language string literal that forces a specific language (重试${maxAttempts}次后失败) for user-visible error output. The file does not indicate any user opt-in, language selection mechanism, or justified locale restriction, which conflicts with the policy against forcing a specific language without choice.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
94% confidence
Finding

The module comment and banner text indicate the skill presents user-facing content in Chinese, and the logging uses locale-dependent formatting without any visible user opt-in or language selection. This can violate language/locale policy when a skill forces a specific language for all users.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
97% confidence
Finding

The printed banner contains fixed Chinese text shown to users every time the banner is displayed. Because no alternative language or opt-in mechanism is present in this file, the skill appears to enforce a specific language for user-visible output.

Content

No source excerpt is available for this finding.