Advanced Metadata & Forensic Analysis Tool
Filed named as MetaForensic - Advanced Metadata Analysis demo.pdf contains the preview of the output ...
- Metadata Extraction: Filesystem timestamps, permissions, PDF/DOCX/XLSX/PPTX metadata
- Forensic Checks: Date anomalies, metadata stripping, suspicious patterns
- Risk Score: 0–10 with High/Medium/Low severity
- UI: Drag–drop upload, real-time analysis, JSON export, batch processing
cd backend
pip install -r requirements.txt
python main.py
# Runs on: http://localhost:8000cd frontend
python -m http.server 3000
# Runs on: http://localhost:3000backend/
main.py
metadata_core.py
forensic_analysis.py
requirements.txt
frontend/
index.html
PDF · DOCX · XLSX · PPTX
- High: Date mismatches, stripped metadata
- Medium: Missing fields
- Low: Generic metadata
- Upload file
- Extract filesystem + document metadata
- Perform forensic checks
- Compute risk score
- Download JSON report
| Endpoint | Method | Description |
|---|---|---|
/health |
GET | Server check |
/analyze-file |
POST | Analyze one file |
/analyze-multiple |
POST | Analyze multiple files |
Example:
curl -X POST http://localhost:8000/analyze-file -F "file=@doc.pdf"Python 3.9+ Key packages:
fastapi
uvicorn
python-multipart
PyPDF2
pikepdf
python-docx
openpyxl
python-pptx
Vercel (recommended):
vercel --prodLocal:
python backend/main.py- Backend not running → start
main.py - Upload errors → check file type/size
- CORS issues → adjust allowed origins
- Add file type → edit
metadata_core.py - Add forensic rule → update
forensic_analysis.py
---