Prompt Injecting Contributing.md
TL;DR Highlight
A bot-targeted note in CONTRIBUTING.md made 21 of 40 new PRs self-identify as bots within 24 hours.
Who Should Read
An open-source maintainer flooded with low-quality AI-agent PRs and unable to tell them from human ones
Core Mechanics
- A bot-targeted note went into CONTRIBUTING.md
- It told agents to add 🤖🤖🤖 to the PR title for fast-tracked merging.
- Humans read it as a note, while agents read it as an instruction.
- Half the PRs self-identified in 24 hours
- 21 of 40 new PRs had 🤖🤖🤖 in the title.
- The author estimates 8 of the other 19 were bots too, putting the real share near 70%.
- PR volume spiked and quality dropped
- Volume jumped from a handful per day to 20, 50, or more.
- Descriptions felt templated and the enthusiasm was gone.
- Some bots were sophisticated
- They followed up in comments and responded to review feedback.
- At least one signed up on Glama and configured a Docker build.
- Some bots lied
- They hallucinated that checks were passing when they were not.
- This pushed the author to find a way to tell human PRs from agent PRs.
- PRs without the marker get human priority
- The author reviews PRs lacking 🤖🤖🤖 first.
- Next, the author plans to see if identified bots can be made to do valuable extra work.
Community Reactions
- One view: following CONTRIBUTING.md may not be injection at all
- A commenter likened it to the AI version of curl | bash.
- One view: the 30% that did not tag themselves is scarier
- A commenter argued defense must sit at the permission and execution layer, not the reasoning layer.
- A worry that bots may be told to pose as humans
- Commenters feared agents could be told to ignore self-identification instructions, blurring the line.
- A criticism that agents skip basic validation
- A commenter said running tests, lint, and CI is trivial and skipping it is a human operator failure.
- One view: cheap production versus costly verification is the root problem
- The commenter argued raising production cost would solve it.
How to Apply
- Add an agent-identification note to CONTRIBUTING.md
- Today, add a note telling agents to append a marker to their PR title.
- Label marked and unmarked PRs and track the ratio for a week.
- Make verification proof mandatory in the PR template
- Require test, lint, and CI result links as required fields rather than checkboxes.
- Push PRs without links to the back of the review queue.
- Add automated checks for unmarked PRs too
- Do not rely on self-identification; require passing CI before merge.
- Restrict permissions for first-time contributors.
Try It
# Paste into Claude or ChatGPT: design an agent-identification note for my CONTRIBUTING.md
You are an assistant helping an open-source maintainer.
Based on the repository info below, write 3 versions of a short note for the top of CONTRIBUTING.md.
Conditions:
- Human contributors should find it unobjectionable
- It tells automated agents to append {{identification marker}} to the PR title
- It states what happens when they do so, as {{benefit or handling}}
- It also asks agents to paste test, lint, and CI results into the PR body
Repository description: {{repository description}}Terminology
Related Papers
Frostbite: A new CPU architecture discovered, designed and verified by AI
AI agents designed a CPU from scratch, claiming 4.59x perf/W over a traditional core
Restricting AI agents in mobile operating systems platforms from capturing data
Signal now blocks OS-level AI agents from reading its screen on iOS 27 and Android
Actions Speak Louder than Words: Stateful Privacy Sniffing of LLM Agents via Behavioral Covert Channels in Web Interactions
Agents' link choices alone let attackers rebuild user queries at F1 0.89; SOR cuts it to 0.39.
Tracking and Limiting Unsupported Claim Propagation in Multi-Agent LLM Systems: A Provenance-Aware Framework
Passing claims with source, evidence and history kept equivalence at 5 agent stages at 96% versus 31%.
LLM assisted reverse engineering
Pointing an agent at binaries with skills and MD notes made years-long hacks feasible
Metrics-in-the-Loop: Complexity Feedback Reshapes Agent-Written Code
Injecting per-turn complexity reports into coding agents cut code erosion without changing correctness
Why is Gemini 4 Carbon taking so long?
Carbon took nearly an hour on bug fixes that Astra and Opus finished in minutes, mostly from extra unrequested work.
Weight-Space Programming builds neural networks like a 1990s researcher
LLM hand-wrote MNIST weights to 91.3%, using 1990s-style techniques