Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ThreatScan It is an Android app built with Jetpack Compose, designed to help users scan any URL for potential threats using the URLScan.io API.

🛡️ Features

•Login Screen – Simple input check before access

•URL Scan – Input any URL to check its safety

•Malicious Check – Tells if a site is malicious or safe

•Risk Score – Shows the overall cyber threat level

•Modern UI – Built fully with Jetpack Compose


📲 Screen Flow Login Screen – Enter any text & click Sign In

Scan Screen – Enter a URL and tap Check

Result Screen – See:

malicious: true/false

score: 0–100


⚙️ Tech Stack

Jetpack Compose-Declarative UI

Retrofit-API Networking

Navigation Compose-Screen transitions

🚫 No Coroutine or Flow used ✅ All network calls handled via Retrofit's enqueue() (callback-based)


🔗 API Used – URLScan.io POST /api/v1/scan/ → Start scan

GET /api/v1/result/{uuid}/ → Get analysis result

Key Data Used:

verdicts.overall.malicious

verdicts.overall.score


🧪 Example Input URL: https://example.com Output:

json Copy Edit { "malicious": false, "score": 5, }


🏁 How to Run Clone this repo

bash Copy Edit git clone https://github.com/yourusername/threatscan.git Open in Android Studio

Run on emulator or device (No API key required for basic scanning)


Made by Aaliya Hussain🎀

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages