Audit Rule Authoring
Enables the creation of custom Lua-based static analysis rules for automated security auditing and vulnerability detection.
The Audit Rule Authoring skill provides a comprehensive framework for developers and security researchers to write, test, and deploy Static Analysis (SAiST) rules using Lua. It supports multiple analysis modes—including Scope for local AST patterns, Deep for inter-procedural call-graph analysis, and Map for global symbol graph queries. By integrating directly with the auditor-addon ecosystem, this skill allows users to transform security insights into reusable detectors for Solidity, Cairo, and other languages, leveraging tree-sitter grammars for high-precision code scanning.
Características Principales
01Built-in grammar references for precise language-specific node targeting
02Comprehensive Lua API for symbol graph queries, AST traversal, and findings reporting
034 GitHub stars
04Support for Scope, Deep, and Map rule types to handle various analysis complexities
05Support for adhoc inline rules to perform quick one-off security scans
06Context-aware hooks like enter_kind and exit_kind for optimized performance
Casos de Uso
01Developing custom Solidity security checks for reentrancy, access control, or gas optimizations
02Automating the detection of project-specific code smells and architectural anti-patterns
03Converting manually identified vulnerabilities into automated regression tests for security audits