行业精选

Mitchell Hashimoto 用 prompt injection 抓不审代码的开源贡献者

作者回应 https://t.co/U5e1EMpEyX

精选理由

Mitchell 这招挺狠,在项目文件里埋 prompt injection,谁不审代码直接提交就封号。搞开源维护的可以学学这招防饭圈。

AI 摘要

Mitchell Hashimoto 在 AGENTS.md 文件和代码注释中嵌入 prompt injection。这些注入用于检测未审查代码就直接提交至另一位人类维护者的贡献者。一旦检测到,他会立即封禁该贡献者。他认为在开源项目中,跨越人类边界前进行人工审查是基本礼貌。

原文 · 宝玉

作者回应 https://t.co/U5e1EMpEyX

作者回应 x.com/mitchellh/stat… Mitchell Hashimoto @mitchellh Got em. I poison my AGENTS.md (and other things like code comments) all over the place with prompt injections like this to find people who don't review their code and sling it off to another human. Catches folks all the time and then its an instant ban. As I've said, I don't care if you don't review your own code. But if you're submitting code to an OSS project and crossing a human boundary, it is simple courtesy to do some human review. 🔗 View Quoted Tweet 💬 0 🔄 0 ❤️ 0 👀 1051 ⚡