ClaudeMods
☰
KO
● 0 명 접속 중 · 조회 0 회
후원프로젝트 제출
GitHub 저장소 · 작성자 Fazzani

secret-mask

Claude Code transcript에서 비밀(API 키, 토큰, 비밀번호, 개인 키)을 가리고, 가려진 값에 마우스를 올리면 표시합니다.

번역 완료

이 mod 소개

Claude Code transcript에서 비밀을 가립니다. 가려진 값에 마우스를 올리면 표시됩니다.

● Your key is sk-a•••••••• ← hover → sk-ant-api03-AbCd…

감지 항목: 개인 키 블록, Anthropic / OpenAI / GitHub / GitLab / Slack / Google / Stripe / npm 토큰, AWS 액세스 키와 시크릿 키, JWT, Azure AccountKey= / SharedAccessKey= / sig=, URL의 비밀번호(postgres://user:pass@host), Bearer 토큰과 일반 할당(password=…、api_key: …、client_secret=…)입니다. 참조와 자리 표시자(${TOKEN}, <key>, process.env.X, xxxx)는 그대로 둡니다. 규칙은 hooks/patterns.ts에 있습니다.

가리는 위치: assistant 답변과 프롬프트(마우스를 올리면 표시), bash 출력과 텍스트 결과(처음 12줄을 가림, ctrl+o로 나머지 표시), 도구 호출 인수 / 구조화된 결과 / 다른 에이전트의 메시지(가림, 표시하지 않음)입니다. 마스킹은 화면에 보이는 것만 바꾸며 모델과 transcript 파일에는 실제 값이 그대로 보입니다. 마우스를 올리려면 포인터를 보고하는 화면이 필요하며 데스크톱 앱이나 터미널의 전체 화면 배치에서 사용할 수 있습니다.

설치

먼저 작성자의 README에서 marketplace와 플러그인 이름을 확인하세요. 저장소 구조에 따라 명령어가 달라질 수 있습니다.

claude plugin marketplace add Fazzani/claude-mods
claude plugin install secret-mask
원문 / README

secret-mask

Masks secrets in the Claude Code transcript. Hover a masked value with the mouse to reveal it.

● Your key is sk-a••••••••      ← hover → sk-ant-api03-AbCd…

What is detected

Private key blocks, Anthropic / OpenAI / GitHub / GitLab / Slack / Google / Stripe / npm tokens, AWS access keys and secret keys, JWTs, Azure AccountKey= / SharedAccessKey= / sig=, passwords in URLs (postgres://user:pass@host), Bearer tokens, and generic assignments (password=…, api_key: …, client_secret=…). References and placeholders (${TOKEN}, <key>, process.env.X, xxxx) are left alone. The rules live in hooks/patterns.ts.

Where

| Row | Behaviour | | --- | --- | | Assistant replies, your prompts | Masked, with hover reveal (a reply that contains a secret is drawn as plain text, not markdown) | | Bash output and other text results | Masked, with hover reveal (first 12 lines; ctrl+o shows the rest) | | Tool call arguments, structured results, messages from other agents | Masked, no reveal |

Masking only changes what the screen shows. The model and the transcript file still see the real values.

Hover needs a surface that reports the pointer: the desktop app, or the terminal's fullscreen layout.

동명의 다른 작품

비슷한 프로젝트