Common Smart Contract Audit Findings Explained

The findings that appear most often in smart contract audit reports, with vulnerable and fixed Solidity patterns and advice on detecting each one early.

In this guide
  1. How to read an audit finding
  2. Access control and initialization findings
  3. Business logic, oracle and flash loan findings
  4. Unchecked external calls and missing input validation
  5. Arithmetic findings: rounding and unsafe casts
  6. Proxy and upgradeability findings
  7. Low-severity findings that still cost time
  8. FAQ
  9. Sources

Most audit reports repeat the same handful of problems: missing access control, business logic that breaks in an edge case, unchecked external calls, rounding and casting errors, and unsafe upgrade setups. Knowing these patterns lets you fix them before a reviewer ever sees your code, which makes an audit cheaper and far more useful. Below, each finding type is explained with a short vulnerable snippet, the corrected version and a way to detect it.

How to read an audit finding

Audit firms use different templates, but a finding usually contains the same parts:

  • Title and severity. Severity scales vary by firm; a common shape runs from critical and high down to low and informational. Severity normally combines impact (what can be lost) with likelihood (how hard the issue is to trigger).
  • Description and location. The affected contract, function and lines, with an explanation of the root cause.
  • Recommendation. A suggested fix, not always the only possible one.
  • Status. Whether the team fixed, partially fixed or acknowledged the issue in a later commit.

Reports often tag findings with a category. Older reports use SWC identifiers such as SWC-107 (reentrancy) or SWC-104 (unchecked call return value). The SWC Registry states that it is no longer actively maintained, so newer reports tend to reference the OWASP Smart Contract Top 10 or the EEA EthTrust Security Levels specification instead.

The sections below follow the 2026 OWASP ordering loosely. If the fundamentals are new to you, read smart contract security basics first.

Access control and initialization findings

Access control is the first category in the 2026 OWASP list. In reports it shows up as:

  • A state-changing function with no restriction at all.
  • An initialize function that can be called by anyone, or called twice.
  • A single externally owned account holding every privileged role.
  • Ownership transferred in one step, with no confirmation by the new owner.
  • Authorization based on tx.origin.
// Finding: unprotected initializer
function initialize(address admin_) external {
    admin = admin_;
}
// Fixed: runs once, and the implementation itself is locked
import {Initializable} from
    "@openzeppelin/contracts/proxy/utils/Initializable.sol";

contract Pool is Initializable {
    address public admin;

    constructor() {
        _disableInitializers();
    }

    function initialize(address admin_) external initializer {
        require(admin_ != address(0), "zero admin");
        admin = admin_;
    }
}

How to detect it: list every external and public function that writes state and write down who is allowed to call it. Then add a test per function that calls it from an unauthorized account and expects a revert. Static analyzers also flag unprotected initializers and tx.origin checks.

Business logic, oracle and flash loan findings

These three categories sit at positions two to four in the OWASP list, and they are the hardest to find with tools because the code does exactly what it says. The specification is what is wrong.

Business logic. Typical examples are reward calculations that can be claimed twice, state machines that allow a step to be skipped, fees that can be avoided by splitting an action into smaller ones, and accounting that drifts when a token charges a transfer fee.

Price oracle manipulation. A contract that reads a price from a single on-chain pool at the current moment trusts a value that anyone with enough capital can move inside one transaction. Findings in this group recommend manipulation-resistant sources, such as time-weighted prices or independent oracle networks, plus sanity checks: reject stale data, reject zero or negative prices, and bound the deviation from a previous value.

Flash loans. A flash loan lets a caller borrow a large amount with no collateral as long as it is repaid in the same transaction. It is not a bug by itself. It removes the assumption that an attacker has limited capital, which amplifies oracle and logic weaknesses. Design as if every caller can temporarily hold very large balances.

How to detect it: write invariants in plain language and turn them into invariant or fuzz tests, for example "total shares times share price never exceeds total assets". Our guide to smart contract testing tools covers the frameworks that support this.

Unchecked external calls and missing input validation

Low-level calls return a boolean instead of reverting. Some tokens also signal failure by returning false, and a few older tokens return nothing.

// Finding: return value ignored
token.transfer(recipient, amount);
payable(recipient).call{value: fee}("");
// Fixed
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import {SafeERC20} from
    "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";

using SafeERC20 for IERC20;

token.safeTransfer(recipient, amount);

(bool ok, ) = payable(recipient).call{value: fee}("");
require(ok, "fee transfer failed");

Input validation findings are closely related and usually rated low to medium on their own, but they often form one link in a more serious chain:

  • No zero-address check on a parameter that is later hard to change.
  • Percentages or fees without an upper bound, which lets an admin set a 100% fee.
  • Array parameters whose lengths are assumed to match.
  • Signatures accepted without a nonce, deadline or chain identifier, which allows replay.
  • Loops over user-controlled arrays with no size limit, which can exhaust gas. Denial of service dropped out of the 2026 top ten but is still discussed by OWASP as a notable risk.

How to detect it: static analysis reliably finds ignored return values. For validation, fuzz every external function with boundary values such as zero, the maximum integer and empty arrays.

Arithmetic findings: rounding and unsafe casts

Since Solidity 0.8.0 ordinary arithmetic reverts on overflow, so classic overflow findings now mostly concern unchecked blocks, assembly and code compiled with old versions. OWASP keeps integer overflow in the list at position nine and has added a separate category, arithmetic errors, for rounding and precision problems.

Three patterns appear again and again:

// 1. Division before multiplication loses precision
uint256 reward = (amount / totalStaked) * rewardPool;   // often 0

// 2. Silent truncation on downcast
uint128 stored = uint128(amount);                       // high bits dropped

// 3. Rounding in the user's favour
uint256 sharesToBurn = assets * totalShares / totalAssets; // rounds down
import {Math} from "@openzeppelin/contracts/utils/math/Math.sol";
import {SafeCast} from "@openzeppelin/contracts/utils/math/SafeCast.sol";

// 1. Multiply first, with full-precision intermediate
uint256 reward = Math.mulDiv(amount, rewardPool, totalStaked);

// 2. Revert instead of truncating
uint128 stored = SafeCast.toUint128(amount);

// 3. Round against the caller when burning shares
uint256 sharesToBurn =
    Math.mulDiv(assets, totalShares, totalAssets, Math.Rounding.Ceil);

The rule behind the third fix: always round in the direction that favours the protocol, never the caller. Rounding down when a user deposits and up when a user withdraws keeps small errors from being harvested repeatedly. Share-based vaults with very low initial supply are a well-known place where rounding becomes exploitable, so check how your vault behaves when it is almost empty.

How to detect it: search the codebase for unchecked, explicit casts to smaller types and any division that is followed by a multiplication. Add fuzz tests comparing your formula against a high-precision reference.

Proxy and upgradeability findings

Proxy and upgradeability vulnerabilities are new in the 2026 OWASP list. Common report items:

Finding Why it matters Usual fix
Implementation left uninitialized Someone else can initialize it and take control of its logic Call _disableInitializers() in the implementation constructor
Proxy deployed without initialization data A window exists in which anyone can initialize the proxy Pass the encoded initializer call when deploying the proxy
Missing access control on _authorizeUpgrade (UUPS) Anyone can replace the implementation Restrict it with an owner or role check
Storage layout changed between versions New variables overwrite existing data Only append variables, or use namespaced storage; compare layouts in CI
Constructor logic or initial values in an upgradeable contract Constructors do not run in the proxy's storage context Move setup into the initializer
Upgrade key held by one account with no delay A single compromised key can change all logic Multisig plus timelock, with monitoring

OpenZeppelin's proxy documentation recommends UUPS as the default pattern and warns that an uninitialized contract can be taken over. It also notes that mixing patterns, such as placing a UUPS implementation behind a transparent proxy, can open unintended upgrade paths.

How to detect it: use the upgrade safety checks provided by your framework's upgrade plugin, keep a storage layout snapshot in the repository, and write a test that performs the upgrade on a fork and verifies old state is intact.

Low-severity findings that still cost time

These rarely lead to losses directly, but they fill reports and distract reviewers from deeper problems. Clear them before the audit starts.

  • Floating pragma (SWC-103). pragma solidity ^0.8.0 allows the code to be compiled with versions you never tested. Pin the compiler in your build configuration and deploy with the version you tested.
  • Outdated compiler. Several 2026 Solidity releases, up to 0.8.39, fixed optimizer and code generation bugs. Check the release notes against the features you use.
  • Missing events on administrative changes, which makes monitoring and incident response harder.
  • Unused code, shadowed variables and misleading comments.
  • Missing or thin tests, especially for revert paths.
  • Centralization risks, where a privileged role can pause, drain or reconfigure the system. Reports list these even when intended, so document the trust assumptions yourself.

A short pre-audit routine helps: freeze the code at a commit, run static analysis and resolve every warning, reach high branch coverage, write a document that states roles, invariants and known risks, and include deployment scripts in scope.

Reading public audit reports is also one of the best ways to build review skill, and writing up your own review of an open-source contract makes a strong entry among portfolio project ideas. Auditing-related questions come up regularly in blockchain developer interviews as well.

FAQ

What is the most common high-severity audit finding?

By category, access control leads the 2026 OWASP Smart Contract Top 10, followed by business logic errors and price oracle manipulation. Reentrancy still appears but ranks eighth.

Are informational findings safe to ignore?

Not automatically. Individually they have little impact, but they point at code quality problems, and several small issues can combine into a serious one. Fix what is cheap and document the rest.

Do automated tools find these issues?

Tools are good at ignored return values, unprotected initializers, dangerous casts and known anti-patterns. They are weak on business logic, economic design and oracle assumptions, which need invariants, fuzzing and human review.

Do I need a new audit after changing the code?

Any change after the reviewed commit is unaudited. Small fixes are normally checked in a fix review; larger changes or new features need a new review of the affected scope.

Sources

About the author

Alessandro Moretti is a crypto analyst and blockchain strategist who writes and maintains the guides on BlockDev Path. Every factual claim is checked against the primary sources listed above. Spotted an error? Tell us and we will correct it. See our editorial policy.