ryocryptoguard 0.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cryptoguard/__init__.py +26 -0
- cryptoguard/__main__.py +8 -0
- cryptoguard/analyzer.py +1039 -0
- cryptoguard/cli.py +424 -0
- cryptoguard/constants.py +226 -0
- cryptoguard/goplus.py +227 -0
- cryptoguard/hook.py +232 -0
- cryptoguard/mcp_server.py +334 -0
- cryptoguard/py.typed +0 -0
- cryptoguard/report.py +387 -0
- cryptoguard/reputation.py +347 -0
- cryptoguard/ryo.py +120 -0
- cryptoguard/scanner.py +286 -0
- ryocryptoguard-0.2.0.dist-info/METADATA +440 -0
- ryocryptoguard-0.2.0.dist-info/RECORD +19 -0
- ryocryptoguard-0.2.0.dist-info/WHEEL +5 -0
- ryocryptoguard-0.2.0.dist-info/entry_points.txt +3 -0
- ryocryptoguard-0.2.0.dist-info/licenses/LICENSE +21 -0
- ryocryptoguard-0.2.0.dist-info/top_level.txt +1 -0
cryptoguard/__init__.py
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"""RyoCryptoGuard - AI agent safety layer for crypto transactions.
|
|
2
|
+
|
|
3
|
+
Protects users from honeypots, blacklists, rug pulls, and scam tokens
|
|
4
|
+
by analyzing smart contracts before any transaction is executed.
|
|
5
|
+
|
|
6
|
+
PyPI package name: ryocryptoguard
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
__version__ = "0.1.0"
|
|
10
|
+
__author__ = "momenbasel"
|
|
11
|
+
|
|
12
|
+
from .analyzer import AnalysisResult, Finding, RiskLevel, Severity, analyze
|
|
13
|
+
from .reputation import ReputationReport, check_reputation
|
|
14
|
+
from .scanner import ScanResult, scan_bytecode
|
|
15
|
+
|
|
16
|
+
__all__ = [
|
|
17
|
+
"analyze",
|
|
18
|
+
"AnalysisResult",
|
|
19
|
+
"Finding",
|
|
20
|
+
"Severity",
|
|
21
|
+
"RiskLevel",
|
|
22
|
+
"scan_bytecode",
|
|
23
|
+
"ScanResult",
|
|
24
|
+
"check_reputation",
|
|
25
|
+
"ReputationReport",
|
|
26
|
+
]
|
cryptoguard/__main__.py
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"""Allow running as `python -m cryptoguard` or `python -m cryptoguard.hook`."""
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
# If invoked as `python -m cryptoguard.hook`, the hook module's __main__
|
|
5
|
+
# block handles it. This file handles `python -m cryptoguard` for CLI.
|
|
6
|
+
if __name__ == "__main__":
|
|
7
|
+
from .cli import main
|
|
8
|
+
main()
|