AI Intelligence
Last updated
Last updated
The open-source Wake Framework is extended with private detectors that enhance its analysis capabilities. These detectors combine Wake's precise static analysis with AI to enable further detection of complex vulnerability patterns and reduce false positives.
The AI layer augments Wake's detection capabilities by leveraging comprehensive knowledge of both the framework's documentation and the analyzed codebase. This understanding enables additional interpretation of findings, providing audience with contextual analysis of the discovered issues.
AI detectors that extend the Wake Framework are kept private, but we demonstrate on one example the direction and possibilities of AI in static analysis.
The keccak256 private AI Wake detector validates storage slot computations where developers document their hash calculations in code comments. While these comments vary in format, LLMs can interpret them and verify the implementation.
For example, when encountering code like:
The detector:
Extracts the computation description from comments
Understands the intended calculation
Performs the actual keccak256 computation
Compares with the implemented constant
Flags any mismatches for review
This validation is particularly important for storage slot management and proxy implementations where incorrect hash values could lead to storage collisions. It demonstrates the new AI possibilities in static analysis. This approach was presented at .