A security audit of smartphones using Anthropic's Claude Code AI agent revealed a critical problem: data that users believe has been permanently deleted continues to be stored in system caches and remains readable. In one case, the agent discovered a screenshot of a crypto wallet seed phrase taken in 2022 and supposedly deleted by the owner.

Claude Code is an Anthropic tool for developers that can autonomously work with files on a device and execute commands via text prompt. As part of a voluntary audit, the device owner tasked the agent with scanning the smartphones for files that shouldn't be there.

146,000 "deleted" files on an iPhone

The first finding was made after backing up an iPhone to a MacBook. The agent noticed the PhotoData/Thumbnails folder, which stored more than 146,000 files from 2021–2025. These were photos, videos, and screenshots that the owner had once erased, including from the "Recently Deleted" section. Some of them were preserved in full resolution.

Among the findings were:

  • a passport photo for a visa;
  • screenshots of a banking app with account numbers;
  • a snapshot of a crypto wallet seed phrase taken in 2022;
  • a photo of an ID and a bank card;
  • personal images.

The reason is that iOS stores compressed copies of images in the Spotlight search index cache. A check showed that 23 apps have access to these files — from weather forecast services to the flashlight.

Biometric data on Android

The second finding was made on an Android smartphone. The agent pointed to the /data/system/users/0/faceunlock/cache folder and another one inside Google Play services. It stored more than 14,000 frames — regular and infrared — with timestamps and geolocation. Almost all of them were recorded over the past 15 months. While the owner was viewing the folder, a new file appeared in it.

Some of the processes writing to this folder were related to system diagnostics, but old apps with camera permission could also have had access to it. The owner disabled diagnostics, revoked unnecessary permissions, and cleared the cache, but where the frames went is unknown.

Community skepticism

The iPhone story caused almost no controversy, but the Android data met with a cautious reaction. Several specialists reminded that the /data/system folder belongs to the system: without root access, it cannot be read by a regular backup or via ADB. The owner confirmed that the path does indeed require root, but did not specify the model or Android version.

Others pointed to a characteristic of AI agents: when asked to "find front-camera snapshots outside the gallery," the tool returns everything that matches the description, so the files should have been opened and checked manually. The remark was acknowledged as fair. Some commenters urged waiting for an independent review so that service data for face unlock would not be mistaken for surveillance.

Cryptalist analysis: The incident exposes a systemic risk for crypto asset holders: storing a seed phrase as a screenshot — even with subsequent deletion — does not ensure confidentiality, since OS caches and search indexes retain copies in defiance of user expectations. For the industry, this is an argument in favor of hardware wallets and offline key storage, and for developers, a signal about the need for a more transparent policy on handling sensitive data in mobile OSes.