2026년 10월 29일 약 11시간 동안 Cursor 확장 마켓플레이스에서 anthropic.claude-code 변조 빌드가 내려받아졌습니다.

보안 공지 — Cursor VS Code 확장 프로그램 마켓플레이스에서 Anthropic.claude-code 악성 버전(2.1.312 및 2.1.313) 확인 (2026.10.29)
https://cursor.com/ko/blog/claude-code-extension-security-notice
보안 공지 — Cursor VS Code 확장 프로그램 마켓플레이스에서 Anthropic.claude-code 악성 버전(2.1.312 및 2.
오늘 Cursor VS Code 확장 프로그램 마켓플레이스에 등록된 특정 확장 프로그램인 Windows 및 MacOS용 Anthropic.claude-code 버전 2.1.312 및 2.1.313과 관련된 보안 사고를 확인했습니다.
cursor.com
변조 범위는 extension.js 앞에 붙은 약 66줄짜리 로더입니다. 나머지 코드는 정상 빌드와 같고, 확장은 평소처럼 동작합니다.
로더는 공격자의 SSH 공개키(svc-telemetry)를 authorized_keys에 넣고, 공격자 서버로 역방향 SSH 터널을 열려 하며, 재부팅 후에도 유지되는 스크립트를 심습니다. 확장을 삭제하거나 업데이트해도 백도어는 지워지지 않습니다. 변조 빌드가 마켓플레이스에 올라간 경위도 공개되지 않았습니다.
타임라인
| 시간 | 내용 |
| 10/29 02:27 PT (09:27 UTC) | 변조 빌드가 Cursor 마켓플레이스에서 올라감 |
| 10/29 13:35 PT (20:35 UTC) | 마켓플레이스에서 제거. 노출 약 11시간 |
| 10/29 | Cursor가 마켓플레이스를 일시 중단하고, 다른 확장을 감사하며 접근 키를 교체한 뒤 복구 |
| 10/30 | Cursor가 공지를 갱신해 2.1.312를 악성 버전에 추가하고 지표를 수정 |
| 10/30 | 호스팅 업체 협조로 공격자 C2 서버가 오프라인 처리됨 |
영향 범위
악성으로 확인된 버전은 anthropic.claude-code 2.1.312와 2.1.313입니다. 대상 빌드는 macOS(darwin-arm64)와 Windows(win32-x64)였습니다. Cursor는 영향받은 사용자를 최대 5,000명으로 추정했습니다. 이 수치는 상한 추정이며, 실제 감염 수는 공개되지 않았습니다.
Anthropic은 변조 빌드를 만들거나 게시하지 않았고, 자사 시스템과 공식 채널은 침해되지 않았다고 밝혔습니다. Visual Studio Marketplace와 npm @anthropic-ai/claude-code 패키지는 영향이 없었습니다. 공식 채널은 2.1.313을 건너뛰고 2.1.314로 진행했습니다.
동작 방식
로더는 확장 모듈이 로드될 때 실행됩니다. Claude와 대화를 시작할 필요가 없고, 설치 스크립트도 쓰지 않습니다. 난독화는 없고, 오류는 조용히 무시되어 정상 확장 동작을 방해하지 않습니다. 2차 실행 파일은 내려받지 않으며, 필요한 스크립트와 키는 확장 안에 이미 들어 있습니다.
실행 단계는 다음과 같습니다.
- 정찰: 호스트명, 사용자명, OS, 아키텍처, 홈·작업 디렉터리, 전역 Git 이메일, 그리고 KEY·TOKEN·SECRET·PASS·AWS·GCP 등이 들어간 환경 변수의 이름(최대 40개)을 수집합니다. 값은 수집하지 않습니다.
- 키 심기: 라벨이 svc-telemetry인 Ed25519 공개키를 authorized_keys에 추가합니다. 이미 있으면 다시 넣지 않습니다.
- SSH 서비스 활성화 시도: Linux는 sshd 시작, macOS는 Remote Login 활성화(비밀번호 없는 sudo가 있을 때), Windows는 OpenSSH Server 설치와 시작을 시도합니다. 실패해도 다음 단계로 넘어갑니다.
- 역방향 터널: 내장된 별도 개인키를 임시 파일(.stk_ + 16진수 10자)로 풀어 쓰고, 60초마다 공격자 서버로 역방향 SSH 터널을 다시 시도합니다. 서버가 할당한 원격 포트를 피해자의 로컬 22번 포트로 연결하는 방식입니다. 호스트 키 검사는 끄며, autossh가 있으면 우선 사용합니다.
- 지속성 설치:
- 비콘: 로드 약 1.5초 뒤 공용 IP를 조회하고, 정찰 결과와 단계별 상태를 HTTP POST로 C2의 8099 포트 /beacon과 로컬호스트에 보냅니다. 통신은 암호화되지 않습니다.
공격이 실제로 성공하는 조건. 공격자가 접속하려면 피해자 PC의 SSH 서비스가 켜져 있어야 하고, 대부분의 환경에서 이는 관리자 권한이 필요합니다. Cursor는 대부분의 macOS·Windows 환경에서 오류와 권한 문제로 접속이 막혔다고 밝혔습니다. 하지만 터널이 실패해도 키와 지속성 파일은 이미 심어졌을 수 있습니다.
Expel은 고객사 4곳의 Mac 1대씩에서 사건을 조사했습니다. 이 중 한 건은 터널이 실행 중이었지만 공격자 키는 없었습니다. 또 영향받은 사용자 중 한 명은 로컬 관리자였습니다. svc-telemetry 키 확인만으로 감염 여부를 판단하면 안 되는 이유입니다.
Malicious Claude Code Extension (2.1.313) in Cursor Marketplace Plants Attacker SSH Key and Persistence (2026.10.30)
https://www.ox.security/blog/malicious-claude-code-extension-cursor-ssh-backdoor/
Compromised Claude Code Extension (2.1.313) in Cursor Marketplace Plants Attacker SSH Key and Persistence
A malicious Claude Code extension in Cursor’s marketplace added an attacker-controlled SSH key, installed persistence, and potentially affected up to 5,000 users.
www.ox.security
Trojanized Claude Code Extension Delivered Persistent SSH Backdoor to Developer Machines (2026.10.30)
https://www.stepsecurity.io/blog/claude-code-extension-trojanized
Trojanized Claude Code Extension Delivered Persistent SSH Backdoor to Developer Machines - StepSecurity
On October 29, 2026, trojanized builds (2.1.312 and 2.1.313) of the official Claude Code VS Code extension were published to Cursor's VS Code Extension Marketplace for macOS and Windows.
www.stepsecurity.io
Trojanized Claude Code Extension Plants an SSH Backdoor (2026.10.30)
https://opensourcemalware.com/blog/trojanized-claude-code-extension-plants-persistent-ssh-backdoor
Trojanized Claude Code Extension Plants an SSH Backdoor
v 2.1.313 of the Cursor Marketplace Claude Code extension contains malware
opensourcemalware.com
Inside a malicious Claude Code-branded extension and its persistent SSH backdoor (2026.10.31)
https://www.microsoft.com/en-us/security/blog/2026/10/30/inside-malicious-claude-code-branded-cursor-extension-persistent-ssh-backdoor/
Inside a malicious Claude Code-branded extension and its persistent SSH backdoor | Microsoft Security Blog
Microsoft analyzes a malicious Claude Code–branded extension, its persistent SSH backdoor, and guidance to detect and remediate it.
www.microsoft.com
Fake Claude Code extension in Cursor: How to find the backdoor (2026.10.31)
https://expel.com/blog/blog-fake-claude-code-extension-cursor-ssh-backdoor/
Fake Claude Code extension in Cursor: How to find the backdoor
A fake Claude Code extension in Cursor’s marketplace planted SSH backdoors on developer machines. See what Expel found and how to check every machine.
expel.com
Trusted Tool, Malicious Build: What the Trojanized Claude Code Extension Means for Developer Endpoints (2026.10.31)
https://www.morphisec.com/blog/trusted-tool-malicious-build-what-the-trojanized-claude-code-extension-means-for-developer-endpoints/
'보안위협 (악성코드, 취약점) > 보안위협 뉴스' 카테고리의 다른 글
| 시놀로지 (Synology) NAS 취약점 이용한 C3RB3R (.L0CK3D) 랜섬웨어 (0) | 2026.11.05 |
|---|---|
| 바이낸스 (Binance) 해킹 - 북한 배후 조직의 노트북 1대 해킹으로 발생한 역대 최대 암호화폐 탈취 사건 (0) | 2026.11.02 |
| 국가 연구기관들 서버 97% 백신 없이 운영 - 서버에 보안 프로그램 설치 고민 (0) | 2026.10.19 |
| 프랑스 냉장고 온도 조절 해킹 업데이트 - Copeland 와 Dixell XWEB 추가 (0) | 2026.10.18 |
| ARTEX 컴백 - 상용 제품으로 발전(?) (0) | 2026.10.16 |