Skip to content

Add URL Scanner Tool for Security Checks#51

Open
Red-Phoenix-01 wants to merge 3 commits intoVaibhav2154:mainfrom
Red-Phoenix-01:security-url-scan
Open

Add URL Scanner Tool for Security Checks#51
Red-Phoenix-01 wants to merge 3 commits intoVaibhav2154:mainfrom
Red-Phoenix-01:security-url-scan

Conversation

@Red-Phoenix-01
Copy link
Contributor

This PR introduces a new URL scanning feature (url_scan.py) that allows users to check the safety of URLs. The feature includes:

  1. HTTPS Detection:
    Checks whether a URL uses a secure protocol (HTTPS) and flags insecure URLs.

  2. URL Structure Validation:
    Analyzes the URL format to identify suspicious or malformed URLs.

  3. WHOIS Lookup:
    Retrieves domain registration information (Registrar, creation date, expiration) to detect newly created or suspicious domains.
    Gracefully handles domains that cannot be resolved or are missing from WHOIS databases.

  4. VirusTotal Integration:
    Checks the URL against VirusTotal for known malicious content.
    Reports the number of detections found, if any.

  5. Risk Assessment:
    Provides an overall status (SAFE 🟢 / UNSAFE 🔴) based on protocol, WHOIS info, and VirusTotal results.
    Prints a clean, detailed, and easy-to-read report for the user.

Usage

python url_scan.py <URL>

Sample Output:

Screenshot 2025-08-28 232204

@vercel
Copy link

vercel bot commented Aug 28, 2025

@Red-Phoenix-01 is attempting to deploy a commit to the vaibhav2154's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link

Thanks for creating a PR for your Issue! ☺️

We'll review it as soon as possible.
In the meantime, please double-check the file changes and ensure that all commits are accurate.

If there are any unresolved review comments, feel free to resolve them. 🙌🏼

@Red-Phoenix-01
Copy link
Contributor Author

@Vaibhav2154 Is this good?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant