Skip to content
SkillModel-led2,994 tokens in use

Algorand Vulnerability Scanner

Scans Algorand TEAL and PyTeal contracts for 11 platform-specific vulnerabilities and reports a verdict for every pattern, with Tealer support.

8,319 stars on the repository CC-BY-SA-4.0trailofbits/skills · plugins/building-secure-contracts/skills/algorand-vulnerability-scanner
/plugin marketplace add trailofbits/skills
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing Algorand Vulnerability Scanner costs

55tokens idle
2,994tokens in use
6,158tokens, up to

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Up to adds the files its instructions link. Counts are approximate, made offline with cl100k_base.

Model dependence Model-led

Script-ledMixedModel-led

Mostly instructions, so how well it works depends on the model that follows them.

This describes the skill's structure, how much of it is scripts. It does not say how well it works.

Touches

shelldetectedwrites filesdetected

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Excellent
  • Frontmatter12/15
  • Structure23/25
  • Examples12/15
  • Output15/15
  • Size15/15
  • Resources7/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent
  • Runs shell commands−5

    does this on the machine, and the frontmatter does not say so

    SKILL.md, line 131
  • Writes files−8

    does this on the machine, and the frontmatter does not say so

    SKILL.md, line 283

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Good
  • Development activity100
  • Maintenance52
  • Community64
  • Maturity32
  • Momentum40

Algorand Vulnerability Scanner checks stateful applications and smart signatures against 11 patterns from the Not So Smart Contracts database, including rekeying, close-to fields, fee checks, group size, replay protection and clear state handling.

Every scan opens with a coverage table where each pattern is marked found, clear or n/a with a reason, followed by full write-ups of each finding and a fix. It can also run the Tealer static analyzer when it is installed.

What You Get

  • A coverage table with one row per pattern and a verdict of found, clear or n/a with evidence
  • Findings with severity, location, vulnerable code, attack scenario and a recommended fix
  • A transaction field validation checklist for payments, asset transfers, application calls and inner transactions
  • Tealer commands for local use and CI, including a fail-on severity option

Common Use Cases

  • Auditing a PyTeal or Beaker application before launch
  • Reviewing a TEAL smart signature for fee and close-to checks
  • Validating that a fix for a reported Algorand issue holds
  • Training a team on Algorand-specific security patterns

What Makes It Unique

The skill never treats silence as a clean result. It requires all 11 rows in the coverage table, lists rationalizations to reject such as a clean Tealer run meaning a clean contract, and asks for the name of the field or opcode searched when a pattern is marked clear. Its patterns come from Algorand’s transaction model, and each one is tied to a Tealer detector where one exists.

Under The Hood

The skill is a markdown instruction file with a linked resource of pattern details. It tells the agent to search the project for TEAL and PyTeal files, read them, and optionally run the tealer command, which the user installs with uv tool install. Tealer runs locally on contract files and writes a JSON report if asked. The skill does not fetch web pages or call remote APIs and does not change the contract source.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers