By Vero SecurityBuilt and funded by Vero Security, the AI Security Engineering platform.Read the charter

Agent files in repositories

Repositories carry agent config such as AGENTS.md, CLAUDE.md, GEMINI.md, Copilot instruction files, Cursor rules, project MCP files and hook definitions. These files steer the agent for everyone who clones the repository, and researchers have hidden instructions inside them. Find them with organization wide code search and review them like code.

Read in this order

  1. OfficialAGENTS.mdStart here: the shared instruction file format many agents now read.
  2. ArticleRules File Backdoor: weaponizing Copilot and Cursor through rule files (Pillar Security)A working attack that hid instructions in rule files.
  3. OfficialGitHub: Understanding code search syntaxThe search syntax for finding these files across an organization.

Save your progress

We email you a sign-in link. No password.

By signing in you agree to the terms. The privacy policy explains how we use your details.

Join the AI security engineering community

Free. Roadmap updates, chapters near you, and first word when credentials open.

We’ll email you community updates. Unsubscribe anytime. By sending this you agree to the terms. The privacy policy explains how we use your details.