LLMs and Contextual Integrity
A security writer shares thoughts on AI integrity and contextual integrity after finding two papers on the topic.
Overview
Researchers evaluated Large Language ModelsAn AI system trained on huge amounts of text to generate, summarize, translate, or write code to see if they share personal information only when it is appropriate for the current task. They found that these models often leak sensitive data in the wrong context, a problem known as contextual integrityThe property that data was not changed. As the number of tasks increases, the rate of these information leaks grows significantly. Even when users try to instruct the models to be careful, the systems fail to make nuanced decisions about what to share. This issue affects anyone who uses AI tools that remember past interactions to provide personalized help. The models currently lack the ability to reason about which specific pieces of information are safe to reveal in different situations.
Terms in this story
- Large Language Models
- An AI system trained on huge amounts of text to generate, summarize, translate, or write code. Security news covers large language models both when defenders use them to review code and when attackers try to trick chatbots into leaking private company documents.
- Integrity
- The property that data was not changed. File checksums and digital signatures protect integrity so you know a downloaded software update or bank wire instruction was not altered in transit by an attacker. From the CYBR 101 room CYBR 101: What is a hash?
- frontier models
- The largest, most capable generation of general-purpose artificial intelligence models. Researchers and governments test frontier AI systems before release to see whether they can discover software vulnerabilities on their own or help novices plan cyberattacks.
- prompt
- The text instruction or question a user or program sends to an artificial intelligence model. In AI security news, a prompt includes both the visible question typed by a user and the hidden instructions that an attacker might embed in a web page.
- Reinforcement Learning
- Training an AI model by rewarding good actions and penalizing mistakes across many trial runs. New language and coding models use reinforcement learning after initial training to get better at solving multi-step problems and refusing harmful requests.
- autonomous agents
- Artificial intelligence software that can plan steps, call tools, and take actions on its own. Many stories cover agentic AI when companies connect language models to email, browsers, and databases, creating new risks if a hidden prompt tricks the agent into leaking data.
- information disclosure
- A software flaw or misconfiguration that unintentionally exposes private data, keys, or system details to unauthorized users. An information disclosure bug might return detailed server error messages, memory contents, or other customers' profile fields that help an attacker plan a deeper break-in.
- disclosure
- The process of reporting and publishing details about a newly discovered security flaw in software or hardware. In security news, disclosure refers either to a researcher privately alerting a vendor about a bug or to a company publicly notifying customers about a breach.
- tool calls
- A structured request from an AI model asking its host program to run an external function. When an AI assistant checks your calendar, runs a shell script, or queries a database, it emits a tool call that the surrounding software executes.
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Schneier on Security website. Cite the article, not this page.
Read the full article on Schneier on Security (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Research and reports
"We present CIMemories, a benchmark for evaluating..." Found by reading the article; these exact words are in it - CYBR 101 week 6: AI, how it is attacked, and what it does for attackers and defenders
"LLMs and Contextual Integrity..." Found in the headline
How a story is connected to the course, and every objective, week and job role