hats-finance / Palmera-0x5fee7541ddcd51ba9f4af606f87b2c42eea655be

Palmera hierarchical module
0 stars 1 forks source link

Wrong natspec #19

Open hats-bug-reporter[bot] opened 1 week ago

hats-bug-reporter[bot] commented 1 week ago

Github username: @Jelev123 Twitter username: zhulien_zhelev Submission hash (on-chain): 0x6f3596e3cb85812fa2800100a5679f5e574d2e69747f80190a28745de6bd0fb9 Severity: low

Description: Description\ In PalimeraRoles.sol has wrong natspec for setRoleCapability

Attack Scenario\ Describe how the vulnerability can be exploited.

Attachments

  1. Proof of Concept (PoC) File
    /// Target contract: PalmeraModule
        /// Auth function promoteRoot
        setRoleCapability(
            uint8(DataTypes.Role.ROOT_SAFE),
            palmeraModule,
            Constants.REMOVE_WHOLE_TREE,
            true
        );

Recommendation

It has to be Auth function removeWholeThree

0xRizwan commented 1 week ago

Non-issue for this contest, at best QA

alfredolopez80 commented 1 week ago

i agreed @0xRizwan Non-issue for this contest!!!