Back Home

AI 安全

Seven Simple Image Transformations Can Bypass Three Commercial AI Content Moderation Services

Black-box experiments found that low-cost transformations such as color inversion and grayscale conversion—which require neither gradients nor surrogate models—can cause three commercial services to reclassify still-recognizable harmful images as safe. Multimodal content and the self-harm category were especially vulnerable, showing that foundation model–based moderation APIs should not be treated as a single safety boundary.

Boris Carmi · CC BY 4.0 · Image source
zh-Hant

Commercial content moderation services are shifting from specialized classifiers to multimodal foundation models, but broader semantic understanding does not automatically provide stronger adversarial robustness. New research submitted on July 30 tested three existing commercial image moderation services in a black-box setting, applying seven general-purpose image transformations across multiple datasets and harm categories. An attacker needs no model weights, gradients, query-trained surrogate model, or vendor-specific perturbations. By simply modifying the input image, the attacker can observe unsafe-to-safe decision flips.

Notably, the successful transformations were not limited to subtle noise imperceptible to humans. Fixed color inversion and grayscale conversion also caused all three services to miss harmful images whose content remained recognizable to people. The researchers additionally evaluated the results using perceptual-similarity constraints and varying transformation strengths, finding that robustness differed significantly across datasets, harm categories, and services. Multimodal content and self-harm imagery showed more pronounced weaknesses, suggesting that moderation models may rely on color distributions, local textures, or dataset shortcuts instead of learning stable representations of semantic harm.

These findings have greater implications for how APIs are used than for ranking any single model architecture. If an upload service, social platform, or generative platform treats a single moderation response as an admission gate, attackers can cheaply generate large numbers of variants offline and iteratively search for one that passes. A more robust pipeline should combine file and provenance signals, image normalization, multiscale or multiview checks, specialized classifiers, text and OCR branches, duplicate-content hashing, and human escalation procedures for high-risk categories. Teams should also record model and policy versions and maintain regression tests covering common editing operations.

One limitation is that this remains a point-in-time black-box measurement of vendor APIs: server-side models, thresholds, and policies may change without notice, and the paper cannot identify the internal failure mechanisms. Engineering teams should next watch whether the authors release the complete query set and reproduction code, and whether vendors can reproduce the effectiveness of their defenses under controlled conditions with fixed versions, equal query costs, and equivalent false-positive rates.

Sources

  1. Old Tricks, New Models: How Simple Image Transformations Break Modern AI-based Content Moderation
  2. Detect explicit content with SafeSearch