Tuesday, October 27, 2026Oct 27RSSby nabulinesFollow @nabu_lines
Hacks

Poisoned AGENTS.md files can hijack Claude Code and Codex sessions

A Japanese developer post with about 3,706 likes lays out a simple attack chain against coding agents.

ニケちゃん@tegnike on X
3.7kHacks
@tegnike · Security & hacks

Developer @tegnike outlined an attack chain early Tuesday: visiting a hacker's website silently downloads an AGENTS.md file into the Downloads folder.

If the user then starts a Claude Code or Codex session inside Downloads, the agent loads the attacker's AGENTS.md as its starting context, so the attacker's instructions shape what the agent does.

Why it mattersAgent instruction files are trusted by default. The post is a reminder not to launch coding agents from folders that collect untrusted downloads.

More from Oct 27, 2026

Full roundup →
The daily brief · coming soon

Five minutes. Every story that mattered.

One email each morning with the AI, crypto and tech posts everyone is talking about, explained in plain English.

Launching soon. No spam, unsubscribe anytime. Follow @nabu_lines meanwhile.