LIVE · cybersecurity feed
Live wire
breachcritical

LLMs and Contextual Integrity

I have been thinking a lot about AI and integrity. Part of that is contextual integrity. I recently found two papers on the topic. “CIMemories: A Compositional Benchmark for Contextual Integrity of Persistent Memory in LLMs“: Abstract: Large Language Models (LLMs) increasingly use persistent memory from past interactions to enhance personalization and task performance. However, this memory introdu

zeroday.news ·

Large Language Models (LLMs) that utilize persistent memory for personalization and task enhancement face significant risks concerning the inappropriate disclosure of sensitive information, a problem identified as a challenge to "contextual integrity." This issue becomes more pronounced as LLMs are increasingly deployed as autonomous agents making decisions on behalf of users.

Recent research highlights the difficulty LLMs have in controlling information flow from their memory based on the specific context of a task. A benchmark called CIMemories was developed to evaluate this problem, using synthetic user profiles with over 100 attributes per user and diverse task contexts where each attribute's relevance varies.

Evaluations using CIMemories revealed that current frontier models exhibit up to a 69% rate of attribute-level violations, meaning they inappropriately leak information. While lower violation rates can be achieved, this often comes at the expense of overall task utility. The research also found that these violations accumulate over time and across multiple interactions. For instance, as usage increased from 1 to 40 tasks, violations in a model identified as GPT-5 rose from 0.1% to 9.6%. When the same prompt was executed five times, violations reached 25.1%, indicating arbitrary and unstable behavior where different attributes were leaked for identical prompts.

Attempts to mitigate these issues through "privacy-conscious prompting" were largely ineffective. Models tended to overgeneralize, either sharing all information or none, rather than making nuanced, context-dependent decisions about what information is appropriate to disclose. These findings suggest that the problem stems from fundamental limitations in the LLMs' ability to reason contextually, rather than merely requiring better prompting strategies or increased model scaling.

Further research has explored methods to instill contextual integrity in LLMs through reasoning and reinforcement learning. One approach involves explicitly prompting LLMs to reason about contextual integrity when deciding what information to disclose. This method was extended by developing a reinforcement learning (RL) framework designed to further embed the necessary reasoning into models.

Using a synthetic dataset of 700 examples featuring diverse contexts and information disclosure norms, this method demonstrated a substantial reduction in inappropriate information disclosure while maintaining task performance across various model sizes and families. Crucially, the improvements achieved on this synthetic dataset transferred to established contextual integrity benchmarks, such as PrivacyLens, which uses human annotations to evaluate privacy leakage in AI assistant actions and tool calls. This suggests that a combination of explicit reasoning and reinforcement learning could be a viable path toward addressing the contextual integrity challenges in LLMs.

breachai
ShareXLinkedInWhatsAppFacebook

More News

view all →
phishing

Heights Finance data breach: What customers need to know

Leaked personal and financial data of around 750,000 US citizens, including SSNs and bank details, could put victims at risk of identity theft and phishing.

security

Meta Ran Ads for an App That Promised to Nudify Female Politicians

One advertisement featured a pornographic video with a deepfake closely resembling a prominent US politician. Apple removed the app from the App Store after an inquiry from WIRED.

security

Hackers target Ukrainian agency managing assets seized from sanctioned Russians

The agency said the latest attack came amid preparations to select a manager for seized corporate rights in IDS Ukraine, one of the country’s largest producers of bottled mineral water and beverages.

vulnerabilitycritical

NASA Ground Control Software Flaw Enables Unauthenticated Commands

Critical AIT-GUI flaws expose spacecraft commands and scripts to unauthenticated attackers

CVE-2026-19478critical

Critical GitLab flaw allows attackers to modify or delete public projects (CVE-2026-19478)

GitLab has released patches for two vulnerabilities, including a critical-severity code injection flaw that can be exploited without authentication. The vulnerabilities affect GitLab Community Edition (CE) and Enterprise Edition (EE) versions from 18.2 before 18.11.11, 19.0 before 19.0.8, 19.1 before 19.1.6, and 19.2 before 19.2.4. The fixes are available in GitLab 19.2.4, 19.1.6, 19.0.8, and 18.1

security

Cyber Incident Disrupts Student Services at UT San Antonio

UT San Antonio has taken IT systems offline following a cyber incident, disrupting student registration and tuition payments days before term is due to resume