Home / Vulnerability Database / Vyper : Private state variable
Vyper

Vyper : Private state variable

Overview

Initializing the variables without the public function defaults to a private declaration and thus only accessible to methods within the same contract. Contrary to a popular misconception, values of these variables are still accessible for users. Developers must account for the lack of privacy in Ethereum. This rule reports all structure’s fields in structure definition but it is not the issue (it is false positive).

LOW

DerScanner Severity Score

Do you want to fix Vyper : Private state variable in your application?

See also

Vyper

Vyper : ERC-20 approve issue

Vyper

Vyper : Use of as_unitless_number() function

Vyper

Vyper : Timestamp dependence