arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.13115cs.CRcs.LG
收藏

DiffusionHijack: 供应链PRNG后门攻击针对扩散模型和量子随机数防御

DiffusionHijack: Supply-Chain PRNG Backdoor Attack on Diffusion Models and Quantum Random Number Defense

School of Electronics, Electrical Engineering and Physics, Fujian University of Technology(福建工程学院电子工程与物理学院);School of Humanities, Fujian University of Technology(福建工程学院人文学院);Institute of Applied Physics and Materials Engineering, University of Macau(澳门大学应用物理与材料工程学院)

Ziyang You, Liling Zheng, Xiaoke Yang, Xuxing Lu

AI总结:

研究提出DiffusionHijack攻击通过供应链注入恶意PRNG控制扩散模型生成图像,采用量子随机数生成器有效防御该攻击,降低输出相似度至随机基线水平。

摘要:

扩散模型依赖伪随机数生成器(PRNG)进行潜在噪声采样。我们提出了DiffusionHijack,一种供应链后门攻击,通过注入恶意PRNG实现对生成图像的确定性控制。恶意PRNG迫使Stable Diffusion v1.4、v1.5和SDXL完美重现攻击者选择的内容(SSIM = 1.00,N = 100次试验),而无需修改模型权重。该攻击无法被现有模型审核和内容审核机制检测到,因为它完全在神经网络计算图之外运行。该攻击在随机采样(eta > 0)下仍有效,绕过基于CLIP的安全检查器(成功率98-100%),且与用户提示无关。作为对策,我们用量子随机数生成器(QRNG)替代PRNG,提供信息论不可预测性。在N = 100个提示-模型组合中,QRNG防御完全中和攻击,降低输出相似度至随机基线水平(SSIM < 0.20对于SD 1.x模型,< 0.45对于SDXL)。本工作揭示了一个之前未被注意到的供应链漏洞,并为生成式AI系统提供硬件层面的根本缓解方案。

英文摘要:

Diffusion models depend on pseudo-random number generators (PRNGs) for latent noise sampling. We present DiffusionHijack, a supply-chain backdoor attack that hijacks the PRNG to deterministically control generated images. A malicious PRNG, injected via compromised packages, forces pixel-perfect reproduction of attacker-chosen content (SSIM = 1.00, N = 100 trials) on Stable Diffusion v1.4, v1.5, and SDXL -- without modifying model weights. The attack is inherently undetectable by existing model auditing and content moderation mechanisms, as it operates entirely outside the neural network computation graph. The attack remains effective under stochastic sampling (eta > 0), bypasses CLIP-based safety checkers (98-100% success), and operates independently of the user's prompt. As a countermeasure, we replace the PRNG with a quantum random number generator (QRNG), which provides information-theoretic unpredictability. Across N = 100 prompt-model combinations, QRNG defense completely neutralizes the attack, reducing output similarity to random baseline levels (SSIM < 0.20 for SD 1.x models, < 0.45 for SDXL). This work exposes a previously overlooked supply-chain vulnerability and offers a hardware-level fundamental mitigation for generative AI systems.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑