Simple image transformations bypass commercial moderation APIs
All three evaluated foundation-model-based image-moderation services can be evaded using inexpensive, model-agnostic transformations
AI/ML arXiv 30 Jul 2026 Measurement Real-world evidence
Published as “Old Tricks, New Models: How Simple Image Transformations Break Modern AI-based Content Moderation”
Why it matters
Commercial moderation APIs should be used as part of a layered safety pipeline rather than as a sole security boundary.
Summary
Simple, model-agnostic image transformations can bypass all three major commercial image-moderation APIs, with color inversion alone achieving a 43.97% attack success rate against Amazon Rekognition. The study evaluates roughly 600 000 API queries across three providers, three public benchmarks, and seven transformations, showing that even under perceptual-similarity constraints (MS-SSIM ≥ 0.6) bypass rates exceed 30% for many attacks. Robustness varies by content type: self-harm images are the most vulnerable, while violent content is comparatively resistant. The evidence is strong, coming from a large-scale black-box audit, but the authors note limitations in scale, system coverage, and dataset representativeness.
What they found 2
- Color inversion bypasses Amazon Rekognition at 43.97% ASR and also succeeds against Google and OpenAI services.
“color inversion reaches an ASR of 43.97% for Amazon Rekognition, 6.29% for Google Cloud SafeSearch, and 8.11% for OpenAI omni-moderation”
- Self-harm content is the most vulnerable category, with higher ASR than sexual or violent content.
“self-harm is consistently the most vulnerable category, followed by sexual content, while violence exhibits the lowest ASR across most thresholds.”
Caveats 5
- while greyscale and Split-Merge RGB also produce nonzero bypass rates.
- Violence exhibits the lowest ASR across most thresholds.
- Experimental Scale and Cost. The large number of combinations across systems, datasets, transformations, and intensity levels requires a substantial volume of moderation queries.
- Generalization Across Moderation Systems. Although RQ1 shows that all three evaluated commercial services are vulnerable to simple image transformations, this does not imply that every moderation system fails in the same way or to the same extent.
- Dataset Generalization. Our findings depend on the selected benchmarks, which may not capture the full diversity of real-world unsafe content or align perfectly with each provider’s policy taxonomy.
What’s new here 4
- First large-scale black-box robustness audit of commercial image-moderation APIs using only inexpensive, gradient-free transformations.
- Cross-provider comparison (OpenAI, Amazon, Google) under a unified experimental protocol.
- Evaluation across multiple public safety datasets (LSPD, UnsafeBench, Hateful Memes) and detailed analysis of harm categories and transformation intensities.
- Release of artifacts and code to enable reproducibility and further research.