Cursed Inventory is a mod that adds an item that curses the player that holds it. Every now and then the inventory of the cursed user is swapped with someone else's inventory.
Tarroook/CursedInventory
A Risk of Rain 2 mod that adds a cursed inventory that gets passed between players
C#