An image can pass automated safety checks while showing harmful content to its human viewer. We introduce DRJanus, a visual camouflage attack that exploits the gap between standard dynamic range (SDR) processing and high dynamic range (HDR) display. Automated systems often read only an image's SDR base, whereas HDR viewers reconstruct its appearance using an auxiliary gain map. DRJanus inverts this reconstruction to embed two independently chosen color images in a single JPEG, without querying or optimizing against the target model. It preserves the chosen SDR base exactly and reconstructs HDR targets at an average PSNR of 43.03 dB across 400 images. On a benchmark of 100 sexual-content images, DRJanus evades detection by all six tested commercial moderation services and nine vision-language models. Across five agents, each evaluated on 120 task cases per threat setting, attack success ranges from 31.67% to 100% for moderation evasion and from 95% to 100% for task manipulation. We also explore cross-view consistency checks as a mitigation. These findings expose a gap in visual trust: securing what a machine reads does not secure what a user sees. A demo is available at https://qshen0629.github.io/DRJanus/
Figures & tables
Figure 1: Two DRJanus examples. (a) Explicit HDR content (censored) evades Amazon Rekognition. (b) Codex sends budget.pdf to the attacker’s address. Each pair shows two views of one file.
Figure 2: DRJanus image construction and dual-view rendering. (a) The gain map is derived from the chosen SDR base and HDR target and packaged with the base and reconstruction metadata in one file. (b) The system reads the SDR base, while the HDR viewer reconstructs the target, presenting different recipient addresses to the system and the user. The schematic uses ideal gains with p=1 , h=1.01 , and δ=δs=δh=1/64 .
Figure 3: RGB gain-map reconstruction with h=1.01 and p=1 . For comparison, AlphaDog’s white-background reconstruction is grayscale, whereas DRJanus preserves the target colors.
(a) Mechanism and representation capabilities
Method
Mechanism
RGB pairing
Carrier
AlphaDog
Alpha blend
✗
RGBA PNG
RGB
RGB gain
✓
JPEG / PNG
Single-channel
Shared gain
✗
JPEG / PNG
Table 1: Dual-view capabilities (a) and JPEG reconstruction fidelity at full gain (b). Metrics are averaged over 400 images per construction.
Figure 4: Mean reconstruction PSNR over the same 400 RGB images for h=1.01 and h=1.5 . Both groups use p=1 ; only the full-gain threshold metadata differs. The inset enlarges 1≤b≤1.01 .
System
HDR (%)
AlphaDog (%)
DRJanus (%)
Moderation services
OpenAI [ 19 ]
100
0
0
Amazon [ 20 ]
100
0
0
Azure [ 54 ]
100
0
0
Google [ 21 ]
100
0
0
Tencent [ 55 ]
100
100
0
Table 2: Sexual-content detection rates over 100 targets per condition. † : API safety block, counted as detection. DRJanus: both RGB and single-channel gain-map JPEG constructions.
Agent (model)
Moderation evasion (%)
Task manipulation (%)
Codex ( gpt-6.1-sol )
100.00
100.00
Claude Code ( claude-opus-5-5 )
98.33
100.00
ZCode ( glm-5.3-flash )
100.00
100.00
Kimi Code ( kimi-k3 )
100.00
100.00
DSH ( deepseek-v4.1-flash )
31.67
95.00
Table 3: Verified attack success rates over 120 cases per agent and threat setting.
Images
Flagged / Total
Rate (%)
Whole-image replacements
200/200
100.00
Local edits
200/200
100.00
Single-channel attacks
200/200
100.00
Camera HDR originals
1/134
0.75
Table 4: DRJanus attack detection and camera false alerts.