본문 바로가기
C.W.K.
Stream
Lesson 03 of 05 · published

권한과 sandbox, 같은 안전 다이얼로 비교하기

~14 min · permissions, sandbox, cross-tool, safety

Level 0🌱 입문자
0 XP0/70 lessons0/11 achievements
0/120 XP to next level120 XP to go0% complete

용어는 달라도 모든 CLI에는 같은 신뢰 다이얼이 있어

Claude Code는 도구별 allow·ask·deny, Codex는 승인 정책과 read-only·workspace-write·danger-full-access sandbox, Gemini는 container sandbox와 도구 제외 목록을 써. 표현은 달라도 "무엇을 허용하고 언제 사람에게 물을까"라는 질문은 같아.

낯선 저장소와 민감한 코드는 자주 묻게 하고, 실제 자격 증명이 없는 격리된 CI나 container에서는 더 넓게 맡겨. 적절한 위치는 어떤 CLI인지가 아니라 작업의 실패 비용으로 정해져. sandbox 하나만 믿지 말고 권한, 격리, 감사 기록을 겹쳐 써.

Code

세 가지 CLI에서 같은 신뢰 수준 설정하기·bash
# Tight: untrusted code, ask before anything
claude --permission-mode ask
codex --ask-for-approval untrusted --sandbox read-only
gemini --sandbox -e "Edit,Write,RunShellCommand"

# Default: trusted local work
claude                     # default: ask for risky, allow for safe
codex                      # on-request + workspace-write
gemini                     # no sandbox, normal tools

# Loose: inside Docker / sandbox VM
claude --dangerouslySkipPermissions
codex --yolo
gemini --sandbox            # container ITSELF is the safety
CLI가 아니라 작업에 맞춰 고르기·text
Job                                          Trust dial
First time on someone else's repo            Tight (any CLI)
Daily coding on familiar repo                Default
Background CI in Docker                      Loose (CLI doesn't matter much)
Migration touching auth/payments             Tight
"Just play with this idea"                  Default

# The CLI matters less than the dial position.

External links

Exercise

실제 저장소의 인증 코드를 다루는 것처럼 민감한 작업을 하나 골라봐. 선택한 CLI에서 엄격, 기본, 느슨한 설정으로 각각 실행하고, 어느 제약이 도움이 됐고 어느 제약이 불필요한 번거로움이었는지 적어.

Progress

Progress is local-only — sign in to sync across devices.
이 페이지에서 버그를 발견하셨거나 피드백이 있으세요?문제 신고

댓글 0

🔔 답글 알림 (로그인 필요)
로그인댓글을 남기려면 로그인해 주세요.

아직 댓글이 없어요. 첫 댓글을 남겨보세요.