{"id":240639,"date":"2026-07-11T07:18:28","date_gmt":"2026-07-11T12:18:28","guid":{"rendered":"https:\/\/lifeboat.com\/blog\/2026\/07\/ghostcommit-hides-prompt-injection-in-images-to-fool-ai-agents-steal-secrets"},"modified":"2026-07-11T07:18:28","modified_gmt":"2026-07-11T12:18:28","slug":"ghostcommit-hides-prompt-injection-in-images-to-fool-ai-agents-steal-secrets","status":"publish","type":"post","link":"https:\/\/lifeboat.com\/blog\/2026\/07\/ghostcommit-hides-prompt-injection-in-images-to-fool-ai-agents-steal-secrets","title":{"rendered":"\u2018Ghostcommit\u2019 hides prompt injection in images to fool AI agents, steal secrets"},"content":{"rendered":"<p><a class=\"aligncenter blog-photo\" href=\"https:\/\/lifeboat.com\/blog.images\/ghostcommit-hides-prompt-injection-in-images-to-fool-ai-agents-steal-secrets.jpg\"><\/a><\/p>\n<p>A PNG hiding a prompt injection could steal your repo\u2019s secrets, researchers demonstrate. The technique, dubbed \u2018Ghostcommit,\u2019 slipped past AI code reviewers CodeRabbit and Bugbot, which never open image files at all, then convinced a coding agent to read a repo\u2019s.env and write every secret into the code as a list of numbers.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A PNG hiding a prompt injection could steal your repo\u2019s secrets, researchers demonstrate. The technique, dubbed \u2018Ghostcommit,\u2019 slipped past AI code reviewers CodeRabbit and Bugbot, which never open image files at all, then convinced a coding agent to read a repo\u2019s.env and write every secret into the code as a list of numbers.<\/p>\n","protected":false},"author":427,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-240639","post","type-post","status-publish","format-standard","hentry","category-robotics-ai"],"_links":{"self":[{"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/posts\/240639","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/users\/427"}],"replies":[{"embeddable":true,"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/comments?post=240639"}],"version-history":[{"count":0,"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/posts\/240639\/revisions"}],"wp:attachment":[{"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/media?parent=240639"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/categories?post=240639"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/tags?post=240639"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}