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
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
requestsandBeautifulSoupto 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