AlgoKit Task Analyze | Algorand Developer Portal

AlgoKit Task Analyze

The analyze task is a command-line utility that analyzes TEAL programs for common vulnerabilities using Tealer integration. It allows you to detect a range of common vulnerabilities in code written in TEAL. For full list of vulnerability detectors refer to Tealer documentation.

Usage

algokit task analyze INPUT_PATHS [OPTIONS]

Arguments

Options

Example

algokit task analyze ./contracts -r --exclude rekey-to --exclude missing-fee-check

This command will recursively analyze all TEAL files in the contracts directory and exclude the missing-fee-check vulnerability from the analysis.

Security considerations

This task uses tealer, a third-party tool, to suggest improvements for your TEAL programs, but remember to always test your smart contracts code, follow modern software engineering practices and use the guidelines for smart contract development. This should not be used as a substitute for an actual audit.