RealDevSquad / RealDevSquad/website-backend

Email and Phone Fields Not Obfuscated in profileDiff Response

Open
#2,204 0 comments 0 reactions 1 assignee View on GitHub

@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
  1. Fetch the profileDiff of a user that contains an email and phone.
  2. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.