userTotalStaked invariant will be broken due to vulnerable implementations in release()
The release() function updates a user's self or community stake amount but fails to update the userTotalStaked accounting variable, breaking the invariant. After a slash and full release, the user's withdrawable amount is limited by the stale userTotalStaked, causing an underflow and loss of funds.
Gitcoin Passport - Identity Staking Invitational
High