gh-aw announcement: Copilot token is sent to OpenAI
Start here
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
- github/gh-awgh-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
- Older than 72 hours · Not included in the 72-hour figures
- X@aburacadabra_GitHub Agentic Workflows(gh-aw) 보안 권고 2건이 공개 GitHub Actions에서 gh-aw 쓰면 확인할 것 (일반 Actions나 Claude Code, Codex 전체가 영향받는…(opens the original post in a new tab)