reconftw
reconftw copied to clipboard
Too many false positives when checking JS files
Description
There is a lot of false positives when reconftw checking JS files
Solution
I think we cannot depend the js checking to public nuclei templates
Hey man! Thanks for the feedback. Honestly I think nuclei's templates with exposure
and token
tags are the largest public repo out there of JS secrets discovery:
https://github.com/six2dez/reconftw/blob/5178addf189555bd9a2b5fee98d9717db33a3fc3/reconftw.sh#L1430
What I can do for improving it is moving the nuclei arguments from JS secrets to the config variables and add severity flag to check only for medium or upper, like is working now for webs and subdomains scans: https://github.com/six2dez/reconftw/blob/5178addf189555bd9a2b5fee98d9717db33a3fc3/reconftw.cfg#L93
Does this sound good to you?
Hey @daffainfo,
I don't consider them as false positives. Because Nuclei made a request to the above endpoints and it gave 200 OK
status code hence they were considered valid. And thats how it should work.
When using automated tools like Gospider(which was used to find them) & Nuclei you are bound to get results like this.
Fixed https://github.com/six2dez/reconftw/commit/af0c8b3daac02ce3b46e538d81dde2bbb70e0573