Thanks for the link! We have reviewed it before, and we warn the LLM that AGENTS.md and other similar files are “untrusted”. But worth rethinking it any time, for sure.
I think it’s clear that GitHub triage issues and similar workflows, specially PR review, are prone to prompt injection, because, well, they are.
But trying to select directories to “trust” doesn’t change this. Since that means the LLM could be jailbroken, the jailbroken LLM will load another folder. They appear to remove it from loading by default, but idk, that isn’t helping if the LLM loads it anyway. Maybe I’m misreading this, but I don’t think the framing they use is quite accurate? Or maybe it depends how their github action looks like, exactly.