- 0. About This Project
- 1. Introduction to Web Security Testing
- 2. Project Architecture Overview
- 3. Setting Up the Development Environment
- 4. Building the Hurl Preprocessor
- 5. Writing Security Test Files (Hurl)
- 6. Building the Output Parser
- 7. Building the TLS Scanner
- 8. Building the AI Analyzer
- 9. Building the HTML Reporter
- 10. Building the CLI
- 11. Running Your First Scan
- 12. Understanding the Reports
- 13. Docker Deployment
- 14. Testing and CI/CD
- 15. Extending the Scanner
- 16. Conclusion and Next Steps
- A. Complete File Listing
- B. All Security Checks Reference
- C. CLI Options Reference
- D. Source Code
AI-Powered Web Vulnerability Scanner: Build It From Scratch
Every web application has security headers, cookies, TLS configurations, and CORS policies that need to be correct. Most teams find out they're wrong only after a penetration test — or worse, after an incident. This book shows you how to build a scanner that catches these issues automatically. You'll create a Python CLI tool that uses Hurl (declarative HTTP testing) to assert security properties, SSLyze to validate TLS protocol versions, and AI to generate specific remediation for every failure it finds. The output: structured JSON reports, visual HTML dashboards, and AI-generated security posture assessments. **What you'll build:** - 9 declarative Hurl security test files (headers, cookies, CORS, HSTS, CSP, CSRF, redirects, TLS) - A preprocessor that handles domain substitution and authentication - An output parser with built-in remediation guidance for every test - A TLS scanner validating SSL 2.0/3.0 disabled and TLS 1.2/1.3 enabled - An AI analyzer that generates context-specific fixes using Ollama, OpenAI, or Bedrock - An HTML reporter with dark-themed visual dashboards - Docker multi-architecture deployment - CI/CD pipeline with GitHub Actions **Who this is for:** - Developers who want security checks before deploying - DevSecOps engineers building CI/CD security gates - Penetration testers who need quick baseline assessments - Security students learning web vulnerability concepts hands-on - Platform teams enforcing security standards across services Every failure includes: what was expected, what was received, why it matters, how to fix it, and a documentation link. AI adds domain-specific code examples on top.
Minimum price
$12.00
$29.00
You pay
Author earns
About
About the Book
Build a complete web vulnerability scanner from scratch using Python, Hurl, and AI. This tool scans websites for security headers, cookie misconfigurations, CORS issues, TLS vulnerabilities, and CSRF gaps — then uses LLMs to generate context-specific fixes for every failure. JSON + HTML reports, Docker deployment, CI/CD ready. One command. Actionable results.
No security expertise required.
Feedback
Author
About the Author
Joseph Thachil George is a Technical Consultant for International Game Technology (IGT), Rome, Italy. Additionally, He has completed M. S in Cyber Security from the Università degli Studi di Firenze, Italy. In addition, he is also part of the research group (DISIA) of the University of Florence, Italy, and the research group (INESC-ID Lisbon) of the University of Lisbon, Portugal. His research interests cover Dynamic Malware Analysis, Blockchain technology- Hyperledger fabric, and cyber security. He published five books Cybercrime and Social Media Relationships, Designing Distributed Systems , Social Network Analysis ,Test Driven Development for Java Developers and ,Network Security Management respectively. In IGT he is been a part of various project related to game configuration and integration in various platform. Specialized in Java and spring boot-based projects. He has also worked in various companies in India, Angola, Portugal, and UK. In total he has seven years of experience in various IT companies.
Contents
Table of Contents
Get the free sample chapters
Click the buttons to get the free sample in PDF or EPUB, or read the sample online here
The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...
Earn $8 on a $10 Purchase, and $16 on a $20 Purchase
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earned over $15 million writing, publishing and selling on Leanpub.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them
Write and Publish on Leanpub
You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!
Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.
Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.