Add --chat-id parameter to --ccserver for Telegram chat ID verification#2
Closed
KyongSik-Yoon wants to merge 148 commits intokstost:mainfrom
Closed
Add --chat-id parameter to --ccserver for Telegram chat ID verification#2KyongSik-Yoon wants to merge 148 commits intokstost:mainfrom
KyongSik-Yoon wants to merge 148 commits intokstost:mainfrom
Conversation
Author
|
@claude please code review |
jpun
added a commit
to jpun/cokacdir
that referenced
this pull request
Feb 26, 2026
…ication Merged from kstost#2 with conflict resolution. Combines chat-id restriction with existing public group chat access logic.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--ccserver)에--chat-id <ID>옵션 추가--chat-id미지정 시 기존 imprinting 인증 방식 그대로 동작 (하위 호환)Motivation
기존 imprinting 방식은 봇 이름만 알면 먼저 메시지를 보내는 사람이 owner로 등록되는 보안 취약점이 있음.
--chat-id로 명시적으로 허용 대상을 지정하면 봇 이름이 노출되어도 권한 없는 사용자가 접근 불가.Usage