Skip to content

Code4rena

LUKSO

Every publicly disclosed report for LUKSO and what kind of bugs they were.

disclosed reports
8
most reported class
Access control
bug classes found
3
first disclosure
2023
Find LUKSO on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what LUKSO chose to make public.

Access control

Two-step ownership transfer process in LSP0ERC725AccountCore can be bypassed

The two-step ownership transfer in LSP0ERC725AccountCore could be bypassed because the pending owner's universalReceiver callback could call acceptOwnership and then use delegatecall to overwrite the owner or self-destruct the account. An attacker nominated as pending owner could drain the account's LYX balance and destroy or reset ownership in a single transaction.

LUKSO

Medium
Smart contracts

LSP8Burnable extension incorrectly inherits LSP8IdentifiableDigitalAssetCore

The LSP8Burnable contract inherits from [redacted] instead of LSP8IdentifiableDigitalAsset, so developers using it lose LSP4DigitalAssetMetadata functionality and ERC-165 interface support. An attacker could not directly exploit this, but it causes compatibility issues for token implementations.

LUKSO

Medium
Business logic

LSP8CompatibleERC721 ’s approve() deviates from ERC-721 specification

The approve() function in LSP8CompatibleERC721 only allows the token owner to call it, whereas the ERC-721 specification also permits an authorised operator of the owner to call it. This deviation could cause incompatibility with protocols that rely on ERC-721 behaviour, such as NFT exchanges where a router contract approved via setApprovalForAll() needs to grant approvals.

LUKSO

Medium
Access control

Universal Data Key Permissions May Be Abused During Ownership Transfers

Universal permissions set by a previous owner of a universal profile remain active after ownership transfer, allowing the old owner to retain control and potentially perform a rug pull. An attacker could set permissions while owner, transfer ownership, and later exploit those permissions to harm the new owner.

LUKSO

Medium
Access control

Insufficient Length Check When Verifying Allowed Data Keys

A length check in the LSP6 key manager allowed a zero-length allowed data key to act as a wildcard, letting a caller set almost any data key. An attacker could set up a profile with a hidden backdoor to later modify data values.

LUKSO

Medium
Access control

The owner of a LSP0ERC725Account can become the owner again after renouncing ownership

The owner of an LSP0ERC725Account could regain ownership after renouncing it by using a delegatecall to set the pending owner before completing the two-step renouncement process. This allowed the owner to later call acceptOwnership and regain control, potentially rugging a protocol that trusted the renouncement.

LUKSO

Medium
Smart contracts

LSP8 and LSP9’s ERC-165 interface ID differs from their specification

The ERC-165 interface IDs hardcoded for LSP7 and LSP8 token contracts did not match the values published in the LIP specifications. Protocols that check compatibility using the specification values would get incorrect answers from supportsInterface().

LUKSO

Medium
Access control

Permission escalation by adding the same permission twice

The combinePermissions function adds permissions using addition instead of bitwise OR, so adding the same permission twice produces a different, potentially dangerous permission. An attacker with a controller could gain super delegatecall permission and change storage or steal assets.

LUKSO

Medium