🛰️ Daily AI Frontier
‹ back to 2026-11-07

AGENTS.MD,危险危险危险!!!

量子位 LLM Agents 听雨 2026-11-07
Representative image for AGENTS.MD,危险危险危险!!!

TL;DR - A reported attack uses silently downloaded AGENTS.md or CLAUDE.md files to prompt coding agents into weakening safeguards, installing malicious dependencies, and stealing credentials. It highlights how trusted project instructions can become a persistence and prompt-injection vector.

  • Forever Security reportedly reproduced attack success rates above 90% for Codex and around 50% for Claude Code.
  • Payloads can alter global Codex configuration or Claude project settings, enabling persistent malicious services and proxy-based token theft.
  • Warning signs include unfamiliar instruction files, suspicious MCP server entries, malicious npm packages, and unauthorized ANTHROPIC_BASE_URL values.
  • Recommended defenses include avoiding agent launches in Downloads/Desktop, reviewing instruction files, isolating sensitive directories, and rotating exposed tokens.

view merged work →