algorand-vulnerability-scanner

Scan TEAL and PyTeal source code for 11 Algorand smart contract exploit patterns.

Updated Nov 23, 2025
One-click install
npx skills add https://github.com/manuelbrandner85/Weltenbibliothekapp --skill algorand-vulnerability-scanner-manuelbrandner85
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: algorand-vulnerability-scanner
Source: https://github.com/manuelbrandner85/Weltenbibliothekapp/tree/main/.agents/skills/algorand-vulnerability-scanner
Command: npx skills add https://github.com/manuelbrandner85/Weltenbibliothekapp --skill algorand-vulnerability-scanner-manuelbrandner85

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires tealer, and includes references (resource) components.

What problem does it solve?

This skill addresses the high-stakes challenge of identifying security flaws in Algorand smart contracts, preventing potential exploits related to transaction manipulation and unauthorized access.

Core Features & Use Cases

  • Automated Vulnerability Detection: Scans TEAL and PyTeal code for 11 critical security patterns, including rekeying attacks and group transaction manipulation.
  • Remediation Guidance: Provides specific code-level recommendations and mitigation strategies for every identified vulnerability.
  • Use Case: Before deploying a new DeFi protocol on Algorand, use this skill to audit your approval programs and ensure that transaction fields like RekeyTo and CloseRemainderTo are properly validated.

Quick Start

Use the algorand-vulnerability-scanner to perform a full security audit on all TEAL and PyTeal files in the current project directory.

Frequently Asked Questions about algorand-vulnerability-scanner

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit Algorand smart contracts for security vulnerabilities?

To audit Algorand smart contracts, you can scan TEAL and PyTeal source code to identify 11 critical security patterns like rekeying attacks and group transaction manipulation. This automated vulnerability detection ensures your contracts are secure before deployment.

What security vulnerabilities should I check for in Algorand TEAL code?

When securing Algorand TEAL code, check for 11 specific exploit patterns including rekeying attacks, group transaction manipulation, and improper validation of transaction fields like RekeyTo and CloseRemainderTo. These vulnerabilities can lead to unauthorized account control or asset drainage.

Can I scan PyTeal approval programs and smart signatures for security issues?

Yes, you can scan both stateful applications and smart signatures written in PyTeal. The scanner performs static analysis of transaction field validations and atomic group logic to ensure compliance with Algorand platform-specific security standards.

How do I prevent rekeying attacks in Algorand smart contracts?

To prevent rekeying attacks in Algorand smart contracts, scan your TEAL and PyTeal code to verify that transaction fields like RekeyTo are properly validated. The scanner identifies missing validations and provides specific code-level remediation guidance.

Does the Algorand vulnerability scanner require tealer to run?

Yes, the Algorand vulnerability scanner requires tealer as a dependency to perform static analysis on your smart contract source code. You need tealer installed to detect the 11 critical exploit patterns across your project directory.

What are the limitations of static analysis for Algorand smart contract security?

Static analysis for Algorand smart contract security focuses on identifying 11 specific exploit patterns in source code but may not catch runtime issues or complex logic flaws. It scans TEAL and PyTeal files for known vulnerability signatures rather than simulating dynamic execution.