Back to skill

Security audit

AI大模型专家|DeepSeek AI搜索收录与引用

Security checks for vulnerabilities and agentic risk

Overview

The skill largely discloses its AI-HIVE media workflow, but it needs review because its scripts persist API keys and can send them to an unrestricted custom API endpoint.

Install only if you are comfortable with an AI-HIVE workflow that stores an API key locally, sends prompts and selected media to AI-HIVE, may query account/balance data, and downloads generated outputs. Avoid custom base URLs unless you fully trust the endpoint, prefer an environment variable or a tightly protected config file for the key, and consider using a virtual environment with pinned dependencies.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • 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
Findings (2)

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/imagegen.py:92
Finding

API Credential Disclosure Through an Unrestricted Custom Base URL

Content
View full analysis
Remediation
View remediation

T08 · Insecure Dependencies

Note
Location
SKILL.md:124
Finding

Unpinned Dependency Installation From a Mutable Package Source

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • 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 (17)

Tp4

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The documented purpose suggests a content-planning/search-optimization expert, but the actual capability set appears to include local credential storage, browser-launch setup, account inspection, direct chat, model routing, media upload, and generated file download. Such under-disclosed functionality is dangerous because it can lead to credential mishandling, overbroad data access, and user deception about what the skill will do in their environment.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The documented purpose suggests a content-planning/search-optimization expert, but the actual capability set appears to include local credential storage, browser-launch setup, account inspection, direct chat, model routing, media upload, and generated file download. Such under-disclosed functionality is dangerous because it can lead to credential mishandling, overbroad data access, and user deception about what the skill will do in their environment.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The documented purpose suggests a content-planning/search-optimization expert, but the actual capability set appears to include local credential storage, browser-launch setup, account inspection, direct chat, model routing, media upload, and generated file download. Such under-disclosed functionality is dangerous because it can lead to credential mishandling, overbroad data access, and user deception about what the skill will do in their environment.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The implementation materially diverges from the declared skill purpose: instead of a DeepSeek search/citation expert, it exposes a generic AI-Hive image-generation utility with upload, generation, and download capabilities. This mismatch is dangerous because users, reviewers, or automated policy systems may grant the skill permissions and trust based on the manifest while it performs unrelated networked actions and processes local files, increasing the risk of deceptive capability smuggling.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The embedded SKILL_CONFIG explicitly declares GPT Image 2 image generation/editing behavior, which directly contradicts the manifest's DeepSeek search optimization and citation-focused identity. Such contradictory metadata can mislead operators and users into invoking a different external service than expected, causing unauthorized data transfer, incorrect trust assumptions, and weakened review controls.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The file implements a generic AI-Hive client for chat, image/video generation, media upload, account inspection, and browser-assisted API-key setup, while the skill manifest claims a DeepSeek search/citation optimization capability. This scope mismatch is dangerous because users and reviewers may grant the skill broader trust and permissions than its declared purpose warrants, enabling unintended access to local files, external network endpoints, and paid account resources.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The embedded SKILL_CONFIG repurposes the tool into a short-drama video generator, including fixed model mappings and a dedicated skill CLI, which directly conflicts with the published DeepSeek search/citation description. Hidden repurposing is dangerous because it masks the real behavior of the skill and can cause operators to invoke costly media-generation and file-upload actions under false expectations.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
92% confidence
Finding

The skill advertises and demonstrates capabilities that imply use of environment variables, local files, network access, and shell execution, but it does not declare any explicit tool scope or permission boundaries. This creates an authorization ambiguity where a reviewer or runtime may permit broader access than users expect, increasing the risk of over-privileged execution, secret exposure, or unintended filesystem/network actions.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The manifest sets language: zh-CN, and the visible title, summary, and content are all fixed in Chinese. There is no indication that users may choose another language or that the skill is intentionally restricted to a China-specific compliance or regional use case, so this appears to impose a locale preference without opt-in.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
87% confidence
Finding

The display name, description, and default prompt are all written in Chinese, and the file does not state that language selection is optional or user-configurable. This can violate language/locale policy where skills must not force a specific language without user opt-in.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The default prompt is phrased as a broad natural-language invocation and can be triggered in ordinary user requests without strong scope boundaries or explicit activation cues. This increases the chance of unintended skill invocation, causing the assistant to steer users into this workflow, potentially exposing user context or producing actions the user did not clearly request.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The module docstring and nearly all user-facing prompts/messages in the file are written only in Chinese, which imposes a specific language on users. The file does not offer an opt-in language selection or explain that the skill is intentionally region-specific, so this is a natural-language locale policy concern.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

This Python file contains user-facing natural-language descriptions entirely in Chinese and presents the skill as a general-purpose tool, but it does not indicate that language is configurable or limited to a China-specific audience. Under the policy, forcing a specific language or locale without user opt-in is a natural-language policy violation.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
84% confidence
Finding

The skill exposes a user-info capability that retrieves account information and wallet balance, which is unrelated to DeepSeek search/citation optimization. In the context of a misleadingly described skill, this unnecessarily expands access to potentially sensitive billing/account metadata and increases the blast radius if the skill is invoked or repurposed unexpectedly.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
91% confidence
Finding

The example API key placeholder uses Chinese text ("请替换为你的APIKey"), which imposes a specific language in user-facing configuration content. There is no indication that the skill is intended only for Chinese-speaking users or that another language option is available.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
92% confidence
Finding

The script's docstring, argument parser description, and output metadata are all fixed in Chinese-language strings such as 'DeepSeek AI搜索收录与引用' and related aliases. The policy allows locale constraints only when the user is given a language choice or the restriction is clearly documented and justified, which is not present here.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Low
Category
Not specified by scanner
Confidence
82% confidence
Finding

The manifest frames the skill as helping teams decompose goals into executable planning, content structure, evidence fields, and generation tasks for DeepSeek search inclusion/citation. This script does not perform search, citation work, or model orchestration; instead it serializes fixed planning fields into a local JSON file, which is a narrower production-brief generator behavior than the broader skill description suggests.

Content

No source excerpt is available for this finding.