Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Audit - Medium 01 #4

@Kogaroshi

Description

@Kogaroshi

The current way the rented amount is updated during liquidation introduces a DOS type of attack.
Since this method frees all stkAAVE held by the Pod, we want to set back to 0 the rented amount by the Pod instead.
In the same logic, in the freeStkAave() method, in the case were all the Pod balance must be pulled, we also want to add an extra check to reset the Pod's rented amount back to 0.

See fix : #3

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