-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #97 from pessimistic-io/develop
v0.4.1
- Loading branch information
Showing
40 changed files
with
637 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
recursive-include slitherin * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# AAVE Flashloan callback detector | ||
|
||
## Configuration | ||
|
||
- Check: `pess-aave-flashloan-callback` | ||
- Severity: `High` | ||
- Confidence: `High` | ||
|
||
## Description | ||
|
||
It is important to validate `initiator` and `msg.sender` in `executeOperation` callback | ||
|
||
## Vulnerable Scenario | ||
|
||
[test scenarios](../tests/AaveFlashloanCallback.sol) | ||
|
||
## Recommendation | ||
|
||
Validate `initiator` and `msg.sender` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
from setuptools import setup, find_packages | ||
from slitherin.cli import SLITHERIN_VERSION | ||
|
||
with open("./README.md", "r") as f: | ||
long_description = f.read() | ||
|
@@ -8,18 +9,27 @@ | |
description="Pessimistic security Slither detectors", | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
package_data={"slitherin": ["py.typed"]}, | ||
url="https://github.com/pessimistic-io/slitherin", | ||
author="Pessimistic.io", | ||
version="0.4.0", | ||
package_dir={"":"."}, | ||
author_email="[email protected]", | ||
classifiers=[ | ||
"Development Status :: 3 - Alpha", | ||
"Programming Language :: Python", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Topic :: Software Development :: Libraries", | ||
], | ||
version=SLITHERIN_VERSION, | ||
packages=find_packages(), | ||
license="AGPL-3.0", | ||
python_requires=">=3.8", | ||
install_requires=["slither-analyzer>=0.8.3"], | ||
install_requires=["slither-analyzer>=0.9.3"], | ||
extras_requires={ | ||
"dev": ["twine>=4.0.2"], | ||
}, | ||
entry_points={ | ||
"slither_analyzer.plugin": "slither my-plugin=slither_pess:make_plugin", | ||
"slither_analyzer.plugin": "slither slitherin-plugins=slither_pess:make_plugin", | ||
"console_scripts": ["slitherin=slither_pess.cli:main"], | ||
}, | ||
include_package_data=True, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.