Back to skill

Security audit

Flutter AppStore Doc UI Kit

Security checks for vulnerabilities and agentic risk

Overview

This skill is a coherent app-design artifact generator with disclosed local file outputs and optional OpenAI image generation.

Install only if you are comfortable with the optional AI image step sending page names and design constraints from your approved feature document to OpenAI. Use the non-API prompt-package path if the document contains sensitive product details or you do not want external model calls.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (4)

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The workflow instructs the skill to always generate feature documents in Chinese and English, and later validation requires both zh-CN and en-US docs. This imposes specific locales by default rather than offering them as an explicit user choice, which conflicts with the language/locale policy criteria.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · scripts/generate_ui_ai.py (reported line 40)May include surrounding context.

python
def ai_image(prompt: str, api_key: str, size: str = "1536x1024"):
    url = "https://api.openai.com/v1/images/generations"
    payload = {
        "model": "gpt-image-1",
        "prompt": prompt,

External Transmission

Medium
Category
Data Exfiltration
Confidence
70% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · scripts/generate_ui_ai.py (reported line 51)May include surrounding context.

python
req.add_header("Authorization", f"Bearer {api_key}")
    req.add_header("Content-Type", "application/json")
    data = json.dumps(payload).encode("utf-8")
    with urllib.request.urlopen(req, data=data, timeout=180) as r:
        body = json.loads(r.read().decode("utf-8"))
    b64 = body["data"][0]["b64_json"]
    return base64.b64decode(b64)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

This code performs a network request to the OpenAI image API using a prompt built from the contents of the user-supplied feature document. While the argument parser description mentions AI generation, there is no explicit runtime warning, confirmation, or comment near the request making it clear that document content is transmitted to an external service.

Content

No source excerpt is available for this finding.