
Scanner Python automatizzato per rilevare segreti hardcoded (chiavi private, token API) nei file JavaScript lato client.
JS Secret Hunter è uno strumento Python avanzato progettato per i ricercatori di sicurezza al fine di automatizzare il rilevamento di segreti hardcoded nel JavaScript lato client.
A differenza dei semplici scanner, V2 include un crawler dinamico che analizza l'HTML del sito web di destinazione per estrarre automaticamente tutti i file JavaScript caricati, garantendo una copertura completa.
<script src>.config.js).git clone [https://github.com/SohelYousef/JS-Secret-Hunter.git](https://github.com/SohelYousef/JS-Secret-Hunter.git)
cd JS-Secret-Hunter
pip install requests beautifulsoup4
## Caratteristiche
- 🔍 **Rilevamento Basato su Regex:** Scansiona alla ricerca di chiavi private Ethereum, chiavi AWS, chiavi API Google e token generici.
- ⚡ **Scansione Rapida:** Controlla automaticamente i percorsi dei file comuni.
- 🛡️ **Sicuro:** Identifica i segreti senza sfruttarli.
## Installazione
```bash
git clone [https://github.com/SohelYousef/JS-Secret-Hunter.git](https://github.com/SohelYousef/JS-Secret-Hunter.git)
cd JS-Secret-Hunter
pip install requests
python3 scanner.py --url [https://target-website.com](https://target-website.com)
Disclaimer
Questo strumento è destinato esclusivamente a scopi didattici e a valutazioni di sicurezza autorizzate. L'autore non è responsabile di alcun uso improprio.