Skip to content
AI News HubLIVE
More
In-site rewrite1 min read

'Ghostcommit' hides prompt injection in images to fool AI agents, steal secrets

Summary

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.

SourceHacker News AIAuthor: Brajeshwar
'Ghostcommit' hides prompt injection in images to fool AI agents, steal secrets
Report an error

The correction channel is not available yet. You can copy the article reference below for later.

Correction instructions
Read article

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 Group, by associate professor Sudipta Chattopadhyay and researcher Murali Ediga, who shared it with BleepingComputer.

Key points and analysis

Article intelligence

EngineersAdvanced

Key points

  • Attack hides prompt injection in PNG images to bypass AI code reviewers.
  • Coding agent reads the image and steals secrets from repository's .env file.
  • Developed by University of Missouri-Kansas City's ASSET Research Group.

Highlights and analysis are generated automatically and may contain errors. Check the original source.