code-423n4 / 2023-01-astaria-findings

5 stars 2 forks source link

Centralization risk: contracts have a single point of control #79

Closed code423n4 closed 1 year ago

code423n4 commented 1 year ago

Lines of code

https://github.com/code-423n4/2023-01-astaria/blob/main/src/LienToken.sol#L391 https://github.com/code-423n4/2023-01-astaria/blob/main/src/CollateralToken.sol#L274 https://github.com/code-423n4/2023-01-astaria/blob/main/src/CollateralToken.sol#L334 https://github.com/code-423n4/2023-01-astaria/blob/main/src/CollateralToken.sol#L479

Vulnerability details

Impact

Centralization risks are weaknesses that malevolent project creators as well as hostile outside attackers can take advantage of. They may be used in several forms of attacks, including rug pulls and infinite minting vulnerabilities.

Proof of Concept

Tools Used

Recommended Mitigation Steps

Some solutions include:

References

c4-judge commented 1 year ago

Duplicate of https://github.com/code-423n4/2023-01-astaria-findings/issues/128