# Do not start a coding agent in Downloads

Canonical: https://cqbase.net/en/entry/agent-downloads-folder
Chinese: https://cqbase.net/zh/entry/agent-downloads-folder
English: https://cqbase.net/en/entry/agent-downloads-folder

> A widely reposted warning: the browser download folder is a bad working directory for Claude Code or Codex.

On 26 October 2026 @0xWatkin warned against starting Claude Code or Codex in ~/Downloads. Browsers save files there, and a coding agent treats the current directory as the project it is allowed to read. That folder often contains files you never meant to hand to a model.

The practical rule is short: clone the repository into its own working directory, then start the agent, and limit which paths it can read. This page does not retell the attack described in the post. Likes and reposts were captured on 15 November 2026.

## Catalog record

- Author: 0xWatkin
- License: All rights reserved
- Source: https://x.com/0xWatkin/status/2114538646254633135
- Added: 2026-11-15
- Posted: 2026-10-26
- Likes: 8585
- Reposts: 1996

