Fully Local, Decentralized Threat Defense
Project description
Leukquant — Fully Local, Decentralized Threat Defense
Zero cloud. Zero trust in corporations. Zero single point of failure.
Overview
Leukquant is a fully local, decentralized threat defense system. It uses on-device AI for malware classification, a behavior profiler for anomaly detection, and post-quantum cryptography for file encryption.
Note: The blockchain threat ledger is currently disabled in this version. We use datasets like EMBER, VirusShare, and Kaggle Malware datasets for local AI scanning.
Features
- Local AI Scanning: On-device malware classification using ONNX models. No telemetry. No cloud calls.
- Behavior Profiler: Learns normal patterns over a 14-day baseline and flags deviations.
- Post-Quantum Crypto Vault: Encrypts files with NIST PQC standards (ML-KEM, ML-DSA, SLH-DSA).
- Offline Mode: Built for machines that never touch the internet.
Installation
pip install -r requirements.txt
Usage
1. Local AI Scanning
Scan a file using the local AI model:
python src/cli/main.py scan --file /path/to/file
2. Behavior Profiler
Start monitoring system behavior:
python src/cli/main.py monitor
3. Post-Quantum File Encryption
Encrypt a file:
python src/cli/main.py encrypt --file secret.pdf --algo ml-kem-1024 --sign ml-dsa-87
Decrypt a file:
python src/cli/main.py decrypt --file secret.pdf.sqe --key ~/.Leukquant/private.key
File Structure
models/: Contains the ONNX/GGML models for malware detection.db/: Local SQLite databases for threat signatures and behavior baselines.keys/: Post-quantum cryptographic keys.config/: Configuration files (e.g.,Leukquant.yml).src/: Source code for the scanner, behavior profiler, crypto vault, and CLI.logs/: Local logs for anomalies.
Datasets for Training
To train the local AI model, you can use the following datasets:
- EMBER: Open PE malware dataset.
- VirusShare: Repository of malware samples.
- Kaggle Malware Datasets: Various datasets available on Kaggle.
Note: The pre-trained model should be placed in models/malware_detector.onnx.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file leukquant-0.1.0.tar.gz.
File metadata
- Download URL: leukquant-0.1.0.tar.gz
- Upload date:
- Size: 36.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0e9f0512e75a797166cff11220e315db22a6f655d1037085f1165e2794669b3
|
|
| MD5 |
e8d2114f8530b525908196fda7661fe7
|
|
| BLAKE2b-256 |
191ddc9a347ed0ddba200019a104111f4fb1d44a09d713791ac6ffb04f010308
|
File details
Details for the file leukquant-0.1.0-py3-none-any.whl.
File metadata
- Download URL: leukquant-0.1.0-py3-none-any.whl
- Upload date:
- Size: 39.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5fc5a6fef3242f33210a54eb6b28df124ac9340d01d45c9ba006043be8697ef2
|
|
| MD5 |
314285392173c56e51f42210c77e74eb
|
|
| BLAKE2b-256 |
40ddf2b11c49c2768cd419fb99ec55b56dcddcf92d62aa152da115a4abe5a673
|