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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
사용자 프로필 조회 응답에 이메일이 추가되었습니다. 이메일은 개인정보에 해당하므로 API 응답에 포함될 때 주의가 필요합니다.
이
GetUserProfileResponseDTO가 오직 인증된 사용자 본인의 정보를 조회하는 경우에만 사용된다면 문제가 없지만, 만약 다른 사용자의 프로필을 조회하는 데에도 사용된다면 개인정보가 노출될 수 있는 보안 취약점이 될 수 있습니다.이 응답이 다른 사용자에게 노출될 가능성이 있다면, 이메일 필드를 제거하거나 다른 사용자를 위한 별도의 공개용 프로필 DTO를 만드는 것을 고려해 주세요. 예를 들어,
GetPublicUserProfileResponse와 같이 민감한 정보를 제외한 DTO를 분리하는 것이 좋은 방법이 될 수 있습니다.