Skip to content

Storage Symmetry Pattern Detection #13

@gbrigandi

Description

@gbrigandi

Traverse lacks detection of storage slots that consistently change together across contract operations. When multiple storage variables are always modified in tandem, this often indicates underlying invariants, dependencies, or potential logical relationships that should be documented or validated.
Traverse should identify storage slots that exhibit symmetric update patterns and flag them for review. This would help developers understand implicit contract invariants, detect missing validation logic, and identify potential issues where correlated state changes might be incorrectly handled or where breaking the symmetry could lead to inconsistent contract state.

Metadata

Metadata

Assignees

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