메뉴
HN
Hacker News 31일 전

OpenAI 코덱스, 민감 파일 보호 기능 미구현 논란

IMP
8/10
핵심 요약

OpenAI의 코딩 에이전트인 'OpenAI Codex'가 `.env`, `.pem` 같은 민감한 파일이나 인증 정보를 AI 모델이 읽거나 전송하지 못하도록 차단하는 기능을 제공하지 않아 개발자들의 우려가 커지고 있습니다. 해당 기능의 부재는 치명적인 보안 사고로 이어질 수 있기 때문에, 저장소 및 전역 단위에서 작동하는 결정론적 차단 파일(`.codexignore` 등) 도입을 요구하는 목소리가 커지고 있습니다. 과거 논의에서 Rust 기반으로 구현하겠다던 계획이 아직 실효성 있게 이행되지 않아 이슈가 재발행된 상태입니다.

번역된 본문

오류가 발생했습니다. 페이지를 새로고침 해주세요.

openai / codex 공개 알림: 알림 설정을 변경하려면 로그인해야 합니다. Fork 14k, Star 94.2k

민감한 파일을 제외하는 방법 #2847 (새 이슈, 링크 복사, 열림 상태)

라벨: enhancement (새로운 기능 또는 요청), sandbox (권한 또는 샌드박싱과 관련된 이슈)

설명: mkusaka가 2025년 8월 28일에 이슈를 열었습니다.

이슈 내용: 어떤 기능을 보고 싶으신가요? 에이전트가 절대 읽거나 모델로 전송해서는 안 되는 파일 및 경로를 명시적으로 표시하는 메커니즘을 저장소 및 전역 수준에서 지원해야 합니다. (예: 저장소 로컬의 .codexignore 및 전역 무시 파일). 예를 들어, 구현 검사를 위해 node_modules/는 검색 가능하도록 두되, .env, .env.*, .pem, id_, .aws/, .ssh/ 파일은 절대 읽거나 전송하지 않도록 해야 합니다. 이 구성은 프로젝트 문서나 관례에 의존하는 대신, 결정론적(deterministic)이어야 하며 팀이나 저장소 간에 공유될 수 있고 사용자 기본값을 지원해야 합니다.

이 기능을 직접 구현하는 데 관심이 있으신가요? 네 — 기여 및 테스트를 진행할 수 있습니다.

추가 정보: 관련 이슈: #205. 이전 이슈는 두 가지 주요 사용 사례를 제기했습니다. 모델로 민감한 데이터가 전송되는 것을 방지하는 것과 크거나 관련 없는 파일을 제외하는 것입니다. 당시 해당 이슈는 Rust(codex-rs) 구현을 지지하며 종료되었지만, 2025년 8월 28일 현재 codex-rs에는 이에 상응하는 기능이 존재하지 않습니다. 논의를 다시 시작하여 디자인을 구체화하고자 합니다.

리액션은 현재 이용할 수 없습니다.

메타데이터: 담당자: 할당된 사람 없음 라벨: enhancement (새로운 기능 또는 요청), sandbox (권한 또는 샌드박싱과 관련된 이슈) 유형: 유형 없음 (구성된 필드가 없음) 프로젝트: 속한 프로젝트 없음 마일스톤: 마일스톤 없음 관계: 아직 없음 개발: 관련 브랜치나 풀 리퀘스트 없음

원문 보기
원문 보기 (영어)
Uh oh! There was an error while loading. Please reload this page . openai / codex Public Notifications You must be signed in to change notification settings Fork 14k Star 94.2k A way to exclude sensitive files #2847 New issue Copy link New issue Copy link Open Open A way to exclude sensitive files #2847 Copy link Labels enhancement New feature or request New feature or request sandbox Issues related to permissions or sandboxing Issues related to permissions or sandboxing Description mkusaka opened on Aug 28, 2025 Issue body actions What feature would you like to see? A mechanism to explicitly mark files/paths that the agent must not read or send to the model, at both repository and global levels (e.g., a repo-local .codexignore plus a global ignore file). Example: keep node_modules/ searchable for implementation checks, but never read or send .env, .env.*, .pem, id_ , .aws/ , .ssh/ . The configuration should be deterministic and shareable across the team/repo, and also support user defaults, rather than relying on project documentation or conventions. Are you interested in implementing this feature? Yes — I can contribute and tests. Additional information Related: #205 . That issue surfaced two primary use cases: preventing sensitive data from being sent to the model and excluding large/irrelevant files. The issue was closed in favor of a Rust (codex-rs) implementation, but as of 2025-08-28 a comparable feature does not appear to exist in codex-rs. I’d like to restart the discussion and converge on a design. Reactions are currently unavailable Metadata Metadata Assignees No one assigned Labels enhancement New feature or request New feature or request sandbox Issues related to permissions or sandboxing Issues related to permissions or sandboxing Type No type Fields Give feedback No fields configured for issues without a type. Projects No projects Milestone No milestone Relationships None yet Development No branches or pull requests Issue actions