Skip to content

DoubleEntryPoint Level can be solved with a bot that always raises alerts  #655

@Drblessing

Description

@Drblessing

The detection bot:

contract DetectionBot is IDetectionBot {
    IForta public forta; 
    constructor (IForta forta_) {
        forta = forta_;
    }
    function handleTransaction(address user, bytes calldata msgData) external {

        forta.raiseAlert(user);

        return;
    }
}

will auto raise alerts and effectively DDOS the delegateTransfer method. It passes as a valid solution to the level though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions