# Claude Code 소스 코드가 npm 레지스트리 맵 파일을 통해 유출

> Clean Markdown view of GeekNews topic #28059. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=28059](https://news.hada.io/topic?id=28059)
- GeekNews Markdown: [https://news.hada.io/topic/28059.md](https://news.hada.io/topic/28059.md)
- Type: news
- Author: [2ykwang](https://news.hada.io/@2ykwang)
- Published: 2026-03-31T22:57:58+09:00
- Updated: 2026-03-31T22:57:58+09:00
- Original source: [reddit.com](https://www.reddit.com/r/ClaudeAI/comments/1s8ifm6/claude_code_source_code_has_been_leaked_via_a_map/)
- Points: 8
- Comments: 5

## Summary

npm 배포 시 포함된 **소스맵(.map) 파일**이 실제 코드를 그대로 노출시킨 사례입니다. 빌드 파이프라인에서 소스맵을 자동으로 포함하는 설정을 그대로 두면, 비공개 로직이 손쉽게 복원될 수 있습니다. 특히 **CLI나 SDK처럼 내부 API 호출 구조**를 담은 패키지는 피해 범위가 커지므로, 배포 전 소스맵 제거를 CI 단계에서 강제하는 것이 안전합니다.

## Topic Body

Anthropic의 Claude Code CLI 소스 코드가 npm 레지스트리의 .map  파일을 통해 통째로 복원 가능한 형태로 유출된 사례가 보고됐습니다.

## Comments



### Comment 54330

- Author: pencil6962
- Created: 2026-04-01T12:50:34+09:00
- Points: 1

중국산 모델의 성능이 더 좋아지겠군요

### Comment 54461

- Author: dydwls140
- Created: 2026-04-02T17:48:58+09:00
- Points: 1
- Parent comment: 54330
- Depth: 1

모델이 아닙니다. 에이전트일 뿐입니다.

### Comment 54299

- Author: antryu00
- Created: 2026-04-01T10:36:28+09:00
- Points: 1

분석해본 사람도 있어서, 나름 감사한 마음이 드네요. ㅎㅎ

### Comment 54270

- Author: vndk2234
- Created: 2026-04-01T09:18:13+09:00
- Points: 1

보안 신경쓴다는거랑 continue/욕할때 통계내는거는 인상적이네요 ㅋㅋㅋ

### Comment 54265

- Author: zxcv123
- Created: 2026-04-01T09:11:51+09:00
- Points: 1

흡수 야미
