COPS-IITBHU / COPS-IITBHU/BugHunt-COPS-Week

Vulnerability in creation of Duplicate Chats

Open
#16 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

- Multiple simultaneous requests to create a chat between the same users can result in duplicate chat entries
- Database inconsistency occurs unpredictable response times due to delay
- Expected fix in chat-controllers :- Only create one unique chat between two users and handle concurrent requests gracefully and return existing chat if already present and maintain consistent response times

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in the chat-controllers area mentioned by the issue and trace how chat creation handles simultaneous requests and existing chats. Check the related database behavior and verify that concurrent requests produce one unique chat, return the existing chat when appropriate, and avoid inconsistent response times.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.