Filter
Exclude
Time range
-
Near
2
14
1,035
30 Nov 2024
Here is a vulnerability that we recently identified @ChDefendersEth in the @stakedotlink contest! ๐Ÿ” It was located in the OperatorVCS contract: Vaults can keep withdrawing rewards even after being "removed"! Reason: vaultMapping isn't updated to false in the removeVault function. Here's how it works: 1. Add a vault โœ… 2. "Remove" it ๐Ÿšซ 3. Vault is still able to withdraw rewards ๐Ÿ’ธ Hereโ€™s the fix we proposed : function removeVault(uint256 _queueIndex) public { address vault = vaultsToRemove[_queueIndex]; vaultMapping[vault] = false; // ... rest of the function ... }
1
1
12
860