🇰🇷 한글 설명
OpenAI Codex Desktop이 워크스페이스를 열 때 Git 메타데이터를 자동으로 검사하는 과정에서 발생하는 취약점입니다. 공격자가 제어하는 .git/config 설정이 포함된 저장소를 열 경우, Git 필터 설정을 통해 사용자 권한으로 악성 프로그램을 실행할 수 있습니다. 이 과정에서 샌드박스 우회 및 사용자 승인 절차 없이 파일 접근 및 자격 증명 탈취가 가능합니다.
💡 쉬운 설명
해커가 만든 특수한 폴더를 프로그램으로 열기만 해도 컴퓨터에 몰래 악성 프로그램이 실행될 수 있는 보안 결함입니다. 사용자가 별도의 승인을 하지 않아도 해커가 내 파일을 읽거나 삭제할 수 있어 매우 위험합니다.
🇺🇸 원문 (English)
OpenAI Codex Desktop for Windows and macOS automatically inspected Git metadata and working-tree status when a user opened a workspace. If the workspace contains a repository with preserved attacker-controlled .git/config, the attr.tree setting and a configured clean or process filter can cause Git to run an attacker-controlled program. The program runs outside Codex's command sandbox with the signed-in user's privileges, without a workspace-trust prompt, command approval, or interaction with a model. The attacker can read, modify, or delete files and access credentials available to that user. Exploitation requires Git to be available on PATH and the user to open the attacker-prepared repository with its local Git configuration intact. An ordinary Git clone does not copy the source repository's .git/config and is not sufficient by itself.
📍 영향받는 시스템
OpenAI Codex Desktop for Windows and macOS (Git이 PATH에 설치된 환경)
⚔️ 공격 벡터
공격자가 조작한 .git/config 설정이 포함된 저장소를 사용자가 Codex Desktop으로 여는 방식
🛡️ 대응 방법
OpenAI Codex Desktop을 최신 보안 패치가 적용된 버전으로 업데이트하고, 신뢰할 수 없는 저장소의 로컬 Git 설정을 주의하십시오.
🔧 검증 코드
Git이 설치되어 있다면 해당 취약점이 실행될 수 있는 환경적 조건이 충족된 것입니다.
git --version && echo 'Git is installed on PATH'