Skip to content

About

AI-powered legal document scanner to detect scams and hidden risks in PDFs. Built by a 16-year-old developer.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

31 Commits

Folders and files

Repository files navigation

Streamlit App

🛡️ Legal Hero: AI Contract Scanner(ScamScanner)

Legal Hero is a smart, AI-powered investigator designed to help users identify scams, predatory clauses, and hidden traps in legal documents and contracts.


✨ Features

  • 🕵️ Deep Scan: Analyzes entire PDF documents using the Gemini 3 Flash model.
  • 🚩 Red Flag Detection: Automatically highlights high-risk language in.
  • 🔢 Risk Scoring: Provides an instant safety rating from 1 to 10.
  • 📝 Summary: Generates a "Bottom Line" summary for quick decision-making.
  • ❄️ Snow Effect: Celebrates safe, low-risk documents!

🚀 How to Use

  1. Upload: Drop your PDF contract into the uploader.
  2. Scan: Click "Start Deep Scan" and watch the AI Investigator work.
  3. Review: Check the color-coded report and summary for red flags.

🛠️ Tech Stack

  • Python (Core Logic)
  • Streamlit (User Interface)
  • Google Gemini 3 API (AI Analysis)
  • PyPDF (Document Processing)

⚙️ Setup Instructions

If you want to run this locally:

  1. Clone the repo: git clone (https://github.com/TheExterminator67/ScamScanner.git)
  2. Install dependencies: pip install -r requirements.txt
  3. Set up your secrets: Add your GEMINI_KEY to .streamlit/secrets.toml
  4. Run the app: streamlit run app.py

⚖️ Disclaimer

This tool is for educational and informational purposes only. It is not a substitute for professional legal advice. Always consult with a qualified lawyer before signing any contract.


Built with 💙 by a 16-year-old developer | 2025

About

AI-powered legal document scanner to detect scams and hidden risks in PDFs. Built by a 16-year-old developer.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages