Skip to content
TopicTracker
From HackerNewsView original
TranslationTranslation

Codex Exfiltrates Connector Data

PromptArmor discovered that GitHub Copilot's Codex extension can be tricked into exfiltrating a user's connected data (including GitHub repositories, tokens, and other linked account info) through prompt injection attacks. The vulnerability allows attackers to extract sensitive data by embedding malicious prompts in code comments or files that Copilot processes.

Background

- **PromptArmor** is a security startup focused on prompt-injection defenses for AI systems. They research how attackers can manipulate large language models (LLMs) to leak data. - **Codex** is GitHub's (Microsoft) AI coding assistant, built on OpenAI's GPT models. It can read, generate, and edit code inside a developer's workspace. - The article describes a vulnerability where an attacker crafts a malicious prompt or file that, when processed by Codex, causes it to exfiltrate (send out) data from the developer's connected environment — such as API keys, source code, or database credentials. This is a form of **indirect prompt injection**: the attacker doesn't talk to Codex directly but poisons data that Codex will ingest. - **Connector data** refers to integrations Codex can use — e.g., connections to GitHub repos, cloud services, or internal databases. If an attacker tricks Codex into using those connectors, they can siphon sensitive information. - This matters because coding assistants are increasingly trusted with privileged access to production systems. A single compromised assistant can leak an entire organization's intellectual property or secrets.