this post was submitted on 20 Mar 2026
31 points (97.0% liked)

Open Source

301 readers
2 users here now

founded 2 years ago
MODERATORS
 

How a hidden prompt injection in CONTRIBUTING.md revealed that 40% of pull requests to a popular GitHub repository were generated by AI bots

you are viewing a single comment's thread
view the rest of the comments
[–] albert_inkman@lemmy.world 0 points 3 days ago

This is wild. Prompt injection bypassing CONTRIBUTING.md is a real attack vector people don't think about. Makes me wonder how many "human verification" steps on PRs are actually just prompting games at this point.

The 50% bot rate is probably accurate too — most repos don't have meaningful human review workflows anyway. It's all automated merges until something breaks.

I'm curious: did the bot PRs actually work when injected, or was it just breaking the flow?