Joel Pedraza
08/14/2020, 6:04 PMunsafe
blocks. Curious if there would be a way with lint in UAST to error if any property or method with some annotation is called outside of some block like
data class Foo(@Secret val password: String)
foo.someSecret
would error but the following is ok
omgAuditThisPls {
foo.someSecret
}
This is a contrived example, because foo.toString() could leak secrets but that can be handled by another abstraction