audit-algorand
Skill27 starsChanged 3 months agoMITView on GitHub
Perform structured security audits and adversarial reviews of TypeScript Algorand applications and LogicSigs compiled with PuyaTs. Use for vulnerability assessments, threat models, exploit analysis, mainnet-readiness reviews, security findings, and remediation guidance involving AVM contracts, generated TEAL or ARC-56 artifacts, transaction groups, assets, state, upgrades, or external dependencies. Excludes Python, deployment execution, generic implementation work, and non-security code review.
In this repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- build-on-algorandSkill
- build-on-vibekitSkill
- marketing-contentSkill
- update-skillSkill
- use-vibekitSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 9 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Read the repository instructions, package manifests, lockfile, compiler configuration, contract source, generated ARC-56 and TEAL …
- Distinctive: line 36
Treat missing source, stale artifacts, failing tests, and unverified deployment bytecode as limitations.
- Distinctive: line 41
Read Methodology and reporting for every audit.
- Distinctive: line 58
Before searching for bugs:
- Distinctive: line 89
Follow value across the entire path.
- Distinctive: line 103
Use source locations, existing tests, generated TEAL, simulation traces, or a minimal reproducer as evidence.
- Distinctive: line 109
Do not report a missing best practice as a vulnerability without showing how it changes reachable behavior.
- Distinctive: line 115
Use the report and severity model in Methodology and reporting.
- Distinctive: line 127
Avoid claiming that a review proves the absence of vulnerabilities or replaces an independent professional audit for a high-value …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Audit Algorand contracts
Audit the behavior an attacker can reach, then explain each issue through a violated invariant and a reproducible path. A checklist is coverage support; it is not evidence that a vulnerability exists.
This skill covers Algorand TypeScript and PuyaTs. Do not introduce Python,
PyTEAL, Beaker, or raw-TEAL implementation guidance. Load build-on-algorand
when the user also asks to implement fixes or needs broader PuyaTs application
guidance. Load use-vibekit before any deployment, signing, network, account,
LocalNet, or on-chain action.
Establish scope before judging safety
Read the repository instructions, package manifests, lockfile, compiler configuration, contract source, generated ARC-56 and TEAL artifacts, clients, and tests that are in scope. Use the project's pinned commands and dependencies. Do not add a dependency or change production code during an audit unless the user explicitly asks for remediation.
Record:
- the reviewed commit or working-tree state;
- included contracts, LogicSigs, clients, artifacts, and tests;
- target network and active or assumed consensus protocol;
- compiler and optimization settings;
- excluded components and assumptions;
- whether generated artifacts match the reviewed source;
- commands that ran, failed, or could not run.
Treat missing source, stale artifacts, failing tests, and unverified deployment bytecode as limitations. Do not silently fill those gaps with assumptions.
Load the audit guides
Read Methodology and reporting for every audit. Then load every guide whose feature appears in the system:
| Surface | Guide |
| ABI methods, privileges, lifecycle handlers, upgrades, deletion, pausing | Applications and authorization |
| Payments, asset transfers, inner transactions, fees, atomic groups, ASA control | Transactions and assets |
| Local/global/box state, clear state, MBR, state machines, accounting, numeric formulas | State and arithmetic |
| Contract-account or delegated smart signatures | Logic Signatures |
| Randomness, oracles, compiler and artifact verification, clients, keys, monitoring | External systems and release |
For a full audit, load every applicable guide. For a focused review, state which surfaces were intentionally excluded. If the code reveals a new surface, load its guide before completing the review.
Build the security model
Before searching for bugs:
- Identify assets that can be stolen, frozen, minted, destroyed, redirected, or permanently locked.
- Identify principals and authorities: arbitrary callers, users, admins, creators, multisigs, application accounts, LogicSig delegates, oracles, and off-chain operators.
- Map every public entry point, lifecycle action, inner transaction, external application call, and state transition.
- State the invariants that must hold across calls and atomic groups.
- Separate intended trust assumptions from accidental privileges.
Assume an attacker can create accounts and assets, choose every unvalidated argument and transaction field, arrange and pad atomic groups, repeat calls, clear their local state, observe public values, copy pending transactions, choose boundary values, and exploit unavailable external services. Treat a compromised privileged key as a separate scenario unless the design claims to tolerate it.
Trace reachable behavior
For each entry point, trace:
- who can call it and how authorization is established;
- which arguments and transaction fields are attacker-controlled;
- state and asset reads before the call;
- state, balance, asset, authority, and lifecycle changes after the call;
- behavior when the call is repeated, reordered, grouped, interrupted, or supplied boundary values;
- assumptions enforced only by a client, deployment script, or operator.
Follow value across the entire path. A receiver check without an asset-ID check, an admin check around unsafe arithmetic configuration, or a timelock that never binds the proposed program bytes still leaves the relevant invariant unproven.
Corroborate findings
A confirmed finding needs all four elements:
- an attacker capability or failed trusted component;
- a reachable path through the reviewed system;
- a specific violated invariant;
- a concrete security impact.
Use source locations, existing tests, generated TEAL, simulation traces, or a
minimal reproducer as evidence. Prefer a focused negative test when the
project's harness supports one. Never execute an exploit against a public or
shared network. On-chain verification or writes require use-vibekit and the
user's authorization.
Do not report a missing best practice as a vulnerability without showing how it changes reachable behavior. Put unexploitable hardening opportunities, centralization assumptions, and incomplete evidence in their own sections.
Finish with an auditable report
Use the report and severity model in Methodology and reporting. Sort findings by severity, keep confidence separate from impact, and include a regression-test idea with every remediation.
End with:
- coverage achieved and surfaces not reviewed;
- commands and artifacts used as evidence;
- unresolved questions and residual risks;
- an explicit statement when no confirmed findings were identified.
Avoid claiming that a review proves the absence of vulnerabilities or replaces an independent professional audit for a high-value deployment.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

