Back to skill

Security audit

Iflytek Image Understanding

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward iFlytek image-analysis helper that sends a user-selected image and question to a fixed iFlytek WebSocket API using the user's own API credentials.

Install only if you are comfortable sending selected image contents and prompts to iFlytek using your own iFlytek credentials. Avoid using it on sensitive documents, faces, receipts, screenshots, or proprietary images unless that remote processing is acceptable under your policies.

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
  • 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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (8)

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The entire skill description and usage guidance are presented only in Chinese, which can constitute a language/locale policy issue when no user opt-in or alternative language is offered. Nothing in the README indicates that the skill is region-specific or intentionally limited to Chinese-speaking users.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
90% confidence
Finding

The skill advertises code-capable behavior that uses environment variables and outbound network access, but it does not declare an explicit tool or permission scope. This creates a transparency and governance gap: the agent may invoke a third-party API with secrets and user-supplied image content without clear permission boundaries or reviewable scope.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The skill description is broad enough to match many ordinary image-related requests, which increases the chance the agent routes user content to this skill by default. In this context, overbroad routing is risky because invocation can cause images and prompts to be sent to an external service and consume credentials without clear user intent.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The example invocation phrases are generic everyday requests like 'analyze this image' and 'what is in this picture,' with no constraints or negative examples. That makes accidental or overbroad activation more likely, which is especially sensitive here because user images may contain private data and are transmitted off-platform.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The documentation explains how to use the service but does not clearly warn users that images and prompts are transmitted to a third-party provider. This is a material privacy and data-handling omission because users may unknowingly submit sensitive images, OCR content, or personal information to an external API.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The script base64-encodes a local image and sends it to a third-party remote API for processing, but it does not provide an explicit privacy warning, consent prompt, or clear disclosure at the point of transmission. This can cause unintended exfiltration of sensitive image contents such as personal documents, faces, receipts, or internal screenshots, especially when invoked as an agent skill where users may assume local-only analysis.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
84% confidence
Finding

The file switches into Chinese for the error-code and FAQ sections, which imposes a language expectation on users who may only read English. There is no opt-in, alternate language version, or note that the skill is intended only for Chinese-speaking users, so this may conflict with language-choice policy expectations.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

The default question text is hard-coded in Chinese, and several usage examples are also Chinese-only. This imposes a specific language behavior without explicit user opt-in or a documented locale constraint, which can violate language/locale policy expectations.

Content

No source excerpt is available for this finding.

Static analysis

Detected: suspicious.exposed_secret_literal

File appears to expose a hardcoded API secret or token.

Critical
Code
suspicious.exposed_secret_literal
Location
scripts/image_understanding.py:68