In-context diffusion models allow users to modify images with remarkable ease and realism. However, the same power raises serious privacy concerns: personal images can be easily manipulated for identity impersonation, misinformation, or other malicious uses, all without the owner's consent. While prior work has explored input perturbations to protect against misuse in personalized text-to-image generation, the robustness of modern, large-scale in-context DiT-based models remains largely unexamined. In this paper, we propose DeContext, a new method to safeguard input images from unauthorized in-context editing. Our key insight is that contextual information from the source image propagates to the output primarily through multimodal attention layers. By injecting small, targeted perturbations that weaken these cross-attention pathways, DeContext breaks this flow, effectively decouples the link between input and output. This simple defense is both efficient and robust. We further show that early denoising steps and specific transformer blocks dominate context propagation, which allows us to concentrate perturbations where they matter most. Experiments on Flux Kontext and Step1X-Edit show that DeContext consistently blocks unwanted image edits while preserving visual quality. These results highlight the effectiveness of attention-based perturbations as a powerful defense against image manipulation. Code is available at https://github.com/LinghuiiShen/DeContext.
Anti-Diffusion: Preventing Abuse of Modifications of Diffusion-Based Models
University of Macau(澳门大学);Shenzhen Institute of Advanced Technology(深圳先进技术研究院);Kuaishou Technology(快手科技);Macau University of Science and Technology(澳门科技大学)
Towards Transferable Defense Against Malicious Image Edits
State Key Laboratory of AI Safety, Institute of Computing Technology, Chinese Academy of Sciences (CAS)(人工智能安全国家重点实验室,计算技术研究所,中国科学院);University of China Academy of Sciences(中国科学院大学);School of Computer Science, China University of Geosciences(中国地质大学(武汉)计算机学院)
AEGIS: A Mechanism-Guided Defense against Visual Synonym Jailbreaks in Text-to-Image Models
Fudan University(复旦大学);Alibaba Group(阿里巴巴集团);Shanghai Pudong Research Institute of Cryptology(上海浦东密码研究所);Engineering Research Center of Cyber Security Auditing and Monitoring, Ministry of Education(教育部网络安全审计与监测工程研究中心)
Safeguarding Facial Identity against Diffusion-based Face Swapping via Cascading Pathway Disruption
MoE Key Laboratory of Information Technology, Sun Yat-sen University, Guangzhou, China(信息科技教育部重点实验室,中山大学,广州,中国);State Key Laboratory of Mathematical Engineering and Advanced Computing, Zhengzhou, China(数学工程与先进计算国家重点实验室,郑州,中国)
Dual Attention Guided Defense Against Malicious Edits
State Key Laboratory of AI Safety, Institute of Computing Technology, Chinese Academy of Sciences (CAS)(人工智能安全国家重点实验室,计算技术研究所,中国科学院);University of China Academy of Sciences(中国科学院大学);School of Computer Science, China University of Geosciences(中国地质大学(武汉)计算机学院)
Defending Deepfake via Texture Feature Perturbation
Key Laboratory of Computing Power Network and Information Security, Ministry of Education, Qilu University of Technology (Shandong Academy of Sciences)(计算机网络与信息安全重点实验室,教育部,齐鲁工业大学(山东省科学院));Shandong Artificial Intelligence Institute, Qilu University of Technology (Shandong Academy of Sciences)(山东省人工智能研究院,齐鲁工业大学(山东省科学院));School of Computing, National University of Singapore(新加坡国立大学计算机学院)
HTS-Attack: Heuristic Token Search for Jailbreaking Text-to-Image Models
Agency for Science, Technology and Research (A*STAR)(新加坡科技研究局);CFAR;IHPC;Mohammed Bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);Nanyang Technological University(南洋理工大学);Alibaba Group(阿里巴巴集团);University of Oxford(牛津大学)
Roots Beneath the Cut: Uncovering the Risk of Concept Revival in Pruning-Based Unlearning for Diffusion Models
University of Georgia(佐治亚大学);Carnegie Mellon University(卡内基梅隆大学);Northeastern University(东北大学);Stevens Institute of Technology(史蒂文斯理工学院);University of Arizona(亚利桑那大学)
Unlearning Sensitive Information in Multimodal LLMs: Benchmark and Attack-Defense Evaluation
Department of Computer Science(计算机科学系);University of North Carolina at Chapel Hill(北卡罗来纳大学 Chapel Hill 分校);School of Artificial Intelligence and Data Science(人工智能与数据科学学院);University of Science and Technology of China(中国科学技术大学)