Skip to content
Researchers hid a prompt injection inside a PNG, and AI fell for it

Researchers hid a prompt injection inside a PNG, and AI fell for it

Ground.News • July 12, 2026

A seemingly harmless PNG image could fool AI coding assistants into exposing sensitive data, according to new security research.

A novel supply chain attack called “Ghostcommit” that conceals prompt-injection instructions within PNG images to bypass AI code reviewers and trick coding agents into leaking secrets such as .env files. The ASSET Research Group demonstrated that a pull request containing an explicit, plain-text instruction to exfiltrate a repository’s .env file is caught immediately by LLM-based […] The post New Ghostcommit Attack Hides Malicious Prompts in Ima…

Researchers have built a pull request that steals a repository’s secrets by hiding the malicious instruction inside a PNG that AI code reviewers never open. The reviewer waves the change through. Later, a coding agent reads the picture, opens the repo’s .env, and writes every key into the source as a harmless-looking list of numbers. How ‘Ghostcommit’ works The attack is joint work from the University of Missouri-Kansas City’s ASSET Research Gro…

To view factuality data please Upgrade to Premium

To view ownership data please Upgrade to Vantage

Extracted Entities

Attack Types (1)

Campaigns (1)