Practical overview
When it fits
Use it while learning EOS contract security or as a reference during code review and security training, especially when examining the vulnerability categories described in the guide.
Who it is for
- EOS smart-contract developers seeking security review prompts.
- Reviewers and educators preparing material on common EOS contract vulnerabilities.
Documented uses
- Review arithmetic and asset operations for overflow risks.
- Check authorization against the account affected by a contract action.
- Examine action/code validation and transfer-notification handling.
- Use security principles to inform testing and staged release planning.
Requirements & limits
The guide is published in a public GitHub repository identified as Apache-2.0 licensed.
- The material combines general security principles with code-level examples and incident references.
- The guide describes itself as a starting point; its listed risks are not an exhaustive security review.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Review an EOS contract for documented security issues
Use the guide’s vulnerability examples and defenses to review EOS contract code for numeric overflow, authorization, action/code validation, and fake transfer notifications.
Before you start
- An EOS smart contract to review.
- Familiarity with reading EOS contract code and the guide’s examples.
Steps
Check arithmetic for unchecked boundary conditions; where applicable, prefer
assetoperations over extracting and calculating on the balance.Verify that operations authorize the account whose assets are being transferred, including checking the transfer source with
require_auth(from).Check that each critical action is paired with an allowed
code, following the guide’sapplyvalidation example.When handling a
require_recipienttransfer notification, ensuretransfer_data.to == _self; otherwise return.
Expected outcome
A focused review against the four vulnerability classes and defenses described in the guide.
Guide limitations
- The guide identifies these checks as a starting point, not a complete security review; it notes that threats change and that known-vulnerability checks alone are insufficient.
- The guide recommends thorough testing, including retesting when new attack methods are found, but this recipe does not specify test procedures.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 14 October 2026
- Original website title
- slowmist/eos-smart-contract-security-best-practices · Official homepage title · retained in its source language

