Skip to content
EventPast event

gh-aw announcement: Copilot token is sent to OpenAI

1 reports1 reporting sourcesLatest report

Start here

AI overview

The gh-aw security advisory discloses that the Copilot backend of the universal-llm-consumer engine writes the Copilot credential into OPENAI_API_KEY as well, and api-proxy then sends it as a Bearer credential to api.openai.com. OpenAI returns 401 and echoes the first 8 and last 4 characters of the key; this response is written to upstream-errors.jsonl and uploaded with the run's agent artifacts; in a public repository this is equivalent to public disclosure.

Generated by AI from reports · Updated 24 days ago

Progress timeline

Nov 5
  1. github/gh-aw
    gh-aw advisory: the Copilot backend of the universal-llm-consumer engine sends the Copilot token to api.openai.com

    The gh-aw security advisory discloses that the Copilot backend of the universal-llm-consumer engine also writes the Copilot credential into OPENAI_API_KEY, and api-proxy then sends it as a Bearer credential to api.openai.com. OpenAI returns 401 and echoes the first 8 and last 4 characters of the key; this response is written to upstream-errors.jsonl and uploaded with the run's agent artifacts, so in a public repository it is public. Each run triggers three such requests, and the existing redaction logic does not match this echo format. Affected are behavior-definition engines that use this mode on the Copilot backend, including aider, crush, goose, opencode, deepseek-harness, and externally defined pydantic-ai; the built-in copilot, claude, gemini, codex, and pi engines are not affected.

Related discussion

Total 1 items