RealDevSquad / RealDevSquad/website-backend
Email and Phone Fields Not Obfuscated in profileDiff Response
@lakshayman is already working on this.
Since Oct 8, 2024.
- Dominant language
- JavaScript
- Stars
- 74
- Forks
- 276
- Avg merge
- 1d 26m
- Merged PRs (30d)
- 14
Description
Issue Description
The profileDiff response returns the user's email and phone fields without obfuscation. This exposes sensitive information to the client, leading to privacy and security issues.
Expected Behavior
The email and phone fields in the profileDiff response should be obfuscated (masked) to protect sensitive user information before being returned to the client.
Current Behavior
Currently, the email and phone fields are returned as plain text in the profileDiff response, without obfuscation, potentially exposing sensitive data.
Screenshots
(No screenshots available as this is a backend issue)
Reproducibility
- This issue is reproducible
- This issue is not reproducible
Steps to Reproduce
- Fetch the
profileDiffof a user that contains an email and phone. - Observe that the email and phone are returned in plain text in the response, without any obfuscation.
Severity/Priority
- Critical
- High
- Medium
- Low
Additional Information
This issue affects the privacy of user data and needs to be addressed promptly to ensure compliance with data privacy standards.
Checklist
- I have read and followed the project's code of conduct.
- I have searched for similar issues before creating this one.
- I have provided all the necessary information to understand and reproduce the issue.
- I am willing to contribute to the resolution of this issue.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.