{"id":26418601,"url":"https://github.com/tirthraj1605/website-security-grader","last_synced_at":"2025-03-18T01:48:46.829Z","repository":{"id":282569627,"uuid":"949005257","full_name":"Tirthraj1605/Website-Security-Grader","owner":"Tirthraj1605","description":"Website Security Grader is a Python-based tool to analyze the security of any website by checking SSL, TLS, headers, and other security practices. It assigns a security grade (A+ to D) based on industry-standard best practices.","archived":false,"fork":false,"pushed_at":"2025-03-15T13:38:38.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-15T14:28:14.493Z","etag":null,"topics":["cryptography","httpclient","python3","requests","socket","ssl"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Tirthraj1605.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"security_grader/__init__.py","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-15T13:12:58.000Z","updated_at":"2025-03-15T13:40:23.000Z","dependencies_parsed_at":"2025-03-15T14:28:46.882Z","dependency_job_id":"1f9e66c9-0e82-40ba-8f6e-651a420e4161","html_url":"https://github.com/Tirthraj1605/Website-Security-Grader","commit_stats":null,"previous_names":["tirthraj1605/website-security-grader"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tirthraj1605%2FWebsite-Security-Grader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tirthraj1605%2FWebsite-Security-Grader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tirthraj1605%2FWebsite-Security-Grader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tirthraj1605%2FWebsite-Security-Grader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tirthraj1605","download_url":"https://codeload.github.com/Tirthraj1605/Website-Security-Grader/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244141576,"owners_count":20404835,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cryptography","httpclient","python3","requests","socket","ssl"],"created_at":"2025-03-18T01:48:46.159Z","updated_at":"2025-03-18T01:48:46.824Z","avatar_url":"https://github.com/Tirthraj1605.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🔐 Website Security Grader\n\n**Website Security Grader** is a Python-based tool that analyzes the **security posture of any website**. It evaluates key parameters like HTTPS support, TLS configuration, SSL certificate, secure headers, secure cookies, and more — then assigns a **Security Grade (A+ to D)** based on industry-standard best practices.\n\n---\n\n## 📺 Screenshot\n\n👉 ![Website Security Grader Screenshot](Screenshot.png)\n\n---\n\n## 🚀 Features\n\n- ✅ Check if the website uses HTTPS  \n- 🔒 Analyze TLS version (TLSv1.2, TLSv1.3, etc.)  \n- 📜 Inspect SSL/TLS Certificate details  \n- 📅 Validate Certificate expiration  \n- 🛡️ Detect HTTP Strict Transport Security (HSTS)  \n- 🔐 Check for Secure Cookies  \n- 📦 Inspect Security Headers:\n  - `X-Frame-Options`\n  - `X-Content-Type-Options`\n  - `X-XSS-Protection`\n- 🧠 Check for Content Security Policy (CSP)\n- 📈 Assign final security grade (A+ to D)\n\n---\n\n## Tech Stack\n\n- Python 3\n- ssl, socket\n- cryptography\n- requests\n- http.client\n\n---\n\n## Grading Criteria\n\n- HTTPS Support\t                     --\u003e   +2\n- TLS v1.2 or v1.3\t                 --\u003e   +2\n- Valid SSL Certificate\t             --\u003e   +2\n- HSTS Enabled\t                     --\u003e   +2\n- Security Headers Present\t         --\u003e   +2\n- Content Security Policy Present\t   --\u003e   +2\n- Secure Cookies\t                   --\u003e   +2\n\n**Score → Grade Mapping:**\n- ≥ 12\t--\u003e  A+\n- ≥ 10\t--\u003e  A\n- ≥ 8\t  --\u003e  B\n- ≥ 6\t  --\u003e  C\n- \u003c 6\t  --\u003e  D\n\n---\n\n## Run the Project\n\n``python main.py``\n\n**Enter Website URL**\n\n``Enter website URL: https://example.com`` \n\n## Author \n- Tirthraj Bhalodiya\n- tirthrajbhalodiya2003@gmail.com\n- [LinkedIn](https://www.linkedin.com/in/tirthraj-bhalodiya-97534b227/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftirthraj1605%2Fwebsite-security-grader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftirthraj1605%2Fwebsite-security-grader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftirthraj1605%2Fwebsite-security-grader/lists"}