client-side scanning

term

privacycryptographygovernance & risk

Kept in this browser · My desk

Analysis of content on the user's own device, before it is encrypted or after it is decrypted, to detect material on a list or flagged by a classifier and report the matches; proposed as a way to find illegal content without breaking end-to-end encryption.

Its proponents present it as a way out of the encryption debate: messages stay end-to-end encrypted in transit, and only matches with known illegal material, such as child sexual abuse material (CSAM), leave the device. Its critics, among them fourteen cryptographers and security engineers in 2021, the United Nations human-rights office in 2022 and more than 800 researchers who wrote to the European Union in 2025, answer that the scanning runs at one of the ends encryption was meant to protect, that it cannot be accurate enough at the scale of hundreds of millions of users, and that a system built to look for one kind of content can be extended to others. Apple designed such a system for iCloud Photos in 2021 and abandoned it in 2022.

The idea and its critics. The most cited analysis is Bugs in our Pockets, published on 14 October 2021 by Hal Abelson, Ross Anderson, Steven Bellovin and eleven other cryptographers and security engineers. They describe client-side scanning (CSS) as the alternative some in industry and government proposed to weakening encryption or handing police backdoor keys: data would be analysed in the clear on the device, and only what matched would be revealed to the authorities. Their conclusion is that it neither guarantees efficacious crime prevention nor prevents surveillance, that it creates serious security and privacy risks for all of society, and that it can fail, be evaded and be abused.

How the matching works. The paper describes two technologies. Perceptual hashing reduces an image to a short fingerprint that survives re-encoding and resizing, and some functions survive cropping and rotation; the device compares fingerprints with a list of known targeted images, so the provider never has to hold the images themselves. Examples are phash, Microsoft's PhotoDNA, Facebook's PDQ and Apple's NeuralHash, and for child sexual abuse material (CSAM) the lists come from bodies with legal cover to keep such material, such as the National Center for Missing and Exploited Children (NCMEC) in the United States and the Internet Watch Foundation (IWF) in the United Kingdom. Machine-learning classifiers, the other technology, are trained on innocuous and targeted examples and can flag images never seen before, which is also why their errors are harder to bound. Both have a non-zero false-positive rate, and matches are meant to go to human reviewers before any report.

The one deployable design, withdrawn. Apple announced in August 2021 a hybrid client-server system to detect known CSAM among photos uploaded to iCloud, paused it that September after criticism from researchers and digital-rights groups, and said in December 2022 that it was abandoning it. Bugs in our Pockets records that it took barely two weeks for outsiders to reverse engineer the version of NeuralHash already present in iOS 14, which led at once to demonstrated attacks, and the authors objected that child protection is too complex to be reduced to 'thirty strikes and you're out'. In August 2023, answering the Heat Initiative, a child-safety group that urged it to revive the plan, Apple's Erik Neuenschwander wrote that scanning every user's privately stored iCloud data would create new threat vectors for data thieves and that scanning for one type of content opens the door to bulk surveillance; the Heat Initiative called the decision disappointing.

What goes wrong. The device is in the adversary's hands, so the scanner can be studied and evaded. Hao and colleagues showed that images can be altered so that their perceptual hash changes completely while they look the same, and that such manipulations transfer between algorithms; Jain and colleagues found that for 99.9% of the images they studied a nearly imperceptible change was enough to escape detection, and that a detector tuned to catch such changes would flag orders of magnitude more images, making manual review infeasible. The same techniques run in reverse alter innocent content so that it raises alarms at scale and swamps the defences. The tools are proprietary and built from a corpus that a third party may control (PhotoDNA is available only under a non-disclosure agreement), and the paper notes that PhotoDNA hashes can be decoded into a 26 by 26 grey-scale thumbnail. Above all, a system built to look for one kind of content can be pointed at others by whoever controls the list.

The law in Europe. The Office of the United Nations High Commissioner for Human Rights (OHCHR) wrote on 4 August 2022 that imposing general client-side scanning would be a paradigm shift affecting everyone using modern means of communication, not only people involved in crime, and would make security breaches more likely. The European Commission's proposal of May 2022 for a permanent regulation against child sexual abuse included detection orders, called chat control 2.0, alongside risk assessment, removal orders and a new agency of the European Union (EU), the EU Centre on Child Sexual Abuse. The Council's position of 26 November 2025 deliberately excluded mandatory detection orders, made the temporary voluntary regime permanent and kept the EU Centre; trilogues began on 9 December 2025, and the sixth, on 29 September 2026, brought no breakthrough on detection in non-public content. The interim derogation from the ePrivacy Directive meanwhile ran out: in March 2026 the European Parliament backed an extension to 3 August 2027 by 458 votes to 103, on condition that it should not apply to end-to-end encrypted communications, but on 26 March 2026 it rejected the Commission's extension proposal by 228 to 311, and the regime lapsed after 3 April 2026. Regulation (EU) 2026/1881 of 24 July 2026 reinstated voluntary detection until 3 April 2028; it does not apply to end-to-end encrypted communications and does not authorize client-side scanning of them.

The law in the United Kingdom. A technology notice under section 121 of the Online Safety Act 2023 can require a provider to use accredited technology to identify child sexual exploitation and abuse (CSEA) content communicated publicly or privately, and the minimum standards of accuracy for accreditation came into force on 4 September 2026; the government adds that accreditation does not mean Ofcom, the communications regulator, will consider a notice necessary and proportionate.

Accuracy and scale. A letter of 9 September 2025, signed by 807 scientists and researchers from 37 countries by the time signatures closed, said that detecting known and new CSAM for hundreds of millions of users with acceptable accuracy is not feasible, whatever the filter, and that on-device detection inherently undermines the protections end-to-end encryption is meant to give. On the other side, NCMEC, whose CyberTipline received 21.3 million reports in 2025, after 20.5 million in 2024 and 36.2 million in 2023, holds that end-to-end encryption without an exception for detecting child sexual exploitation would leave millions of incidents of abuse hidden.

Neighbours. End-to-end encryption, which CSS claims to leave intact; key escrow and going dark, the older forms of the same argument; lawful interception; and the crypto wars.

Also known as: on-device scanning, device-side scanning, varredura no lado do cliente, varredura no dispositivo

Sources

← Back to C Back to the glossary