Back to skill

Security audit

Nano Banana 2 种草图片

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed AI image-generation helper that uses an AI Hive API key and user-selected images, with no evidence of hidden persistence, exfiltration, or destructive behavior.

Install only if you are comfortable giving this skill your AI Hive API key, uploading selected reference images to AI Hive/its upload storage, and installing the Python `requests` package. Use a virtual environment and avoid placing private or unlicensed images in prompts or uploads.

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

T08 · Insecure Dependencies

Warning
Location
SKILL.md:74
Finding

Unpinned Third-Party Dependency Installation

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (5)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
95% confidence
Finding

The skill invokes local Python scripts, installs dependencies, reads user-supplied files, writes outputs, and performs outbound network requests, yet it declares no explicit tool scope or permission boundaries. That creates an authorization gap: an agent may enable broader shell, file, environment, and network capabilities than users expect, increasing the chance of unintended code execution or data exposure through the helper script.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The manifest description says to use this skill for a long list of generic phrases such as Instagram UGC, lifestyle images, e-commerce content marketing, and social media covers, without clearly delimiting when the skill should or should not activate. These terms are broad enough to collide with ordinary image-generation requests, making unintended invocation more likely.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
80% confidence
Finding

The file is predominantly written as Chinese-only operational guidance and examples, while the skill name and some description text are bilingual, creating an implicit language constraint for use. There is no statement that users may choose another language, nor a documented reason that the skill must operate only in Chinese.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The module docstring and all user-facing prompts/messages are written in Chinese, and the skill does not indicate any option to use another language or that the locale restriction is intentional for a region-specific tool. Under the policy, forcing a specific language without user opt-in is a natural-language policy violation.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

The example value for api_key includes Chinese text (请替换为你的APIKey), which imposes a specific language in user-facing configuration content. There is no indication that the skill is region-specific or that users can choose their preferred language, so this conflicts with the language/locale policy requirement.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.