行业精选

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

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

精选理由

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

AI 摘要

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

AI 翻译 · 中文

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

宝玉作者回应 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 c