Malicious Downloads files can hijack Codex and Claude Code
Forever Security says a planted AGENTS.md or CLAUDE.md can change agent settings, install an npm package, or expose an OAuth token.
Forever Security says a planted AGENTS.md or CLAUDE.md can change agent settings, install an npm package, or expose an OAuth token.
In Forever Security tests, Codex followed the planted file in more than 90% of attempts and Claude exposed a login token about half the time.
Forever stopped the agent before code ran; Codex followed the planted file in more than 90% of isolated tests.
A customer agent tried to install npm package function-color; tests also stole Claude Code OAuth tokens in about half of runs.
Entities are extracted by the model from each article. First seen , last mentioned . Watching keeps it in this browser only (no account); the watchlist page and dashboard alerts use it.
Today 643 readers · 779 views · 588 reads · all time 158K views