From 970380785d0c3c36d231570d5d8d5d1be90ce2ea Mon Sep 17 00:00:00 2001 From: Pascal Marco Caversaccio Date: Mon, 7 Nov 2022 14:50:48 +0000 Subject: [PATCH 1/2] fix broken links --- slither/detectors/erc/erc20/arbitrary_send_erc20_no_permit.py | 2 +- slither/detectors/erc/erc20/arbitrary_send_erc20_permit.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/slither/detectors/erc/erc20/arbitrary_send_erc20_no_permit.py b/slither/detectors/erc/erc20/arbitrary_send_erc20_no_permit.py index 8e29ecbef8..f43b6302ec 100644 --- a/slither/detectors/erc/erc20/arbitrary_send_erc20_no_permit.py +++ b/slither/detectors/erc/erc20/arbitrary_send_erc20_no_permit.py @@ -14,7 +14,7 @@ class ArbitrarySendErc20NoPermit(AbstractDetector): IMPACT = DetectorClassification.HIGH CONFIDENCE = DetectorClassification.HIGH - WIKI = "https://github.com/trailofbits/slither/wiki/Detector-Documentation#arbitrary-send-erc20" + WIKI = "https://github.com/crytic/slither/wiki/Detector-Documentation#arbitrary-from-in-transferfrom" WIKI_TITLE = "Arbitrary `from` in transferFrom" WIKI_DESCRIPTION = "Detect when `msg.sender` is not used as `from` in transferFrom." diff --git a/slither/detectors/erc/erc20/arbitrary_send_erc20_permit.py b/slither/detectors/erc/erc20/arbitrary_send_erc20_permit.py index 48e80772bd..b28a973b3e 100644 --- a/slither/detectors/erc/erc20/arbitrary_send_erc20_permit.py +++ b/slither/detectors/erc/erc20/arbitrary_send_erc20_permit.py @@ -14,7 +14,7 @@ class ArbitrarySendErc20Permit(AbstractDetector): IMPACT = DetectorClassification.HIGH CONFIDENCE = DetectorClassification.MEDIUM - WIKI = "https://github.com/trailofbits/slither/wiki/Detector-Documentation#arbitrary-send-erc20-permit" + WIKI = "https://github.com/crytic/slither/wiki/Detector-Documentation#arbitrary-from-in-transferfrom" WIKI_TITLE = "Arbitrary `from` in transferFrom used with permit" WIKI_DESCRIPTION = ( From eb730bebf2ac9ef34e5c2f9471e1021aee9ed9d5 Mon Sep 17 00:00:00 2001 From: Pascal Marco Caversaccio Date: Mon, 7 Nov 2022 14:53:22 +0000 Subject: [PATCH 2/2] update link for permit --- slither/detectors/erc/erc20/arbitrary_send_erc20_permit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slither/detectors/erc/erc20/arbitrary_send_erc20_permit.py b/slither/detectors/erc/erc20/arbitrary_send_erc20_permit.py index b28a973b3e..1d311c442c 100644 --- a/slither/detectors/erc/erc20/arbitrary_send_erc20_permit.py +++ b/slither/detectors/erc/erc20/arbitrary_send_erc20_permit.py @@ -14,7 +14,7 @@ class ArbitrarySendErc20Permit(AbstractDetector): IMPACT = DetectorClassification.HIGH CONFIDENCE = DetectorClassification.MEDIUM - WIKI = "https://github.com/crytic/slither/wiki/Detector-Documentation#arbitrary-from-in-transferfrom" + WIKI = "https://github.com/crytic/slither/wiki/Detector-Documentation#arbitrary-from-in-transferfrom-used-with-permit" WIKI_TITLE = "Arbitrary `from` in transferFrom used with permit" WIKI_DESCRIPTION = (