"Emerging Threat: Cybersecurity Experts Sound Alarm on Unprecedented AI Attack Techniques"

The UK’s National Cyber Security Centre (NCSC) has issued a warning about the increasing threat of “prompt injection” attacks on AI applications. While the warning is primarily aimed at cybersecurity professionals working with large language models (LLMs) and other AI tools, it is important for all users of AI to understand prompt injection, as it is expected to become a major category of security vulnerability.

Prompt injection refers to an attack on LLMs, which are the language models that power chatbots like ChatGPT. In this type of attack, an attacker inserts a prompt in a way that bypasses the developers’ safeguards, causing the AI to perform unauthorized actions. The potential damage can range from outputting harmful content to deleting important information or conducting illicit financial transactions. The extent of the harm depends on the level of access the LLM has to external systems. While the risk is relatively low for standalone chatbots, the NCSC warns that when LLMs are integrated into existing applications, the potential for significant damage increases.

Attackers can take control of LLMs by using jailbreak commands that trick chatbots or other AI tools into responding affirmatively to any prompt. Instead of refusing to provide instructions for illegal activities, an LLM subjected to a suitable jailbreak prompt will comply. These attacks require direct input to the LLM, but there are also indirect methods of prompt injection that present new challenges.

In one proof of concept, a security researcher was able to get ChatGPT to respond to a prompt embedded in a YouTube transcript. Another entrepreneur created a website that forced the Bing chatbot sidebar to reveal its secret alter ego. These examples highlight the security flaws in LLMs, particularly those integrated with applications and databases.

See also  "Rise of AI-Enhanced Cyber Threats: 1,000 Elite Hackers Pose New Security Risk"

The NCSC provides an example of a bank that builds an LLM assistant to handle customer inquiries and instructions. An attacker could send a transaction request with a hidden prompt injection attack, causing the LLM to redirect the user’s money to the attacker’s account. This demonstrates the potential risks associated with prompt injection attacks.

Addressing prompt injection is a challenging problem. Existing AI-powered and filter-based approaches are insufficient, as attackers constantly find new ways to bypass them. While there are suggestions for protecting LLM applications from prompt injection attacks, the reality is that LLMs and powerful AI chatbots are still relatively new, and their behavior is not fully understood. The NCSC advises developers to treat LLMs as beta software—exciting to explore but not yet fully trustworthy.

By Leon