Overly broad GitHub Actions permissions: write-all
Workflow grants write-all token permissions across all GitHub scopes.
Fix: Declare minimal least-privilege permissions per job (e.g., contents: read).
Directory / Solidity / DeFi
Workflow grants write-all token permissions across all GitHub scopes.
Fix: Declare minimal least-privilege permissions per job (e.g., contents: read).
Using tx.origin in Solidity contracts is vulnerable to phishing and intermediary-contract attacks.
Fix: Remediate the flagged code pattern according to the Semgrep rule guidance.
Using tx.origin for authorization makes contracts vulnerable to phishing/intermediary-contract attacks.
Fix: Use msg.sender instead of tx.origin for authentication checks.
Executing commands via a shell with interpolated/concatenated arguments risks command injection.
Fix: Use execFile/spawn with an explicit argv array and shell: false so user data cannot alter command structure.
Executing shell commands with dynamically constructed strings risks command injection.
Fix: Remediate the flagged code pattern according to the Semgrep rule guidance.
Executing commands via a shell with interpolated/concatenated arguments risks command injection.
Fix: Use execFile/spawn with an explicit argv array and shell: false so user data cannot alter command structure.
Executing shell commands with dynamically constructed strings risks command injection.
Fix: Remediate the flagged code pattern according to the Semgrep rule guidance.
ERC1271._erc1271IsValidSignatureViaNestedEIP712(bytes32,bytes) (src/accounts/ERC1271.sol#198-291) contains an incorrect shift operation: d__erc1271IsValidSignatureViaNestedEIP712_asm_1 = 0x7fffffe000000000000010000000000 >> byte(uint256,uint256)(0,mload(uint256)(p__erc1271IsValidSignatureViaNestedEIP712_asm_1)) (src/accounts/ERC1271.sol#266)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
ERC4337.fallback() (src/accounts/ERC4337.sol#419-427) calls Receiver.receiverFallback() (src/accounts/Receiver.sol#36-54) which halt the execution return(uint256,uint256)(0x3c,0x20) (src/accounts/Receiver.sol#48)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
ERC6551._cachedChainId (src/accounts/ERC6551.sol#79) shadows: - EIP712._cachedChainId (src/utils/EIP712.sol#40)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
ERC6551.fallback() (src/accounts/ERC6551.sol#412-420) calls ERC6551.receiverFallback() (src/accounts/ERC6551.sol#376-403) which halt the execution return(uint256,uint256)(0x3c,0x20) (src/accounts/ERC6551.sol#399)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
Receiver.fallback() (src/accounts/Receiver.sol#27-33) calls Receiver.receiverFallback() (src/accounts/Receiver.sol#36-54) which halt the execution return(uint256,uint256)(0x3c,0x20) (src/accounts/Receiver.sol#48)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
Using tx.origin in Solidity contracts is vulnerable to phishing and intermediary-contract attacks.
Fix: Remediate the flagged code pattern according to the Semgrep rule guidance.
Using tx.origin for authorization makes contracts vulnerable to phishing/intermediary-contract attacks.
Fix: Use msg.sender instead of tx.origin for authentication checks.
OwnableRoles._rolesFromOrdinals(uint8[]) (src/auth/OwnableRoles.sol#161-170) contains an incorrect shift operation: roles = 1 << mload(uint256)(ordinals + i__rolesFromOrdinals_asm_0) | roles (src/auth/OwnableRoles.sol#167)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
ERC20Votes._DOMAIN_TYPEHASH (src/tokens/ERC20Votes.sol#55-56) shadows: - ERC20._DOMAIN_TYPEHASH (src/tokens/ERC20.sol#108-109)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
ERC20Votes._checkpointUpperLookupRecent(uint256,uint256) (src/tokens/ERC20Votes.sol#414-453) contains an incorrect shift operation: m__checkpointUpperLookupRecent_asm_0 = 16 << m__checkpointUpperLookupRecent_asm_0 | 0xff < h__checkpointUpperLookupRecent_asm_0 >> m__checkpointUpperLookupRecent_asm_0 << 3 >> 1 (src/tokens/ERC20Votes.sol#426)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
Base58.decode(string) (src/utils/Base58.sol#116-174) contains an incorrect shift operation: ! 1 << c_decode_asm_0 & 0x3fff7ff03ffbeff01ff (src/utils/Base58.sol#140-143)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
Base58.decodeWord(string) (src/utils/Base58.sol#177-210) contains an incorrect shift operation: ! 1 << c_decodeWord_asm_0 & 0x3fff7ff03ffbeff01ff (src/utils/Base58.sol#193-196)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
Base64.encode(bytes,bool,bool) (src/utils/Base64.sol#17-77) has bitwise-xor operator ^ instead of the exponentiation operator **: - mstore(uint256,uint256)(0x3f,ghijklmnopqrstuvwxyz0123456789-_ ^ ! fileSafe * 0x0670) (src/utils/Base64.sol#40)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
ECDSA.canonicalHash(bytes) (src/utils/ECDSA.sol#336-365) has bitwise-xor operator ^ instead of the exponentiation operator **: - v_canonicalHash_asm_0 = v_canonicalHash_asm_0 ^ 7 (src/utils/ECDSA.sol#349)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
ECDSA.canonicalHashCalldata(bytes) (src/utils/ECDSA.sol#368-400) has bitwise-xor operator ^ instead of the exponentiation operator **: - v_canonicalHashCalldata_asm_0 = v_canonicalHashCalldata_asm_0 ^ 7 (src/utils/ECDSA.sol#384)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
ECDSA.canonicalHash(uint8,bytes32,bytes32) (src/utils/ECDSA.sol#417-430) has bitwise-xor operator ^ instead of the exponentiation operator **: - v = v ^ 7 (src/utils/ECDSA.sol#422)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
EnumerableSetLib.add(EnumerableSetLib.Uint8Set,uint8) (src/utils/EnumerableSetLib.sol#369-377) contains an incorrect shift operation: mask_add_asm_0 = 1 << 0xff & value (src/utils/EnumerableSetLib.sol#373)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
EnumerableSetLib.remove(EnumerableSetLib.Uint8Set,uint8) (src/utils/EnumerableSetLib.sol#539-547) contains an incorrect shift operation: mask_remove_asm_0 = 1 << 0xff & value (src/utils/EnumerableSetLib.sol#543)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
EnumerableSetLib.indexOf(EnumerableSetLib.Uint8Set,uint8) (src/utils/EnumerableSetLib.sol#846-860) contains an incorrect shift operation: m_indexOf_asm_0 = 1 << 0xff & value (src/utils/EnumerableSetLib.sol#851)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
FixedPointMathLib.lnWad(int256) (src/utils/FixedPointMathLib.sol#277-347) contains an incorrect shift operation: r = r ^ byte(uint256,uint256)(0x1f & 0x8421084210842108cc6318c6db6d54be >> x >> r,0xf8f9f9faf9fdfafbf9fdfcfdfafbfcfef9fafdfafcfcfbfefafafcfbffffffff) (src/utils/FixedPointMathLib.sol#297-298)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
FixedPointMathLib.lambertW0Wad(int256) (src/utils/FixedPointMathLib.sol#353-439) contains an incorrect shift operation: l_lambertW0Wad_asm_0 = l_lambertW0Wad_asm_0 | byte(uint256,uint256)(0x1f & 0x8421084210842108cc6318c6db6d54be >> v_lambertW0Wad_asm_0 >> l_lambertW0Wad_asm_0,0x0706060506020504060203020504030106050205030304010505030400000000) + 49 (src/utils/FixedPointMathLib.sol#377-378)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
FixedPointMathLib.fullMulDiv(uint256,uint256,uint256) (src/utils/FixedPointMathLib.sol#460-516) has bitwise-xor operator ^ instead of the exponentiation operator **: - inv_fullMulDiv_asm_0 = 2 ^ 3 * d (src/utils/FixedPointMathLib.sol#494)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
FixedPointMathLib.fullMulDivUnchecked(uint256,uint256,uint256) (src/utils/FixedPointMathLib.sol#521-545) has bitwise-xor operator ^ instead of the exponentiation operator **: - inv_fullMulDivUnchecked_asm_0 = 2 ^ 3 * d (src/utils/FixedPointMathLib.sol#534)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
FixedPointMathLib.cbrt(uint256) (src/utils/FixedPointMathLib.sol#836-857) has bitwise-xor operator ^ instead of the exponentiation operator **: - z = 0xf << 0xf < x >> r_cbrt_asm_0 << r_cbrt_asm_0 / 3 / 7 ^ r_cbrt_asm_0 % 3 (src/utils/FixedPointMathLib.sol#845)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
FixedPointMathLib.cbrt(uint256) (src/utils/FixedPointMathLib.sol#836-857) contains an incorrect shift operation: z = 0xf << 0xf < x >> r_cbrt_asm_0 << r_cbrt_asm_0 / 3 / 7 ^ r_cbrt_asm_0 % 3 (src/utils/FixedPointMathLib.sol#845)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
FixedPointMathLib.log2(uint256) (src/utils/FixedPointMathLib.sol#927-939) contains an incorrect shift operation: r = r | byte(uint256,uint256)(0x1f & 0x8421084210842108cc6318c6db6d54be >> x >> r,0x0706060506020504060203020504030106050205030304010505030400000000) (src/utils/FixedPointMathLib.sol#936-937)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
FixedPointMathLib.log2Up(uint256) (src/utils/FixedPointMathLib.sol#943-949) contains an incorrect shift operation: r = r + 1 << r < x (src/utils/FixedPointMathLib.sol#947)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
FixedPointMathLib.log256Up(uint256) (src/utils/FixedPointMathLib.sol#1001-1007) contains an incorrect shift operation: r = r + 1 << r << 3 < x (src/utils/FixedPointMathLib.sol#1005)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
JSONParserLib.parseUintFromHex(string) (src/utils/JSONParserLib.sol#342-364) contains an incorrect shift operation: c_parseUintFromHex_asm_0 = byte(uint256,uint256)(0x1f & 0x3e4088843e41bac000000000000 >> mload(uint256)(s + i_parseUintFromHex_asm_0) & 0xff,0x3010a071000000b0104040208000c05090d060e0f) (src/utils/JSONParserLib.sol#350-354)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
JSONParserLib.decodeString(string) (src/utils/JSONParserLib.sol#370-478) contains an incorrect shift operation: 0x100000000000800400000000 >> escape_decodeString_asm_0 & 1 (src/utils/JSONParserLib.sol#451-455)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
LibBit.fls(uint256) (src/utils/LibBit.sol#16-28) contains an incorrect shift operation: r = r | byte(uint256,uint256)(0x1f & 0x8421084210842108cc6318c6db6d54be >> x >> r,0x0706060506020504060203020504030106050205030304010505030400000000) (src/utils/LibBit.sol#25-26)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
LibBit.clz(uint256) (src/utils/LibBit.sol#33-45) contains an incorrect shift operation: r = r ^ byte(uint256,uint256)(0x1f & 0x8421084210842108cc6318c6db6d54be >> x >> r,0xf8f9f9faf9fdfafbf9fdfcfdfafbfcfef9fafdfafcfcfbfefafafcfbffffffff) + ! x (src/utils/LibBit.sol#42-43)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
LibBit.ffs(uint256) (src/utils/LibBit.sol#53-69) contains an incorrect shift operation: r = 0x8040405543005266443200005020610674053026020000107506200176117077 << x * 0xb6db6db6ddddddddd34d34d349249249210842108c6318c639ce739cffffffff >> 250 << 2 >> 252 << 5 (src/utils/LibBit.sol#61-63)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
LibBitmap.toggle(LibBitmap.Bitmap,uint256) (src/utils/LibBitmap.sol#55-70) contains an incorrect shift operation: storageValue_toggle_asm_0 = sload(uint256)(storageSlot_toggle_asm_0) ^ 1 << shift_toggle_asm_0 (src/utils/LibBitmap.sol#62)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
LibBitmap.setTo(LibBitmap.Bitmap,uint256,bool) (src/utils/LibBitmap.sol#73-87) contains an incorrect shift operation: sstore(uint256,uint256)(storageSlot_setTo_asm_0,storageValue_setTo_asm_0 & ~ 1 << shift_setTo_asm_0 | ! ! shouldSet << shift_setTo_asm_0) (src/utils/LibBitmap.sol#81-85)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
LibBytes.indexOfByte(bytes,bytes1,uint256) (src/utils/LibBytes.sol#273-307) contains an incorrect shift operation: result = i_indexOfByte_asm_0 - start_indexOfByte_asm_0 + byte(uint256,uint256)(0x1f & 0x8421084210842108cc6318c6db6d54be >> byte(uint256,uint256)(24,0x02040810204081 * c_indexOfByte_asm_0 >> r_indexOfByte_asm_0),0xc0c8c8d0c8e8d0d8c8e8e0e8d0d8e0f0c8d0e8d0e0e0d8f0d0d0e0d8f8f8f8f8) ^ r_i
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
LibBytes.eqs(bytes,bytes32) (src/utils/LibBytes.sol#672-687) has bitwise-xor operator ^ instead of the exponentiation operator **: - result = mload(uint256)(a) == ! x_eqs_asm_0 + 31 ^ r_eqs_asm_0 >> 3 > b >> 8 + r_eqs_asm_0 ^ mload(uint256)(a + 0x20) >> 8 + r_eqs_asm_0 (src/utils/LibBytes.sol#684-685)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
LibMap.searchSorted(mapping(uint256 => uint256),uint256,uint256,uint256,uint256) (src/utils/LibMap.sol#258-288) has bitwise-xor operator ^ instead of the exponentiation operator **: - index = o + index ^ index ^ 1 * m (src/utils/LibMap.sol#285)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
LibPRNG.get(LibPRNG.LazyShuffler,uint256) (src/utils/LibPRNG.sol#424-440) contains an incorrect shift operation: m_get_asm_0 = 1 << 16 << u32_get_asm_0 - 1 (src/utils/LibPRNG.sol#436)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
LibRLP.encode.asm_0.encodeUint() (src/utils/LibRLP.sol#190-205) has bitwise-xor operator ^ instead of the exponentiation operator **: - mstore(uint256,uint256)(_o_encode_asm_0_encodeUint,mload(uint256)(31 ^ r__encode_asm_0_encodeUint)) (src/utils/LibRLP.sol#203)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
LibRLP.encode(bool) (src/utils/LibRLP.sol#329-337) contains an incorrect shift operation: mstore(uint256,uint256)(0x20 + result,0x01 << 0xf8 + 7 * ! x) (src/utils/LibRLP.sol#334)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
LibString.to7BitASCIIAllowedLookup(string) (src/utils/LibString.sol#503-519) contains an incorrect shift operation: result = result | 1 << byte(uint256,uint256)(0,mload(uint256)(o_to7BitASCIIAllowedLookup_asm_0)) (src/utils/LibString.sol#509)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
LibString.toCase(string,bool) (src/utils/LibString.sol#646-670) contains an incorrect shift operation: flags_toCase_asm_0 = 0x3ffffff << 70 + toUpper << 5 (src/utils/LibString.sol#658)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
LibString.escapeHTML(string) (src/utils/LibString.sol#727-756) contains an incorrect shift operation: ! 1 << c_escapeHTML_asm_0 & 0x500000c400000000 (src/utils/LibString.sol#743-747)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
LibString.escapeJSON(string,bool) (src/utils/LibString.sol#760-815) contains an incorrect shift operation: ! 1 << c_escapeJSON_asm_0 & e_escapeJSON_asm_0 (src/utils/LibString.sol#784-789)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
LibString.encodeURIComponent(string) (src/utils/LibString.sol#827-853) contains an incorrect shift operation: ! 1 & 0x47fffffe87fffffe03ff678200000000 >> c_encodeURIComponent_asm_0 (src/utils/LibString.sol#839-845)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
LibString.eqs(string,bytes32) (src/utils/LibString.sol#864-879) has bitwise-xor operator ^ instead of the exponentiation operator **: - result = mload(uint256)(a) == ! x_eqs_asm_0 + 31 ^ r_eqs_asm_0 >> 3 > b >> 8 + r_eqs_asm_0 ^ mload(uint256)(a + 0x20) >> 8 + r_eqs_asm_0 (src/utils/LibString.sol#876-877)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
LibZip.cdCompress(bytes) (src/utils/LibZip.sol#167-240) contains an incorrect shift operation: r_cdCompress_asm_0 = ! c_cdCompress_asm_0 + byte(uint256,uint256)(0x1f & 0x8421084210842108cc6318c6db6d54be >> byte(uint256,uint256)(24,0x02040810204081 * c_cdCompress_asm_0 >> r_cdCompress_asm_0),0xc0c8c8d0c8e8d0d8c8e8e0e8d0d8e0f0c8d0e8d0e0e0d8f0d0d0e0d8f8f8f8f8) ^ r_cdCompress_asm_0 >> 3 (src/utils/Lib
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
LibZip.cdCompress.asm_0.countLeadingZeroBytes() (src/utils/LibZip.sol#170-176) has bitwise-xor operator ^ instead of the exponentiation operator **: - _r_cdCompress_asm_0_countLeadingZeroBytes = 31 ^ _r_cdCompress_asm_0_countLeadingZeroBytes >> 3 | 0xff < x__cdCompress_asm_0_countLeadingZeroBytes >> _r_cdCompress_asm_0_countLeadingZeroBytes (src/utils/LibZip.sol#175)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
LibZip.cdDecompress(bytes) (src/utils/LibZip.sol#243-291) contains an incorrect shift operation: c_cdDecompress_asm_0 = ! c_cdDecompress_asm_0 + byte(uint256,uint256)(0x1f & 0x8421084210842108cc6318c6db6d54be >> byte(uint256,uint256)(24,0x02040810204081 * c_cdDecompress_asm_0 >> r_cdDecompress_asm_0),0xc0c8c8d0c8e8d0d8c8e8e0e8d0d8e0f0c8d0e8d0e0e0d8f0d0d0e0d8f8f8f8f8) ^ r_cdDecompress_asm_0 >> 3 (s
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
Using tx.origin in Solidity contracts is vulnerable to phishing and intermediary-contract attacks.
Fix: Remediate the flagged code pattern according to the Semgrep rule guidance.
Using tx.origin for authorization makes contracts vulnerable to phishing/intermediary-contract attacks.
Fix: Use msg.sender instead of tx.origin for authentication checks.
EnumerableSetLib.add(Uint8Set,uint8) (src/utils/g/EnumerableSetLib.sol#377-385) contains an incorrect shift operation: mask_add_asm_0 = 1 << 0xff & value (src/utils/g/EnumerableSetLib.sol#381)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
EnumerableSetLib.remove(Uint8Set,uint8) (src/utils/g/EnumerableSetLib.sol#547-555) contains an incorrect shift operation: mask_remove_asm_0 = 1 << 0xff & value (src/utils/g/EnumerableSetLib.sol#551)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
EnumerableSetLib.indexOf(Uint8Set,uint8) (src/utils/g/EnumerableSetLib.sol#854-868) contains an incorrect shift operation: m_indexOf_asm_0 = 1 << 0xff & value (src/utils/g/EnumerableSetLib.sol#859)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
JSONParserLib.parseUintFromHex(string) (src/utils/g/JSONParserLib.sol#346-368) contains an incorrect shift operation: c_parseUintFromHex_asm_0 = byte(uint256,uint256)(0x1f & 0x3e4088843e41bac000000000000 >> mload(uint256)(s + i_parseUintFromHex_asm_0) & 0xff,0x3010a071000000b0104040208000c05090d060e0f) (src/utils/g/JSONParserLib.sol#354-358)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
JSONParserLib.decodeString(string) (src/utils/g/JSONParserLib.sol#374-482) contains an incorrect shift operation: 0x100000000000800400000000 >> escape_decodeString_asm_0 & 1 (src/utils/g/JSONParserLib.sol#455-459)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
LibBitmap.toggle(Bitmap,uint256) (src/utils/g/LibBitmap.sol#59-74) contains an incorrect shift operation: storageValue_toggle_asm_0 = sload(uint256)(storageSlot_toggle_asm_0) ^ 1 << shift_toggle_asm_0 (src/utils/g/LibBitmap.sol#66)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
LibBitmap.setTo(Bitmap,uint256,bool) (src/utils/g/LibBitmap.sol#77-91) contains an incorrect shift operation: sstore(uint256,uint256)(storageSlot_setTo_asm_0,storageValue_setTo_asm_0 & ~ 1 << shift_setTo_asm_0 | ! ! shouldSet << shift_setTo_asm_0) (src/utils/g/LibBitmap.sol#85-89)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
LibBytes.indexOfByte(bytes,bytes1,uint256) (src/utils/g/LibBytes.sol#277-311) contains an incorrect shift operation: result = i_indexOfByte_asm_0 - start_indexOfByte_asm_0 + byte(uint256,uint256)(0x1f & 0x8421084210842108cc6318c6db6d54be >> byte(uint256,uint256)(24,0x02040810204081 * c_indexOfByte_asm_0 >> r_indexOfByte_asm_0),0xc0c8c8d0c8e8d0d8c8e8e0e8d0d8e0f0c8d0e8d0e0e0d8f0d0d0e0d8f8f8f8f8) ^ r
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
LibBytes.eqs(bytes,bytes32) (src/utils/g/LibBytes.sol#676-691) has bitwise-xor operator ^ instead of the exponentiation operator **: - result = mload(uint256)(a) == ! x_eqs_asm_0 + 31 ^ r_eqs_asm_0 >> 3 > b >> 8 + r_eqs_asm_0 ^ mload(uint256)(a + 0x20) >> 8 + r_eqs_asm_0 (src/utils/g/LibBytes.sol#688-689)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
LibMap.searchSorted(mapping(uint256 => uint256),uint256,uint256,uint256,uint256) (src/utils/g/LibMap.sol#267-297) has bitwise-xor operator ^ instead of the exponentiation operator **: - index = o + index ^ index ^ 1 * m (src/utils/g/LibMap.sol#294)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
LibPRNG.get(LazyShuffler,uint256) (src/utils/g/LibPRNG.sol#429-445) contains an incorrect shift operation: o_get_asm_0 = index & 15 >> u32_get_asm_0 << 4 + u32_get_asm_0 (src/utils/g/LibPRNG.sol#440)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
LibRLP.encode.asm_0.encodeUint() (src/utils/g/LibRLP.sol#194-209) has bitwise-xor operator ^ instead of the exponentiation operator **: - mstore(uint256,uint256)(_o_encode_asm_0_encodeUint,mload(uint256)(31 ^ r__encode_asm_0_encodeUint)) (src/utils/g/LibRLP.sol#207)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
LibRLP.encode(bool) (src/utils/g/LibRLP.sol#333-341) contains an incorrect shift operation: mstore(uint256,uint256)(0x20 + result,0x01 << 0xf8 + 7 * ! x) (src/utils/g/LibRLP.sol#338)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
LibString.to7BitASCIIAllowedLookup(string) (src/utils/g/LibString.sol#507-523) contains an incorrect shift operation: result = result | 1 << byte(uint256,uint256)(0,mload(uint256)(o_to7BitASCIIAllowedLookup_asm_0)) (src/utils/g/LibString.sol#513)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
LibString.toCase(string,bool) (src/utils/g/LibString.sol#650-674) contains an incorrect shift operation: flags_toCase_asm_0 = 0x3ffffff << 70 + toUpper << 5 (src/utils/g/LibString.sol#662)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
LibString.escapeHTML(string) (src/utils/g/LibString.sol#731-760) contains an incorrect shift operation: ! 1 << c_escapeHTML_asm_0 & 0x500000c400000000 (src/utils/g/LibString.sol#747-751)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
LibString.escapeJSON(string,bool) (src/utils/g/LibString.sol#764-819) contains an incorrect shift operation: ! 1 << c_escapeJSON_asm_0 & 0x3700 (src/utils/g/LibString.sol#799-806)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
LibString.encodeURIComponent(string) (src/utils/g/LibString.sol#831-857) contains an incorrect shift operation: ! 1 & 0x47fffffe87fffffe03ff678200000000 >> c_encodeURIComponent_asm_0 (src/utils/g/LibString.sol#843-849)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
LibString.eqs(string,bytes32) (src/utils/g/LibString.sol#868-883) has bitwise-xor operator ^ instead of the exponentiation operator **: - result = mload(uint256)(a) == ! x_eqs_asm_0 + 31 ^ r_eqs_asm_0 >> 3 > b >> 8 + r_eqs_asm_0 ^ mload(uint256)(a + 0x20) >> 8 + r_eqs_asm_0 (src/utils/g/LibString.sol#880-881)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
Action "actions/checkout@v5" is pinned to a mutable tag or branch rather than a full 40-character commit SHA.
Fix: Pin third-party GitHub Actions to an immutable 40-character commit SHA.
Action "foundry-rs/foundry-toolchain@v1.9.0" is pinned to a mutable tag or branch rather than a full 40-character commit SHA.
Fix: Pin third-party GitHub Actions to an immutable 40-character commit SHA.
Action "actions/checkout@v5" is pinned to a mutable tag or branch rather than a full 40-character commit SHA.
Fix: Pin third-party GitHub Actions to an immutable 40-character commit SHA.
Action "foundry-rs/foundry-toolchain@v1.9.0" is pinned to a mutable tag or branch rather than a full 40-character commit SHA.
Fix: Pin third-party GitHub Actions to an immutable 40-character commit SHA.
Action "actions/checkout@v5" is pinned to a mutable tag or branch rather than a full 40-character commit SHA.
Fix: Pin third-party GitHub Actions to an immutable 40-character commit SHA.
Action "foundry-rs/foundry-toolchain@v1.9.0" is pinned to a mutable tag or branch rather than a full 40-character commit SHA.
Fix: Pin third-party GitHub Actions to an immutable 40-character commit SHA.
Action "actions/checkout@v5" is pinned to a mutable tag or branch rather than a full 40-character commit SHA.
Fix: Pin third-party GitHub Actions to an immutable 40-character commit SHA.
Action "Ackee-Blockchain/wake-setup-action@0.1.0" is pinned to a mutable tag or branch rather than a full 40-character commit SHA.
Fix: Pin third-party GitHub Actions to an immutable 40-character commit SHA.
Action "actions/checkout@v5" is pinned to a mutable tag or branch rather than a full 40-character commit SHA.
Fix: Pin third-party GitHub Actions to an immutable 40-character commit SHA.
Action "foundry-rs/foundry-toolchain@v1.9.0" is pinned to a mutable tag or branch rather than a full 40-character commit SHA.
Fix: Pin third-party GitHub Actions to an immutable 40-character commit SHA.
Action "actions/checkout@v5" is pinned to a mutable tag or branch rather than a full 40-character commit SHA.
Fix: Pin third-party GitHub Actions to an immutable 40-character commit SHA.
Action "foundry-rs/foundry-toolchain@v1.9.0" is pinned to a mutable tag or branch rather than a full 40-character commit SHA.
Fix: Pin third-party GitHub Actions to an immutable 40-character commit SHA.
A floating Solidity pragma allows contracts to compile with different compiler versions that may introduce behavioral changes.
Fix: Pin pragma solidity to an exact audited compiler version (e.g., pragma solidity 0.8.28;).
A floating Solidity pragma allows contracts to compile with different compiler versions that may introduce behavioral changes.
Fix: Pin pragma solidity to an exact audited compiler version (e.g., pragma solidity 0.8.28;).
A floating Solidity pragma allows contracts to compile with different compiler versions that may introduce behavioral changes.
Fix: Pin pragma solidity to an exact audited compiler version (e.g., pragma solidity 0.8.28;).
A floating Solidity pragma allows contracts to compile with different compiler versions that may introduce behavioral changes.
Fix: Pin pragma solidity to an exact audited compiler version (e.g., pragma solidity 0.8.28;).
A floating Solidity pragma allows contracts to compile with different compiler versions that may introduce behavioral changes.
Fix: Pin pragma solidity to an exact audited compiler version (e.g., pragma solidity 0.8.28;).
A floating Solidity pragma allows contracts to compile with different compiler versions that may introduce behavioral changes.
Fix: Pin pragma solidity to an exact audited compiler version (e.g., pragma solidity 0.8.28;).
A floating Solidity pragma allows contracts to compile with different compiler versions that may introduce behavioral changes.
Fix: Pin pragma solidity to an exact audited compiler version (e.g., pragma solidity 0.8.28;).
A floating Solidity pragma allows contracts to compile with different compiler versions that may introduce behavioral changes.
Fix: Pin pragma solidity to an exact audited compiler version (e.g., pragma solidity 0.8.28;).
A floating Solidity pragma allows contracts to compile with different compiler versions that may introduce behavioral changes.
Fix: Pin pragma solidity to an exact audited compiler version (e.g., pragma solidity 0.8.28;).
A floating Solidity pragma allows contracts to compile with different compiler versions that may introduce behavioral changes.
Fix: Pin pragma solidity to an exact audited compiler version (e.g., pragma solidity 0.8.28;).
A floating Solidity pragma allows contracts to compile with different compiler versions that may introduce behavioral changes.
Fix: Pin pragma solidity to an exact audited compiler version (e.g., pragma solidity 0.8.28;).
A floating Solidity pragma allows contracts to compile with different compiler versions that may introduce behavioral changes.
Fix: Pin pragma solidity to an exact audited compiler version (e.g., pragma solidity 0.8.28;).
ERC1271.isValidSignature(bytes32,bytes) (src/accounts/ERC1271.sol#24-47) performs a multiplication on the result of a division: - uint256(hash) == ~ signature.length / 0xffff * 0x7739 (src/accounts/ERC1271.sol#37)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
ERC1271._erc1271UnwrapSignature(bytes) (src/accounts/ERC1271.sol#75-95) performs a multiplication on the result of a division: - calldataload(uint256)(result + result - 0x20) == 0x6492 * ~ address()() >> address()() / 0xffff (src/accounts/ERC1271.sol#86-93)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
ERC1271._erc1271UnwrapSignature(bytes).result (src/accounts/ERC1271.sol#79) is written in both result = calldataload(uint256)(o__erc1271UnwrapSignature_asm_0) (src/accounts/ERC1271.sol#91) result = o__erc1271UnwrapSignature_asm_0 + 0x20 (src/accounts/ERC1271.sol#92)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
ERC7821.execute(bytes32,bytes).opData (src/accounts/ERC7821.sol#77) is written in both opData = q_execute_asm_0 + 0x20 (src/accounts/ERC7821.sol#92) opData = calldataload(uint256)(q_execute_asm_0) (src/accounts/ERC7821.sol#93)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
ERC7821._executeBatchOfBatches(bytes32,bytes).batch (src/accounts/ERC7821.sol#153) is written in both batch = t__executeBatchOfBatches_asm_1 + 0x20 (src/accounts/ERC7821.sol#158) batch = calldataload(uint256)(t__executeBatchOfBatches_asm_1) (src/accounts/ERC7821.sol#159)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
ERC7821._execute(ERC7821.Call[],bytes32).i (src/accounts/ERC7821.sol#198) is a local variable never initialized
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
ERC7821._get(ERC7821.Call[],uint256).data (src/accounts/ERC7821.sol#232) is written in both data = o__get_asm_0 + 0x20 (src/accounts/ERC7821.sol#242) data = calldataload(uint256)(o__get_asm_0) (src/accounts/ERC7821.sol#243)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
LibERC7579.decodeSingle(bytes).data (src/accounts/LibERC7579.sol#84) is written in both data = executionData + 0x34 (src/accounts/LibERC7579.sol#94) data = executionData - 0x34 (src/accounts/LibERC7579.sol#95)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
LibERC7579.decodeSingleUnchecked(bytes).data (src/accounts/LibERC7579.sol#103) is written in both data = executionData + 0x34 (src/accounts/LibERC7579.sol#109) data = executionData - 0x34 (src/accounts/LibERC7579.sol#110)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
LibERC7579.decodeDelegate(bytes).data (src/accounts/LibERC7579.sol#119) is written in both data = executionData + 0x14 (src/accounts/LibERC7579.sol#128) data = executionData - 0x14 (src/accounts/LibERC7579.sol#129)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
LibERC7579.decodeDelegateUnchecked(bytes).data (src/accounts/LibERC7579.sol#137) is written in both data = executionData + 0x14 (src/accounts/LibERC7579.sol#142) data = executionData - 0x14 (src/accounts/LibERC7579.sol#143)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
LibERC7579.decodeBatchAndOpData(bytes).opData (src/accounts/LibERC7579.sol#207) is written in both opData = q_decodeBatchAndOpData_asm_0 + 0x20 (src/accounts/LibERC7579.sol#217) opData = calldataload(uint256)(q_decodeBatchAndOpData_asm_0) (src/accounts/LibERC7579.sol#218)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
LibERC7579.decodeBatchAndOpDataUnchecked(bytes).opData (src/accounts/LibERC7579.sol#233) is written in both opData = q_decodeBatchAndOpDataUnchecked_asm_0 + 0x20 (src/accounts/LibERC7579.sol#241) opData = calldataload(uint256)(q_decodeBatchAndOpDataUnchecked_asm_0) (src/accounts/LibERC7579.sol#242)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
LibERC7579.getExecution(bytes32[],uint256).data (src/accounts/LibERC7579.sol#262) is written in both data = o_getExecution_asm_0 + 0x20 (src/accounts/LibERC7579.sol#270) data = calldataload(uint256)(o_getExecution_asm_0) (src/accounts/LibERC7579.sol#271)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
LibERC7579.emptyCalldataBytes().result (src/accounts/LibERC7579.sol#329) is written in both result = 0 (src/accounts/LibERC7579.sol#332) result = 0 (src/accounts/LibERC7579.sol#333)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
Timelock.propose(bytes32,bytes,uint256) (src/accounts/Timelock.sol#227-274) ignores return value by LibERC7579.decodeBatchAndOpData(executionData) (src/accounts/Timelock.sol#233)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
Contract locking ether found: Contract OwnableRoles (src/auth/OwnableRoles.sol#16-535) has payable functions: - Ownable.transferOwnership(address) (src/auth/Ownable.sol#174-183) - Ownable.renounceOwnership() (src/auth/Ownable.sol#186-188) - Ownable.requestOwnershipHandover() (src/auth/Ownable.sol#192-205) - Ownable.cancelOwnershipHandover() (src/auth/Ownable.sol#208-218) - Ownable.completeOwnershi
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
Contract locking ether found: Contract TimedRoles (src/auth/TimedRoles.sol#32-282) has payable functions: - TimedRoles.setTimedRole(address,uint256,uint40,uint40) (src/auth/TimedRoles.sol#84-91) But does not have a function to withdraw the ether
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
Contract locking ether found: Contract ERC6909 (src/tokens/ERC6909.sol#18-542) has payable functions: - ERC6909.transfer(address,uint256,uint256) (src/tokens/ERC6909.sol#165-207) - ERC6909.transferFrom(address,address,uint256,uint256) (src/tokens/ERC6909.sol#222-286) - ERC6909.approve(address,uint256,uint256) (src/tokens/ERC6909.sol#291-312) - ERC6909.setOperator(address,bool) (src/tokens/ERC6909.
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
Contract locking ether found: Contract ERC721 (src/tokens/ERC721.sol#25-913) has payable functions: - ERC721.approve(address,uint256) (src/tokens/ERC721.sol#202-204) - ERC721.transferFrom(address,address,uint256) (src/tokens/ERC721.sol#252-310) - ERC721.safeTransferFrom(address,address,uint256) (src/tokens/ERC721.sol#313-316) - ERC721.safeTransferFrom(address,address,uint256,bytes) (src/tokens/ERC
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
Base58.encode(bytes) (src/utils/Base58.sol#20-81) performs a multiplication on the result of a division: - mstore(uint256,uint256)(j_encode_asm_0,w_encode_asm_0 / 0xff * 49) (src/utils/Base58.sol#72)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
Base58.encodeWord(bytes32) (src/utils/Base58.sol#84-113) performs a multiplication on the result of a division: - mstore(uint256,uint256)(o_encodeWord_asm_0 - 0x20,w_encodeWord_asm_0 / 0xff * 49) (src/utils/Base58.sol#104)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
Base64.encode(bytes,bool,bool) (src/utils/Base64.sol#17-77) performs a multiplication on the result of a division: - o_encode_asm_0 = 2 / dataLength_encode_asm_0 % 3 (src/utils/Base64.sol#68) - o_encode_asm_0 = ! ! noPadding * o_encode_asm_0 (src/utils/Base64.sol#72)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
DateTimeLib.dateToEpochDay(uint256,uint256,uint256) (src/utils/DateTimeLib.sol#65-78) performs a multiplication on the result of a division: - epochDay = year / 400 * 146097 + doe_dateToEpochDay_asm_0 - 719469 (src/utils/DateTimeLib.sol#76)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
DateTimeLib.epochDayToDate(uint256) (src/utils/DateTimeLib.sol#83-100) performs a multiplication on the result of a division: - year = yoe_epochDayToDate_asm_0 + epochDay / 146097 * 400 + month < 3 (src/utils/DateTimeLib.sol#98)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
DynamicArrayLib.free(DynamicArrayLib.DynamicArray) (src/utils/DynamicArrayLib.sol#416-434) performs a multiplication on the result of a division: - cap_free_asm_0 = cap_free_asm_0 / prime_free_asm_0 * ! cap_free_asm_0 % prime_free_asm_0 (src/utils/DynamicArrayLib.sol#426)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
DynamicArrayLib.reserve(DynamicArrayLib.DynamicArray,uint256) (src/utils/DynamicArrayLib.sol#495-549) performs a multiplication on the result of a division: - cap_reserve_asm_0 = cap_reserve_asm_0 / prime_reserve_asm_0 * ! cap_reserve_asm_0 % prime_reserve_asm_0 (src/utils/DynamicArrayLib.sol#524)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
DynamicArrayLib.p(DynamicArrayLib.DynamicArray,uint256) (src/utils/DynamicArrayLib.sol#552-601) performs a multiplication on the result of a division: - cap_p_asm_0 = cap_p_asm_0 / prime_p_asm_0 * ! cap_p_asm_0 % prime_p_asm_0 (src/utils/DynamicArrayLib.sol#570)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
DynamicBufferLib.p(DynamicBufferLib.DynamicBuffer,bytes) (src/utils/DynamicBufferLib.sol#79-144) performs a multiplication on the result of a division: - cap_p_asm_0 = cap_p_asm_0 / prime_p_asm_0 * ! cap_p_asm_0 % prime_p_asm_0 (src/utils/DynamicBufferLib.sol#99)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
FixedPointMathLib.expWad(int256) (src/utils/FixedPointMathLib.sol#207-272) performs a multiplication on the result of a division: - x = (x << 78) / 5 ** 18 (src/utils/FixedPointMathLib.sol#226) - q = ((q * x) >> 96) - 533845033583426703283633433725380 (src/utils/FixedPointMathLib.sol#247)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
Contract locking ether found: Contract UpgradeableBeacon (src/utils/UpgradeableBeacon.sol#24-190) has payable functions: - UpgradeableBeacon.constructor(address,address) (src/utils/UpgradeableBeacon.sol#75-77) But does not have a function to withdraw the ether
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
Uncovered a JSON Web Token, which may lead to unauthorized access to web applications and sensitive user data. ([REDACTED]).
Fix: Rotate and revoke the exposed credential immediately, remove it from source control, and move secrets into an authorized secret manager.
Low-level call{value: ...} does not capture or assert its boolean success return value.
Fix: Capture (bool ok, ) = target.call{value: amount}(...) and revert when !ok.
Low-level call{value: ...} does not capture or assert its boolean success return value.
Fix: Capture (bool ok, ) = target.call{value: amount}(...) and revert when !ok.
Low-level call{value: ...} does not capture or assert its boolean success return value.
Fix: Capture (bool ok, ) = target.call{value: amount}(...) and revert when !ok.
Low-level call{value: ...} does not capture or assert its boolean success return value.
Fix: Capture (bool ok, ) = target.call{value: amount}(...) and revert when !ok.
Low-level call{value: ...} does not capture or assert its boolean success return value.
Fix: Capture (bool ok, ) = target.call{value: amount}(...) and revert when !ok.
Low-level call{value: ...} does not capture or assert its boolean success return value.
Fix: Capture (bool ok, ) = target.call{value: amount}(...) and revert when !ok.
Low-level call{value: ...} does not capture or assert its boolean success return value.
Fix: Capture (bool ok, ) = target.call{value: amount}(...) and revert when !ok.
Low-level call{value: ...} does not capture or assert its boolean success return value.
Fix: Capture (bool ok, ) = target.call{value: amount}(...) and revert when !ok.
Using tx.origin for authorization makes contracts vulnerable to phishing/intermediary-contract attacks.
Fix: Use msg.sender instead of tx.origin for authentication checks.
delegatecall executes foreign code within the caller's storage context; an untrusted or mutable target allows complete state takeover.
Fix: Restrict delegatecall exclusively to immutable, audited implementation contracts with verified storage layout compatibility.
2 different versions of Solidity are used: - Version constraint ^0.8.4 is used by: -^0.8.4 (src/Milady.sol#2) -^0.8.4 (src/accounts/ERC1271.sol#2) -^0.8.4 (src/accounts/ERC4337.sol#2) -^0.8.4 (src/accounts/ERC4337Factory.sol#2) -^0.8.4 (src/accounts/ERC6551.sol#2) -^0.8.4 (src/accounts/ERC6551Proxy.sol#2) -^0.8.4 (src/accounts/ERC7821.sol#2) -^0.8.4 (src/accounts/LibERC6551.sol#2) -^0.8.4 (src/acc
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
Version constraint ^0.8.4 contains known severe issues (https://solidity.readthedocs.io/en/latest/bugs.html) - FullInlinerNonExpressionSplitArgumentEvaluationOrder - MissingSideEffectsOnSelectorAccess - AbiReencodingHeadOverflowWithStaticArrayCleanup - DirtyBytesArrayToStorage - DataLocationChangeInInternalOverride - NestedCalldataArrayAbiReencodingSizeValidation - SignedImmutables. It is used by:
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
ERC1271.isValidSignature(bytes32,bytes) (src/accounts/ERC1271.sol#24-47) uses assembly - INLINE ASM (src/accounts/ERC1271.sol#42-46)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
ERC1271._erc1271UnwrapSignature(bytes) (src/accounts/ERC1271.sol#75-95) uses assembly - INLINE ASM (src/accounts/ERC1271.sol#83-94)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
ERC1271._erc1271IsValidSignatureViaNestedEIP712(bytes32,bytes) (src/accounts/ERC1271.sol#198-291) uses assembly - INLINE ASM (src/accounts/ERC1271.sol#216-225) - INLINE ASM (src/accounts/ERC1271.sol#228-288)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
ERC1271._erc1271IsValidSignatureViaNestedEIP712(bytes32,bytes) (src/accounts/ERC1271.sol#198-291) uses literals with too many digits: - d__erc1271IsValidSignatureViaNestedEIP712_asm_1 = 0x120100000001 >> byte(uint256,uint256)(0,mload(uint256)(p__erc1271IsValidSignatureViaNestedEIP712_asm_1)) | d__erc1271IsValidSignatureViaNestedEIP712_asm_1 (src/accounts/ERC1271.sol#269)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
ERC1271._erc1271IsValidSignatureViaRPC(bytes32,bytes) (src/accounts/ERC1271.sol#295-330) uses assembly - INLINE ASM (src/accounts/ERC1271.sol#306-327)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
ERC4337 (src/accounts/ERC4337.sol#28-428) does not implement functions: - EIP712._domainNameAndVersion() (src/utils/EIP712.sol#101-105)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
ERC4337._disableERC4337ImplementationInitializer() (src/accounts/ERC4337.sol#65-70) is never used and should be removed
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
ERC4337._validateSignature(ERC4337.PackedUserOperation,bytes32) (src/accounts/ERC4337.sol#120-136) uses assembly - INLINE ASM (src/accounts/ERC4337.sol#129-135)
Fix: Review the flagged Solidity contract pattern against Slither detector guidance and add invariant/unit tests.
Refuted: claimed vulnerability pattern not observed on cited lines. [hardcoded-secret @ test/WebAuthn.t.sol:49-49] No hardcoded credential literal or secret signature found on cited lines (e.g., environment lookup or non-secret code).
Refuted: claimed vulnerability pattern not observed on cited lines. [hardcoded-secret @ test/WebAuthn.t.sol:50-50] No hardcoded credential literal or secret signature found on cited lines (e.g., environment lookup or non-secret code).
Refuted: claimed vulnerability pattern not observed on cited lines. [hardcoded-secret @ test/WebAuthn.t.sol:70-70] No hardcoded credential literal or secret signature found on cited lines (e.g., environment lookup or non-secret code).
Refuted: claimed vulnerability pattern not observed on cited lines. [hardcoded-secret @ test/WebAuthn.t.sol:71-71] No hardcoded credential literal or secret signature found on cited lines (e.g., environment lookup or non-secret code).
Refuted: cited source lines contain only whitespace or comments with no executable code.
| Scanner | Status | Version | Findings | Receipt |
|---|---|---|---|---|
| Aderyn Solidity Analyzer aderyn binary not found on PATH | UNAVAILABLE | — | 0 | sha256:ac5bb…21f19d |
| Hopper Built-in Static Analyzer | EXECUTED | 0.1.0 | 311 | sha256:d6414…97e5d9 |
| Gitleaks Secret Scanner | EXECUTED | 8.30.1 | 5 | sha256:aacd2…173776 |
| OSV Vulnerability Scanner No scannable lockfiles or dependency packages detected by osv-scanner | SKIPPED | 2.7.1 | 0 | sha256:549ef…6c709b |
| Semgrep Static Analysis | EXECUTED | 1.187.0 | 5 | sha256:e8726…cdc4d4 |
| Slither Smart Contract Analyzer | EXECUTED | 0.11.5 | 1948 | sha256:2553e…4a3dca |
{
"schemaVersion": "hopper.audit-proof.v1",
"algorithm": "Ed25519",
"proofId": "sha256:4ca97076eb78d1be15831d186a9b86dc7a4f7a6b5b285c3cae025635dc993db1",
"keyId": "auditeur-local-dev-ed25519-v1",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA5pcx08zDSaYhd7+Ep1OVW5gQpf5Npa81PLuzwgGIhBc=\n-----END PUBLIC KEY-----\n",
"signature": "J4Z+n4UgF9tIA/pFv6aMgkKy+IFsH/znJS75jIXSj6yxWqDIIsPNSKWoII8ohApetS+9WxGULHV3G97FiW/XCQ==",
"payload": {
"targetId": "Vectorized/solady",
"commitSha": "ca783f241435e5c4662b0175a1fae58f8cf7e3c5",
"receiptRoot": "0xab38a292088b1c5ad517e9de71c0f1ffabf7ba6b99e92a8130f633fb3ec51148",
"reportDigest": "0xb5b59b2a9ff299bf32fecd73890cf7326e7c995b2949bb4de8f841af7435f407",
"score": 57,
"grade": "C-",
"verifiedFindings": 2175,
"refutedFindings": 5,
"unverifiedFindings": 0,
"verifiedScanners": [
"builtin-static",
"gitleaks",
"semgrep",
"slither"
],
"unverifiedAreas": [
"smart_contract_security:aderyn (unavailable)",
"web_surface_posture (not_requested)"
],
"issuedAt": "2026-11-29T00:47:00.218Z",
"issuedAtUnix": 1795913220,
"expiresAtUnix": 1803689220
}
}| Kind | Tool | Status | Receipt Digest |
|---|---|---|---|
| custody | Hopper Repository Custody Collector | executed | sha256:056825b…f530df |
| gate | Hopper Pre-Execution Safety Gate | executed | sha256:36c2aaa…45c011 |
| inventory | Hopper Repository Inventory Collector | executed | sha256:f1127da…44d010 |
| scanner | Aderyn Solidity Analyzer | unavailable | sha256:ac5bb77…21f19d |
| scanner | Hopper Built-in Static Analyzer | executed | sha256:d64146d…97e5d9 |
| scanner | Gitleaks Secret Scanner | executed | sha256:aacd2c6…173776 |
| scanner | OSV Vulnerability Scanner | skipped | sha256:549ef5a…6c709b |
| scanner | Semgrep Static Analysis | executed | sha256:e87269f…cdc4d4 |
| scanner | Slither Smart Contract Analyzer | executed | sha256:2553ee1…4a3dca |