solidity-security

Installation
Summary

Comprehensive smart contract security patterns, vulnerability prevention, and secure Solidity development practices.

  • Covers critical vulnerabilities including reentrancy, integer overflow/underflow, access control failures, and front-running with vulnerable code examples and secure patterns
  • Teaches Checks-Effects-Interactions pattern, pull-over-push payment design, input validation, and emergency stop mechanisms for production-ready contracts
  • Includes gas optimization techniques such as storage packing, calldata usage, and event-based data storage
  • Provides security checklist, Hardhat testing examples for vulnerability detection, and audit preparation guidelines with proper documentation standards
SKILL.md

Solidity Security

Master smart contract security best practices, vulnerability prevention, and secure Solidity development patterns.

When to Use This Skill

  • Writing secure smart contracts
  • Auditing existing contracts for vulnerabilities
  • Implementing secure DeFi protocols
  • Preventing reentrancy, overflow, and access control issues
  • Optimizing gas usage while maintaining security
  • Preparing contracts for professional audits
  • Understanding common attack vectors

Critical Vulnerabilities

1. Reentrancy

Attacker calls back into your contract before state is updated.

Related skills

More from wshobson/agents

Installs
10.4K
Repository
wshobson/agents
GitHub Stars
35.2K
First Seen
Jan 20, 2026