Skip to content

SEC-MY_SITE is a Flask-based web app designed to scan domains for essential security headers like Content-Security-Policy (CSP), CSRF tokens, CORS protection, and host header validation. It provides an easy-to-use interface for users to input domains and receive insights on their security posture, helping identify potential vulnerabilities.

Notifications You must be signed in to change notification settings

progprnv/SecMySIte

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SMS - SecMySite

IEDC HACKATHON VOID FRAME 2024 OCT 15-16

Screenshot 2024-10-16 at 18-44-54 Online Font Style Generator   Text Effects

SEC-MY_SITE a.k.a SMS is a simple Flask-based web application that allows users to scan a domain for key security headers such as CSP (Content-Security-Policy), CSRF, CORS, and Host header protection.

Why and When to Use SecMySite

  • Why Use: It helps evaluate a web application's security posture, mitigates potential attacks, and ensures compliance with security standards.
  • When to Use: Ideal during development, before deployment, and for periodic security audits to maintain security standards.

Features

  • Accepts domain input from the user.
  • Scans the domain for the following headers:
    • Content-Security-Policy (CSP): Checks if the Content-Security-Policy header is present.
    • CSRF Token: Checks for headers like X-CSRF-Token or X-Requested-With.
    • CORS Protection: Checks for the Access-Control-Allow-Origin header and whether it's set to restrict origins.
    • Host Header Validation: Provides a manual check for host header validation.

Project Structure

SecMySite/ ├── static/ │ └── style.css # Styling for the website ├── templates/ │ └── index.html # HTML template for the frontend └── app.py # Main Flask application

Setup and Installation

Clone the repository:

https://github.com/progprnv/SecMySIte cd SecMySIte

Install the required dependencies: (not needed for now)

pip install -r requirements.txt

Run the Flask app:

python app.py

Open your browser and go to:

http://127.0.0.1:5000/

About

SEC-MY_SITE is a Flask-based web app designed to scan domains for essential security headers like Content-Security-Policy (CSP), CSRF tokens, CORS protection, and host header validation. It provides an easy-to-use interface for users to input domains and receive insights on their security posture, helping identify potential vulnerabilities.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published