Show HN: Browser-based XSS scanner

This is a simple single-file python program that can find basic XSS (cross-site scripting) vulnerabilities in a target url. Most XSS discovery tools use a payload refelection strategy in which payloads are injected in url parameters and the GET response is inspected for places where the payload content is reflected. This is a very low precision XSS detection strategy because most reflection does not support execution.

This program uses a different approach, and instead opens the target url in a browser, tests alert(...) payloads directly in the browser context, and listens for an alert being triggered. This means that any XSS spotted by this program is extremely unlikely to be a false positive.


Comments URL: https://news.ycombinator.com/item?id=41251312

Points: 11

# Comments: 0

https://github.com/dshieble/playwright_xss_scanner

Creato 6mo | 15 ago 2024, 05:20:08


Accedi per aggiungere un commento

Altri post in questo gruppo

Show HN: Synergetica – A Modern, End-to-End Genetic Circuit Design Desktop App

We’ve built Synergetica, an open-source desktop app for end-to-end genetic circuit design. It supports node-based or code-based editing, interactive simulations, and automated DNA sequence generat

15 feb 2025, 18:50:10 | Hacker news
Show HN: I Built a Reddit-style Bluesky client – still rough, but open to ideas

I’ve been messing around with Bluesky for a while, and one thing I really missed was a proper way to browse discussions in a structured, Reddit-like way specially myself being daily reddit user. S

15 feb 2025, 16:30:19 | Hacker news