You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
addDelegate auto-subscribes the delegate address to the channel owner, but don't unsubscribe it in removeDelegate
Due to this, any malicious channel can gain subs by just adding delegate and then calling removeDelegate to remove their authority
Current Behaviour
addDelegate auto-subscribe the delegate address to the caller
Reproduction steps
.
Screenshots
![DESCRIPTION](LINK.png)
POC if available
No response
Contract Name
Comm Contract
Chains
No response
The text was updated successfully, but these errors were encountered:
Expected Behaviour
addDelegate auto-subscribes the delegate address to the channel owner, but don't unsubscribe it in removeDelegate
Due to this, any malicious channel can gain subs by just adding delegate and then calling removeDelegate to remove their authority
Current Behaviour
addDelegate auto-subscribe the delegate address to the caller
Reproduction steps
.
Screenshots
![DESCRIPTION](LINK.png)
POC if available
No response
Contract Name
Comm Contract
Chains
No response
The text was updated successfully, but these errors were encountered: