From bacd8c0222af135e43b91f3c8dd564b8e6cdf416 Mon Sep 17 00:00:00 2001 From: Feist Josselin Date: Fri, 28 Jun 2024 11:14:41 +0200 Subject: [PATCH 1/9] Update FUNDING.json --- FUNDING.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/FUNDING.json b/FUNDING.json index bbda1e452..5caad61f5 100644 --- a/FUNDING.json +++ b/FUNDING.json @@ -4,4 +4,9 @@ "ownedBy": "0xc44F30Be3eBBEfdDBB5a85168710b4f0e18f4Ff0" } } + "drips": { + "ethereum": { + "ownedBy": "0x5e2BA02F62bD4efa939e3B80955bBC21d015DbA0" + } + } } From 9a5b4f5cff9db6475c5badff18f9882180d5f344 Mon Sep 17 00:00:00 2001 From: Feist Josselin Date: Fri, 28 Jun 2024 11:15:05 +0200 Subject: [PATCH 2/9] Update FUNDING.json --- FUNDING.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FUNDING.json b/FUNDING.json index 5caad61f5..189cf2f95 100644 --- a/FUNDING.json +++ b/FUNDING.json @@ -3,7 +3,7 @@ "op-mainnet": { "ownedBy": "0xc44F30Be3eBBEfdDBB5a85168710b4f0e18f4Ff0" } - } + }, "drips": { "ethereum": { "ownedBy": "0x5e2BA02F62bD4efa939e3B80955bBC21d015DbA0" From fda26fa865f33c6bab66a4257bc17ce4ff87e7b2 Mon Sep 17 00:00:00 2001 From: Daniel Bast <2790401+dbast@users.noreply.github.com> Date: Fri, 2 Aug 2024 19:18:21 +0200 Subject: [PATCH 3/9] Enable running slither as pre-commit hook --- .pre-commit-hooks.yaml | 7 +++++++ README.md | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100644 .pre-commit-hooks.yaml diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml new file mode 100644 index 000000000..0f1b2fbee --- /dev/null +++ b/.pre-commit-hooks.yaml @@ -0,0 +1,7 @@ +- id: slither + name: Slither + description: Run Slither on your project + entry: slither . + pass_filenames: false + language: python + files: \.sol$ diff --git a/README.md b/README.md index 515d6a9f7..5dc7de20f 100644 --- a/README.md +++ b/README.md @@ -102,6 +102,13 @@ docker run -it -v /home/share:/share trailofbits/eth-security-toolbox ### Integration * For GitHub action integration, use [slither-action](https://github.com/marketplace/actions/slither-action). +* For pre-commit integratio, use (replace `$GIT_TAG` with real tag) + ``` + - repo: https://github.com/crytic/slither + rev: $GIT_TAG + hooks: + - slither + ``` * To generate a Markdown report, use `slither [target] --checklist`. * To generate a Markdown with GitHub source code highlighting, use `slither [target] --checklist --markdown-root https://github.com/ORG/REPO/blob/COMMIT/` (replace `ORG`, `REPO`, `COMMIT`) From f008437703aca24f4437dee458929c130e7d2cce Mon Sep 17 00:00:00 2001 From: Daniel Bast <2790401+dbast@users.noreply.github.com> Date: Fri, 2 Aug 2024 20:58:22 +0200 Subject: [PATCH 4/9] Specify language for code block in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5dc7de20f..c7a466f80 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,7 @@ docker run -it -v /home/share:/share trailofbits/eth-security-toolbox * For GitHub action integration, use [slither-action](https://github.com/marketplace/actions/slither-action). * For pre-commit integratio, use (replace `$GIT_TAG` with real tag) - ``` + ```YAML - repo: https://github.com/crytic/slither rev: $GIT_TAG hooks: From ee59976d68bb5ecc8cc352c4956a69c249280c23 Mon Sep 17 00:00:00 2001 From: Daniel Bast <2790401+dbast@users.noreply.github.com> Date: Sun, 11 Aug 2024 08:18:40 +0200 Subject: [PATCH 5/9] Specify folder via args to be easier to overwrite/configure --- .pre-commit-hooks.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 0f1b2fbee..d561ca429 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -1,7 +1,9 @@ - id: slither name: Slither description: Run Slither on your project - entry: slither . + entry: slither + args: + - . pass_filenames: false language: python files: \.sol$ From 177fd1a02edce46b4416958851aa8d0ae9848301 Mon Sep 17 00:00:00 2001 From: Daniel Bast <2790401+dbast@users.noreply.github.com> Date: Tue, 13 Aug 2024 17:33:23 +0200 Subject: [PATCH 6/9] README.md aktualisieren MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Emilio López <2642849+elopez@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c7a466f80..a85d85369 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,7 @@ docker run -it -v /home/share:/share trailofbits/eth-security-toolbox ### Integration * For GitHub action integration, use [slither-action](https://github.com/marketplace/actions/slither-action). -* For pre-commit integratio, use (replace `$GIT_TAG` with real tag) +* For pre-commit integration, use (replace `$GIT_TAG` with real tag) ```YAML - repo: https://github.com/crytic/slither rev: $GIT_TAG From d3dadee6e08922fbe68ac742d134be8dcb9cbc19 Mon Sep 17 00:00:00 2001 From: Daniel Bast <2790401+dbast@users.noreply.github.com> Date: Sat, 17 Aug 2024 22:54:48 +0200 Subject: [PATCH 7/9] Fix --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a85d85369..660f4f8e8 100644 --- a/README.md +++ b/README.md @@ -107,7 +107,7 @@ docker run -it -v /home/share:/share trailofbits/eth-security-toolbox - repo: https://github.com/crytic/slither rev: $GIT_TAG hooks: - - slither + - id: slither ``` * To generate a Markdown report, use `slither [target] --checklist`. * To generate a Markdown with GitHub source code highlighting, use `slither [target] --checklist --markdown-root https://github.com/ORG/REPO/blob/COMMIT/` (replace `ORG`, `REPO`, `COMMIT`) From aeeb2d368802844733671e35200b30b5f5bdcf5c Mon Sep 17 00:00:00 2001 From: alpharush <0xalpharush@protonmail.com> Date: Fri, 23 Aug 2024 08:20:00 -0500 Subject: [PATCH 8/9] prepare 0.10.4 release --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index e5739804c..ef9d81f20 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ description="Slither is a Solidity and Vyper static analysis framework written in Python 3.", url="https://github.com/crytic/slither", author="Trail of Bits", - version="0.10.3", + version="0.10.4", packages=find_packages(), python_requires=">=3.8", install_requires=[ From 2c792b2b73c6c1fbbf5464bd1f9fc8ccedf0c0bf Mon Sep 17 00:00:00 2001 From: alpharush <0xalpharush@protonmail.com> Date: Wed, 11 Sep 2024 10:25:38 -0500 Subject: [PATCH 9/9] fix: breaking change in upload artifact that ignores hidden files --- .github/actions/upload-coverage/action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/actions/upload-coverage/action.yml b/.github/actions/upload-coverage/action.yml index 02fb82f65..541b93111 100644 --- a/.github/actions/upload-coverage/action.yml +++ b/.github/actions/upload-coverage/action.yml @@ -27,4 +27,5 @@ runs: path: | .coverage.* *.lcov - if-no-files-found: ignore \ No newline at end of file + if-no-files-found: ignore + include-hidden-files: true