From 3a4078132a4cb5a935607ca1a1990542d6818bbd Mon Sep 17 00:00:00 2001 From: chaals Date: Mon, 1 Jul 2024 19:06:32 +0200 Subject: [PATCH] Update SWC-101.md Add disclaimer, link to modern guidance --- entries/docs/SWC-101.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/entries/docs/SWC-101.md b/entries/docs/SWC-101.md index 296d505f..54a750cf 100644 --- a/entries/docs/SWC-101.md +++ b/entries/docs/SWC-101.md @@ -1,3 +1,14 @@ +# Please note, this content is no longer actively maintained. + +The content of the SWC registry has not been thoroughly updated since 2020. It is known to be incomplete and may contain errors as well as crucial omissions. + +For currently maintained guidance on known Smart Contract vulnerabilities written primarily as guidance for security reviewers, please see the +[EEA EthTrust Security Levels specification](https://entethalliance.org/specs/ethtrust-sl). As well as the latest release version, an +[Editor's draft](https://entethalliance.github.io/eta-registry/security-levels-spec.html) is available, that represents the latest work of the group developing the specification. + +General guidance for developers on what to consider to ensure security, that is currently maintained, is also available through the +[Smart Contract Security Verification Standard (SCSVS)](https://github.com/ComposableSecurity/SCSVS). + # Title Integer Overflow and Underflow @@ -20,6 +31,12 @@ It is recommended to use vetted safe math libraries for arithmetic operations co ## Samples +### EEA EthTrust Security Levels Specification + +- [**[S] No Overflow/Underflow**](https://entethalliance.org/specs/ethtrust-sl/#req-1-overflow-underflow) +- [**[M] Safe Overflow/Underflow**](https://entethalliance.org/specs/ethtrust-sl/#req-2-overflow-underflow) +- [**[M] Document Special Code Use**](https://entethalliance.org/specs/ethtrust-sl/#req-2-documented) + ### tokensalechallenge.sol ```solidity