skills/vulnerability-patterns/outdated-compiler-version/SKILL.md
- Contract is compiled with a Solidity version significantly behind the latest stable release
npx skillsauth add apegurus/solidity-argus outdated-compiler-versionInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
// Old version missing built-in overflow checks
pragma solidity 0.7.6;
contract Token {
mapping(address => uint256) public balances;
function transfer(address to, uint256 amount) external {
// No overflow protection — 0.7.x lacks built-in checks
// Requires manual SafeMath usage
balances[msg.sender] -= amount;
balances[to] += amount;
}
}
// Slightly newer but still has known bugs
pragma solidity 0.8.0;
// 0.8.0 had ABI encoding bugs fixed in later patches
pragma solidity version in all contract files// Use latest stable version
pragma solidity 0.8.24;
contract Token {
mapping(address => uint256) public balances;
function transfer(address to, uint256 amount) external {
balances[msg.sender] -= amount; // Built-in overflow check
balances[to] += amount;
}
}
testing
Specialist profile for mechanically applying the attack-vector deck and classifying vectors as skip, drop, or investigate.
tools
Specialist profile for libraries, helpers, base contracts, adapters, encoders, wrappers, and integration glue.
testing
Specialist profile for rounding, scale, decimal, downcast, and arithmetic accounting edge cases.
testing
Specialist profile for extracting conservation laws and state couplings, then searching for violating paths.