YamanSec

A modular web vulnerability scanner with a Flask UI, a custom SQLi/XSS engine, OWASP ZAP integration and PDF reports.

Status
Archived
Date
Context
Capstone
Scope
CTF
Language
Python
Stars
0
Last commit
2025-06-26
  • Code assisted
  • Writing assisted
What do these mean?

YamanSec is a modular web application scanner built using Python and Flask, designed to help identify common web vulnerabilities like SQL Injection, Cross-Site Scripting (XSS), and misconfigurations. It provides a user-friendly web interface, PDF report generation, and integration with the OWASP ZAP API for full scans.


๐Ÿš€ Features

  • ๐Ÿ” Quick Scan: Custom-built scanner using requests and BeautifulSoup to detect:
    • SQL Injection (form-based and login bypass)
    • Reflected Cross-Site Scripting (XSS)
  • ๐Ÿ•ท๏ธ Full Scan: Integrates with OWASP ZAP API for deep scans including:
    • Security headers
    • Cookie flags
    • JavaScript library vulnerabilities
  • ๐Ÿ–ฅ๏ธ Flask Web Interface:
    • Input target URL and scan type
    • View detailed scan results
    • Download PDF reports
    • View scan history with timestamps
  • ๐Ÿง  Designed for educational use (e.g., TryHackMe, Hack The Box labs)

๐Ÿงฐ Tech Stack

  • Backend: Python, Flask
  • Frontend: HTML/CSS (Jinja2 Templates)
  • Scanning Tools: Custom code + OWASP ZAP API
  • Database: SQLite
  • PDF Generation: ReportLab
  • Other: BeautifulSoup4, Requests

๐Ÿงช Sample Vulnerabilities Detected

Vulnerability Recommendation
SQL Injection Use parameterized queries or ORM
Reflected Cross-Site Scripting Escape input and set Content-Security-Policy
Missing Anti-CSRF Tokens Implement CSRF tokens in all forms
Insecure Cookies Add SameSite, HttpOnly, Secure attributes
Missing Security Headers Add X-Frame-Options, X-Content-Type-Options, CSP, etc.

โš–๏ธ Ethical Usage Disclaimer

โš ๏ธ This tool is intended for educational and authorized testing only.
Do not use YamanSec to scan websites without explicit permission.
Unauthorized use may be illegal and unethical.


โœจ Future Enhancements

  • ๐Ÿ” Support for authenticated scanning (session/cookie injection)
  • ๐Ÿ“ˆ Enhanced PDF reports with charts and severity breakdowns
  • ๐Ÿณ Docker containerization
  • โ˜๏ธ Optional deployment to cloud (e.g., AWS/Azure)
  • ๐Ÿ” CI/CD integration for automated security checks