Skip to content
MediumNewsLLM-specific

Data Exfiltration via Image Rendering Fixed in Amp Code

Published
Record updated
View JSON

Summary

A vulnerability in Amp Code from Sourcegraph allowed an attacker to exfiltrate sensitive information through markdown-driven image rendering. The proof-of-concept used a prompt injection hosted on a website that asked the AI to back up chat data to a third-party site by rendering an image with that data as a query parameter. The author notes the issue is similar to one previously discussed in GitHub Copilot, which Microsoft fixed.

Mitigation

Fixed in Amp Code (fix details not specified in source).