awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
kadenzipfel avatar

kadenzipfel/smart-contract-vulnerabilities

0
View on GitHub↗
2,466 星标·327 分支·MIT·4 次浏览kadenzipfel.github.io/smart-contract-vulnerabilities↗

Smart Contract Vulnerabilities

This project serves as a comprehensive knowledge base and technical reference for identifying and mitigating security vulnerabilities in smart contracts. It provides a structured catalog of common attack vectors, logic errors, and insecure coding patterns, offering developers and auditors a centralized resource for implementing secure decentralized applications.

The repository distinguishes itself by covering the full lifecycle of contract security, from low-level arithmetic safety and compiler constraints to high-level architectural patterns. It details specific defensive strategies for managing external contract interactions, enforcing strict access control, and ensuring state consistency. By documenting industry-standard methodologies, the project helps practitioners address complex threats such as reentrancy, transaction ordering manipulation, and gas-related denial-of-service risks.

Beyond vulnerability identification, the collection emphasizes code quality and best practices for the Ethereum Virtual Machine. It includes guidance on inheritance resolution, visibility management, and the modernization of legacy patterns to ensure long-term codebase stability. The documentation acts as a practical guide for hardening contract logic against both common exploits and environment-specific failures.

Features

  • Secure Decentralized Application Design - Implements safe logic for external calls, data storage, and access control to protect assets within decentralized systems.
  • Invariant Verifications - Checks internal state consistency using formal invariant verification to prevent critical logic errors.
  • Smart Contract Security - Provides a comprehensive technical reference and catalog for identifying and mitigating smart contract security vulnerabilities.
  • Invariant-Based State Validations - Maintains system consistency by enforcing critical state invariants throughout transaction execution.
  • Execution Flow Control - Manages execution sequences and safety guards to prevent reentrancy and race conditions.
  • Function - Enforces permission checks on sensitive contract functions to prevent unauthorized state manipulation.
  • Authorization Logic - Provides logic for verifying permissions and access control within smart contract functions.
  • Ethereum Virtual Machine Hardening - Optimizes contract code to prevent gas exhaustion, reentrancy, and arithmetic errors during execution.
  • Reentrancy Guards - Implements state updates and execution guards to prevent recursive reentrancy attacks.
  • Solidity Vulnerability Detectors - Catalogs Solidity-specific security flaws and logic errors with corresponding mitigation strategies.
  • Arithmetic Error Mitigations - Protects against financial loss by mitigating arithmetic errors and boundary condition failures.
  • Control-Flow Graph Constructions - Constructs control-flow graphs from bytecode to identify reentrancy and race conditions.
  • State Variable Shadowing Detectors - Provides automated detection of state variable shadowing in inherited contracts to prevent logic errors.
  • Withdrawal-Based Payment Patterns - Prevents transaction blocking by decoupling fund transfers from core logic using pull-based withdrawal patterns.
  • Data Storage - Manages variable storage locations to ensure correct initialization and prevent unauthorized memory access.
  • Timestamp Validators - Prevents the use of block timestamps for critical logic to mitigate miner manipulation risks.
  • Contract Existence Checks - Implements defensive checks to ensure target addresses contain executable code before performing low-level calls.
  • Version Locking - Locks compiler versions to ensure consistent and secure deployment environments.
  • Loop Refactoring Patterns - Refactors push-based payment loops into pull-based systems to prevent transaction failures caused by block gas limits.
  • Relay Gas Requirements - Mitigates gas griefing by enforcing minimum gas requirements for sub-calls in relay contracts.
  • Ethereum - Provides a technical guide documenting secure coding patterns and best practices for Ethereum smart contract development.
  • Fair Transaction Orderers - Mitigates frontrunning risks through commit-reveal schemes and private mempool routing.
  • Unbounded Return Data Limits - Prevents gas exhaustion attacks by restricting the amount of data copied from external contract calls.
  • Visibility Specifiers - Manages function and variable visibility to restrict unauthorized external access.
  • Balance-Dependent Logic Protections - Implements defensive patterns to prevent transaction failures caused by external manipulation of contract balances.
  • Block Stuffing Resilience Patterns - Designs time-sensitive contract logic to remain resilient against attackers attempting to block transactions via gas exhaustion.
  • Cryptographic Primitive Validation - Validates cryptographic primitives like hashing and signature recovery to prevent protocol bypasses.
  • Cryptographic Random Number Generators - Integrates verifiable oracle services to generate unpredictable random numbers for secure contract outcomes.
  • Cryptographic Signature Verification - Validates elliptic curve signatures to ensure recovered addresses are valid and authorized.
  • One-Time Signature Validators - Validates transaction uniqueness using nonces to prevent the reuse of valid signatures.
  • Hash Collision Prevention Patterns - Prevents authorization bypasses by enforcing secure hashing patterns instead of packed concatenation.
  • Caller Identity Verifications - Implements checks on the immediate caller address to secure contract interactions.
  • Static Analysis Signatures - Uses signature-based pattern matching to identify known vulnerabilities in source code.
  • Trusted Target Whitelisting - Validates delegatecall targets against a trusted list to prevent unauthorized storage modifications.
  • Compiler Constraint Enforcements - Ensures code is compiled with secure, tested compiler versions.
  • Deprecated Function Detectors - Identifies deprecated functions and patterns to prevent compilation errors and security risks.
  • Development Best Practices - Provides industry-standard patterns for compiler configuration and inheritance to ensure robust architecture.
  • Integer Division Precisions - Ensures calculation accuracy by scaling values before performing integer division.
  • External Call Return Validations - Enforces verification of external call return values to detect and handle execution failures.
  • Code Quality Tools - Enforces coding standards and best practices to ensure high-quality, secure contract code.
  • Flexible Gas Transfer Patterns - Replaces fixed-gas transfer methods with flexible patterns to ensure successful transactions with gas-intensive recipients.
  • Gas-Aware Execution Models - Identifies potential gas exhaustion and denial-of-service risks in contract logic.

Star 历史

kadenzipfel/smart-contract-vulnerabilities 的 Star 历史图表kadenzipfel/smart-contract-vulnerabilities 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

包含 Smart Contract Vulnerabilities 的精选搜索

收录 Smart Contract Vulnerabilities 的精选合集。
  • 区块链与 Web3 开发路线图
  • 区块链开发综合学习指南
  • Security research resources

Smart Contract Vulnerabilities 的开源替代方案

相似的开源项目,按与 Smart Contract Vulnerabilities 的功能重合度排序。
  • crytic/slithercrytic 的头像

    crytic/slither

    6,141在 GitHub 上查看↗
    Pythonethereumsoliditystatic-analysis
    在 GitHub 上查看↗6,141
  • quipnetwork/hashsigs-solidityQuipNetwork 的头像

    QuipNetwork/hashsigs-solidity

    2,957在 GitHub 上查看↗

    hashsigs-solidity is a cryptographic signature library and security utility for Ethereum smart contracts. It functions as a hash-based signature verifier designed to confirm data origin and integrity within a virtual machine environment. The project focuses on on-chain cryptographic authentication, specifically the verification of one-time signatures to prevent replay attacks. It implements signature validation for Winternitz One-Time Signatures Plus to ensure that data has not been tampered with before it is processed by a contract. The library covers a broad range of cryptographic capabili

    Solidity
    在 GitHub 上查看↗2,957
  • openzeppelin/openzeppelin-contractsOpenZeppelin 的头像

    OpenZeppelin/openzeppelin-contracts

    27,157在 GitHub 上查看↗

    OpenZeppelin Contracts is a library of modular, secure, and reusable smart contract components designed for the development of decentralized applications. It provides a foundational framework for building standard-compliant contracts, offering battle-tested implementations for token standards, access control, and common utility patterns. The project distinguishes itself through its comprehensive support for complex architectural patterns, including proxy-based upgradeability, role-based access control, and account abstraction. It enables developers to implement modular logic injection via hoo

    Solidityethereumevmsecurity
    在 GitHub 上查看↗27,157
  • vyperlang/vypervyperlang 的头像

    vyperlang/vyper

    5,180在 GitHub 上查看↗

    Vyper is a security-focused, typed programming language and compiler designed for creating smart contracts that execute on the Ethereum Virtual Machine. It utilizes a Pythonic syntax to define contract logic and state, serving as a target for formal verification to allow for machine-checked proofs of correctness. The language distinguishes itself through strict architectural constraints that prioritize predictability and security. It enforces acyclic call graphs by prohibiting recursion and mandates bounded loops to ensure static gas prediction. Additionally, it features a native fixed-point

    Pythonethereumethereum-dapplanguage
    在 GitHub 上查看↗5,180
  • 查看 Smart Contract Vulnerabilities 的所有 30 个替代方案→

    常见问题解答

    kadenzipfel/smart-contract-vulnerabilities 是做什么的?

    This project serves as a comprehensive knowledge base and technical reference for identifying and mitigating security vulnerabilities in smart contracts. It provides a structured catalog of common attack vectors, logic errors, and insecure coding patterns, offering developers and auditors a centralized resource for implementing secure decentralized applications.

    kadenzipfel/smart-contract-vulnerabilities 的主要功能有哪些?

    kadenzipfel/smart-contract-vulnerabilities 的主要功能包括:Secure Decentralized Application Design, Invariant Verifications, Smart Contract Security, Invariant-Based State Validations, Execution Flow Control, Function, Authorization Logic, Ethereum Virtual Machine Hardening。

    kadenzipfel/smart-contract-vulnerabilities 有哪些开源替代品?

    kadenzipfel/smart-contract-vulnerabilities 的开源替代品包括: crytic/slither. quipnetwork/hashsigs-solidity — hashsigs-solidity is a cryptographic signature library and security utility for Ethereum smart contracts. It functions… openzeppelin/openzeppelin-contracts — OpenZeppelin Contracts is a library of modular, secure, and reusable smart contract components designed for the… vyperlang/vyper — Vyper is a security-focused, typed programming language and compiler designed for creating smart contracts that… trailofbits/slither — Static Analyzer for Solidity and Vyper. inoutcode/ethereum_book — This project is a comprehensive educational guide and technical manual for the Ethereum blockchain. It provides…