- You will regret missing this demo video! Click on the thumbnail below to watch it now!
Presenting TrustSphere AI: An LLM-powered Trust & Safety platform for detecting review fraud, counterfeit listings, and seller manipulation in e-commerce.
TrustSphere AI is an explainable, scalable, and intelligent platform built to combat fake reviews, counterfeit products, and fraudulent seller networks in e-commerce ecosystems.
We leverage LLMs, Computer Vision, Graph Intelligence, and Explainable AI to deliver real-time trust insights to platforms, buyers, and compliance teams.
- Analyze sentiment, detect AI-generated content, and flag suspicious reviews
- Uses similarity search (FAISS + embeddings) to detect review spamming
- Tech Stack:
LangChain,HuggingFace Transformers,FAISS,Kafka,AWS Lambda,Pinecone,AWS SageMaker
💡 How it scales?
- Uses
Pineconefor fast vector similarity lookups- Batched and async LLM inference with
LangChain+SageMakerendpoints- Review ingestion is streamed via
KafkaStreams to ensure real-time processing
- Identify counterfeit packaging via product image analysis
- Detects reused images, manipulated branding, and fake barcodes
- Siamese networks + Grad-CAM to highlight mismatched or reused assets
- Tech Stack:
PyTorch,OpenCV,Mobile-Net,Grad-CAM,Scikit-learn,Flask,OCR,SageMaker,AWS Lambda,Amazon S3,CloudFront
💡 How it scales?
- Images are stored on
Amazon S3and served viaCloudFront- Inference runs on GPU-backed
SageMakerendpoints with auto-scaling- Precomputed visual embeddings reduce real-time load
- Builds seller-buyer-review graphs to detect review farms and fraud rings
- GNN-powered fraud ring detection across millions of user-product interactions
- IP clustering and suspicious co-reviewing behavior modeling
- Tech Stack:
PyTorch Geometric,Graph Neural Networks,Louvain Community Detection,Scikit-learn,Kafka,AWS SageMaker
💡 How it scales?
- Scheduled GNN training using
SageMaker+ GPU instances- Real-time edges can be streamed into the graph via
Kafka
- Calculates seller-level integrity scores based on:
- Review quality and quantity
- Return rates and dispute frequency
- GNN anomaly signals and image-based inconsistencies
- Powers moderation decisions and visibility rankings
- Tech Stack:
Python,Scikit-learn,Pandas,NumPy,Flask(under development)
💡 How it scales?
- Uses
Redisfor fast in-memory trust score caching- Trust score logic is stateless and runs on
AWS Lambdacontainers
- Review decisions are explained using LIME for LLM-based flags
- Image-based flags are explained using Grad-CAM visualizations
📦 TrustSphere-AI/
├── server/ # Flask backend app
│ ├── models/ # ML models, embeddings, CV, GNN
│ ├── services/ # Data processing
│ ├── routes/ # API endpoints
│ ├── index.js # Main server entry point
│ └── ...
├── client/ # Frontend React app
│ ├── src/ # React components, pages, styles
│ ├── public/ # Static assets, icons, images
│ ├── package.json # Frontend dependencies
│ └── ...
├── assets/ # Images, logos, and other static assets
├── README.md # You're here!
└── requirements.txt
└── package.jsongit clone https://github.com/HitG010/TrustSphere-AI.git
cd TrustSphere-AIpython -m venv venv
source venv/bin/activate # or venv\Scripts\activate on Windows- Or use Conda if preferred:
conda create -n trustsphere python=3.9
conda activate trustspherepip install -r requirements.txtMake sure to run the embedding loader:
python indexing/index_reviews.py # Pre-load review.json embeddingscd frontend
npm install
npm run devcd backend
npm install
nodemon index.jspython3 server/models/app.pyor
python server/models/app.pyAnd then naivgate to http://localhost:5173 in your browser to access the TrustSphere platform.
TrustSphere AI was built by a passionate team FigureOut during the Amazon HackOn'25 Hackathon.










