Cyber Security News

Researchers Warn of AI Image Generators Potentially Leaking Sensitive Instructions

Researchers have recently uncovered a potential security flaw in advanced AI image generators, particularly in the case of Recraft, an advanced diffusion model.

This discovery has raised concerns about the inadvertent disclosure of sensitive system instructions, which could have far-reaching implications for AI security and privacy.

Diffusion models, such as Stable Diffusion and Midjourney, have revolutionized the field of AI-generated imagery by creating photorealistic images from text prompts.

Security researchers at Invicti discovered that these models work by gradually refining random noise into clear pictures through a process called “denoising.” However, Recraft, currently leading the text-to-image leaderboard, has demonstrated capabilities that go beyond typical diffusion models.

Researchers noticed that Recraft could perform language tasks usually beyond the scope of image generation models. For instance, when prompted with mathematical operations or geographic questions, Recraft produced images containing correct answers, unlike other models that simply visualized the text without comprehension.

Free Ultimate Continuous Security Monitoring Guide - Download Here (PDF)

Technical Analysis

Besides this, the further investigation unveiled that Recraft employs a two-stage architecture:

  1. An Large Language Model (LLM) processes and rewrites user prompts
  2. The processed prompt is then passed to the diffusion model

This unique approach allows Recraft to handle complex queries and produce more accurate and context-aware images. However, it also introduces a potential vulnerability.

Through careful experimentation, researchers discovered that certain prompts could trick the system into revealing parts of its internal instructions.

By generating multiple images with specific prompts, they were able to piece together fragments of the system prompt used to guide the LLM’s behavior.

Some of the leaked instructions include:-

  • Starting descriptions with “The Mage style” or “image style”
  • Providing detailed descriptions of objects and characters
  • Transforming instructions into descriptive sentences
  • Including specific composition details
  • Avoiding the use of words like “Sun” or “Sunlight”
  • Translating non-English text to English when necessary

This unintended disclosure of system prompts raises significant concerns about the security and privacy of AI models. If malicious actors could extract sensitive instructions, they might be able to manipulate the system, bypass safety measures, or gain insights into proprietary AI techniques.

The discovery underscores the need for robust security measures in AI systems, especially as they become more complex and powerful. It also highlights the importance of thorough testing and auditing of AI models to identify and address potential vulnerabilities before they can be exploited.

As AI continues to advance and integrate more deeply into various aspects of our lives, ensuring the security and integrity of these systems becomes paramount.

This incident serves as a wake-up call for AI developers and researchers to prioritize security alongside performance and capabilities in the ongoing development of AI technologies.

Analyze Unlimited Phishing & Malware with ANY.RUN For Free - 14 Days Free Trial.

Tushar Subhra Dutta

Tushar is a senior cybersecurity and breach reporter. He specializes in covering cybersecurity news, trends, and emerging threats, data breaches, and malware attacks. With years of experience, he brings clarity and depth to complex security topics.

Recent Posts

Google Chrome 153 Update Fixes 42 Security Flaws, Including 3 Critical Ones

Google has released an important Chrome 153 security update that fixes 42 vulnerabilities across the…

4 hours ago

CISA and NIST Release Technical Checklist for Safeguarding Identity Tokens From Theft and Misuse

The Cybersecurity and Infrastructure Security Agency (CISA) and the National Institute of Standards and Technology…

14 hours ago

CISA Shares 17 Techniques Used by Hackers to Compromise Active Directory Environments

CISA and five international cybersecurity agencies have released detailed guidance describing 17 common techniques hackers…

15 hours ago

Apple Rolls Out Massive Security Update Fixing 273 Vulnerabilities Across Its Devices

Apple has released one of its largest coordinated security rollouts, addressing 273 distinct critical vulnerabilities…

15 hours ago

How to Keep Malware’s Rotating Infrastructure From Becoming a Detection Gap

You can’t detect today's attacks with yesterday’s threat intelligence; that’s how you could briefly formulate…

15 hours ago

Microsoft Bans Its AI Models From Launching Cyberattacks or Escalating Their Own Access

Microsoft has published a draft Humanist AI Code of Conduct that would prohibit its in-house…

15 hours ago