[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-10553":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":10,"languages":10,"totalLinesOfCode":10,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":23,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":29,"readmeContent":30,"aiSummary":31,"trendingCount":15,"starSnapshotCount":15,"syncStatus":32,"lastSyncTime":33,"discoverSource":34},10553,"smart-contract-vulnerabilities","kadenzipfel\u002Fsmart-contract-vulnerabilities","kadenzipfel","A collection of smart contract vulnerabilities along with prevention methods","https:\u002F\u002Fkadenzipfel.github.io\u002Fsmart-contract-vulnerabilities\u002F",null,2466,327,40,16,0,4,13,1,29.55,"MIT License",false,"master",true,[25,26,27,28],"blockchain","ethereum","security","solidity","2026-06-12 02:02:23","# Smart Contract Vulnerabilities\n\nA collection of smart contract vulnerabilities along with prevention methods.\n\nSee [\u002Freferences](.\u002Freferences\u002F) for LLM-optimized references.\n\n### Access Control\n\n- [Authorization Through tx.origin](.\u002Fvulnerabilities\u002Fauthorization-txorigin.md)\n- [Insufficient Access Control](.\u002Fvulnerabilities\u002Finsufficient-access-control.md)\n- [Delegatecall to Untrusted Callee](.\u002Fvulnerabilities\u002Fdelegatecall-untrusted-callee.md)\n- [Signature Malleability](.\u002Fvulnerabilities\u002Fsignature-malleability.md)\n- [Missing Protection against Signature Replay Attacks](.\u002Fvulnerabilities\u002Fmissing-protection-signature-replay.md)\n\n### Math\n\n- [Integer Overflow and Underflow](.\u002Fvulnerabilities\u002Foverflow-underflow.md)\n- [Off-By-One](.\u002Fvulnerabilities\u002Foff-by-one.md)\n- [Lack of Precision](.\u002Fvulnerabilities\u002Flack-of-precision.md)\n\n### Control Flow\n\n- [Reentrancy](.\u002Fvulnerabilities\u002Freentrancy.md)\n- [DoS with Block Gas Limit](.\u002Fvulnerabilities\u002Fdos-gas-limit.md)\n- [DoS with (Unexpected) revert](.\u002Fvulnerabilities\u002Fdos-revert.md)\n- [Using `msg.value` in a Loop](.\u002Fvulnerabilities\u002Fmsgvalue-loop.md)\n- [Transaction-Ordering Dependence](.\u002Fvulnerabilities\u002Ftransaction-ordering-dependence.md)\n- [Insufficient Gas Griefing](.\u002Fvulnerabilities\u002Finsufficient-gas-griefing.md)\n\n### Data Handling\n\n- [Unchecked Return Value](.\u002Fvulnerabilities\u002Funchecked-return-values.md)\n- [Write to Arbitrary Storage Location](.\u002Fvulnerabilities\u002Farbitrary-storage-location.md)\n- [Unbounded Return Data](.\u002Fvulnerabilities\u002Funbounded-return-data.md)\n- [Uninitialized Storage Pointer](.\u002Fvulnerabilities\u002Funinitialized-storage-pointer.md)\n- [Unexpected `ecrecover` null address](.\u002Fvulnerabilities\u002Funexpected-ecrecover-null-address.md)\n\n### Unsafe Logic\n\n- [Weak Sources of Randomness from Chain Attributes](.\u002Fvulnerabilities\u002Fweak-sources-randomness.md)\n- [Hash Collision when using abi.encodePacked() with Multiple Variable-Length Arguments](.\u002Fvulnerabilities\u002Fhash-collision.md)\n- [Timestamp Dependence](.\u002Fvulnerabilities\u002Ftimestamp-dependence.md)\n- [Unsafe Low-Level Call](.\u002Fvulnerabilities\u002Funsafe-low-level-call.md)\n- [Unsupported Opcodes](.\u002Fvulnerabilities\u002Funsupported-opcodes.md)\n- [Unencrypted Private Data On-Chain](.\u002Fvulnerabilities\u002Funencrypted-private-data-on-chain.md)\n- [Asserting Contract from Code Size](.\u002Fvulnerabilities\u002Fasserting-contract-from-code-size.md)\n\n### Code Quality\n\n- [Floating Pragma](.\u002Fvulnerabilities\u002Ffloating-pragma.md)\n- [Outdated Compiler Version](.\u002Fvulnerabilities\u002Foutdated-compiler-version.md)\n- [Use of Deprecated Functions](.\u002Fvulnerabilities\u002Fuse-of-deprecated-functions.md)\n- [Incorrect Constructor Name](.\u002Fvulnerabilities\u002Fincorrect-constructor.md)\n- [Shadowing State Variables](.\u002Fvulnerabilities\u002Fshadowing-state-variables.md)\n- [Incorrect Inheritance Order](.\u002Fvulnerabilities\u002Fincorrect-inheritance-order.md)\n- [Presence of Unused Variables](.\u002Fvulnerabilities\u002Funused-variables.md)\n- [Default Visibility](.\u002Fvulnerabilities\u002Fdefault-visibility.md)\n- [Inadherence to Standards](.\u002Fvulnerabilities\u002Finadherence-to-standards.md)\n- [Assert Violation](.\u002Fvulnerabilities\u002Fassert-violation.md)\n- [Requirement Violation](.\u002Fvulnerabilities\u002Frequirement-violation.md)\n","该项目收集了智能合约中常见的安全漏洞及其预防方法。它涵盖了访问控制、数学运算、控制流、数据处理、不安全逻辑和代码质量等多个方面的漏洞，例如授权通过tx.origin、整数溢出与下溢、重入攻击等，并提供了详细的解释与防护建议。项目特别适合区块链开发者在编写以太坊智能合约时作为参考，帮助识别潜在的安全风险并采取措施加以防范。采用MIT许可协议开放源码，便于社区贡献和使用。",2,"2026-06-11 03:29:06","top_topic"]