3 unstable releases
new 0.1.1 | Feb 17, 2025 |
---|---|
0.1.0 | Feb 13, 2025 |
0.0.0 | Feb 11, 2025 |
#332 in Magic Beans
298 downloads per month
39KB
696 lines
Fragarach
Modular OSINT framework for blockchain forensics and investigations
Overview
Fragarach is a modular OSINT framework designed for blockchain investigations and forensics, implemented in Rust. The framework provides a comprehensive suite of tools for building and analyzing blockchain intelligence data lakes.
Features & Integrations
Current Integrations
-
Transpose API
- Ethereum blockchain data retrieval
-
URLScan API
- Domain scanning with private visibility
- Screenshot capture
- DOM snapshot storage
Supported Networks
- Ethereum
- Account analysis
- Bitcoin (Under Development)
- Solana (Planned)
Installation & Setup
Prerequisites
- Rust Installation
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Installation Methods
-
Via Cargo
cargo install fragarach
-
From Source
git clone https://github.com/DB14734/fragarach.git cd fragarach cargo build --release
Usage
Configuration
-
Environment Setup
fragarach setup
This will create a
.env
file with:TRANSPOSE_API_KEY
: Transpose API authenticationURLSCAN_API_KEY
: URLScan API authentication
-
Database
- DuckDB database is automatically created at `data/fragarach.duckdd
Dependencies
Core dependencies:
tokio
: Async runtime and utilitiesduckdb
: Embedded database operationsreqwest
: HTTP clientserde
: Serialization/deserializationclap
: CLI argument parsingdotenv
: Environment variable management
UI dependencies:
colored
: Terminal coloringdialoguer
: Interactive promptsconsole
: Terminal utilities
Core Components
Storage Layer
Uses DuckDB as an embedded analytical database.
Schema Design
Database tables:
-
ethereum_accounts
- Primary account information
- Creation timestamps
- Activity tracking
- Account typing
-
ethereum_transactions
- Transaction details
- Gas metrics
- Fee calculations
- Internal transaction tracking
-
urlscan_domain_data
- Domain scan results
- Verdict analysis
- Screenshot references
- Geographical data
-
urlscan_dom_snapshot
- DOM state storage
- Temporal tracking
- UUID referencing
Contributing
Development Setup
-
Fork & Clone
git clone https://github.com/your-username/fragarach.git cd fragarach
-
Build
cargo build
-
Environment Configuration
cp .env.example .env # Edit .env with your API keys
License
This project is licensed under the MIT License - see the LICENSE file for details.
Dependencies
~31–45MB
~610K SLoC