Beginner FriendlyFoundryNFT
100 EXP
View results
Submission Details
Severity: medium
Invalid

`Soulmate::writeMessageInSharedSpace` overrides the previous message, leading to unviewed message when other soulmate modifes it without reading.

Summary

Soulmate::writeMessageInSharedSpace modifies the previous message, thus if the other soulmate writes a new message then they will not be able to read the message via Soulmate::readMessageInSharedSpace written by their soulmate.

Vulnerability Details

The vulnerability is present in the Soulmate::writeMessageInSharedSpace function which modifies the previously written message by anyone of the soulmate.
It occurs because if the other soulmate writes the message before reading, then they will not able to view the message via Soulmate::readMessageInSharedSpace which was written by the first soulmate.

Impact

Soulmates will not be able to read messages effectively.

Tools Used

Manual Review

Recommendations

Allow the soulmates to write new message only if the other soulmate have read it.

Updates

Lead Judging Commences

0xnevi Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.