Skip to content

An agent moved a user’s files into a folder that did not exist

Google’s Gemini CLI was running file commands on a user’s own machine in July 2025. The files were lost.2

Get 30 minutes free every day, forever.3SOC 2 Type II499.9% uptime SLA on Pro4
Gemini CLIJuly 2025Snapshot first

14 of 50

Stopped Limited: the payment went out through the bank’s own system This case: Gemini CLI. The machine takes a snapshot first.

What happened

The agent moved files into a folder that was never created.

  1. July 2025. Google’s Gemini CLI agent tried to create a new folder for a user’s files.

  2. The move. The folder was never made. The agent moved the files into it anyway.

  3. Afterwards. The files were lost.2

How SealedBox handles it

On a SealedBox machine, a snapshot would have come before the move.

The machine, not the gate, takes a snapshot before every command, so lost files come back in one click. Press Play to watch the same command.5

A move into a folder that was never madeSample6
  1. runmv ./project/* ../folder_never_made/Snapshot firstsnapshot_before: true
  2. restorelatest_before_command{files_match: pre_command_checksums}
How easy

On a SealedBox machine, getting the files back takes one click.

Sample
New machinebase
Template
Pick a template
The agent works here, not on your laptop.
Snapshotsmachine
Before every command
Every ten minutes
Applies to every machine in my-project.
Snapshotsrestore
Before the move
Machine started
A restore takes one click.

In code

Or in three lines of code.

The same three steps, from the terminal.

Sample
What each line does
1Start a machinesealedbox machines createThe agent’s machine: sbx_4Tq9…e1.
2Check snapshotssealedbox snapshots statusOn by default: before every command.
3Restoresealedbox snapshots restoreThe files match the snapshot.
Try it

Give your agent its own machine today.

Its commands run there, not on your laptop, and a snapshot comes before every command.

Start free$ sealedbox machines createSnapshots on by default
Scope

What a snapshot doesn’t change, and three failures like this one.

Related cases
Answers8

Questions about this case and the gate.

Still have a question?Book a callAll questions
Does the agent run on my own computer?

No. It runs on its own SealedBox machine, so its commands touch that machine’s files, not yours.

How often are snapshots taken?

Before every command and every ten minutes. They are on by default.

Does a snapshot stop a bad command?

No. The command still runs; the snapshot comes first, so one click restores the files as they were.