ScanIt is an open-source framework designed to solve the liability crisis in the age of Generative AI. It merges multi-model AI detection with immutable blockchain ledgers to provide a transparent, mathematically verifiable chain of custody for digital documents.
Note on Commit History: This repository contains the source code for the ScanIt framework as presented at the 2026 3rd International Conference on Integrated Intelligence and Communication Systems (ICIICS). The codebase was migrated from a restricted NVIDIA DGX Station A100 development environment; consequently, the granular development history is not preserved in this public release. This repository represents the "Camera-Ready" state of the system.
Unlike "Black Box" detectors, ScanIt uses a transparent voting ensemble to reduce false positives:
- Fast-DetectGPT: Provides rapid (<1.5s) initial filtering.
- DetectGPT: Performs deep curvature analysis (Zero-Shot) for high-stakes verification.
- GLTR: Analyzes token rankings to provide visual explainability.
Detects AI hallucinations by verifying claims against the live web:
- Uses a fine-tuned MT5 model to generate search queries from input text.
- Cross-references claims using Google Fact Check Tools and Custom Search APIs.
- Non-Repudiation: Anchors the SHA-256 hash of every verification report onto the Polygon/Ethereum blockchain.
- Decentralized Storage: Stores full analysis reports on IPFS, ensuring data persists even if the ScanIt servers go offline.
- AI/Backend: Python 3.12, FastAPI, PyTorch, Transformers (Hugging Face)
- Frontend: React.js, Tailwind CSS
- Blockchain: Solidity (Smart Contracts), Truffle, Ganache
- Infrastructure: IPFS (Kubo), Docker (Optional)
Prerequisites: Python 3.12+, Node.js, and a GPU with at least 16GB VRAM (Recommended).
git clone https://github.com/Didfu/ScanIt.git
cd ScanIt
# Create virtual environment
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
Ensure you have Ganache installed and running on port 7545.
# Navigate to smart contracts folder
cd blockchain
# Compile and migrate contracts
truffle compile
truffle migrate --network development
Note: Copy the deployed contract address and update it in server/config.py.
# Start the IPFS daemon for decentralized storage
ipfs daemon
# Start the FastAPI Server
python server.py
The API will be available at http://localhost:8000.
ScanIt integrates and builds upon several open-source research projects. We strictly adhere to their licensing terms and attribute the original authors:
- DetectGPT: Core curvature-based detection logic adapted from Mitchell et al. (2023). Original Repo
- Fast-DetectGPT: Conditional probability scoring adapted from Bao et al. (2023). Original Repo
- GLTR: Visual analysis overlays based on the GLTR framework by Gehrmann et al. (2019). Original Repo (Apache 2.0 License)
If you use ScanIt in your research, please cite our paper.
https://doi.org/10.5281/zenodo.18759793
This project is licensed under the Apache-2.0 License - see the LICENSE file for details.