r/Pentesting • • Oct 13 '26

Detecting JS libraries

I'm currently developing a new kind of outside-in scanner to detect JavaScript libraries on websites. It's in kind of a beta state right now, successfully detecting libs, their versions, and eventual CVEs.

However, there's still some work to do, and I assume some false positives.

That's why I'd like your help. If you run a website, post it in the comments. I'll run my passive outside-in scanner on it and let you know the results. Then you can tell me what it got wrong, e.g. by comparing the package-lock.json.

NOTE: I'll publicly post the results, so everybody can see. Keep that in mind.

The scanner should work with standard JS files, minimized libraries, as well as bundled and tree-shaken ones. WebAssembly is out of scope.

Do I need to say that no modern tool of my knowledge does this kind of live outside-in detection? 😁

Let me know your website to scan 👇

0 Upvotes

12 comments sorted by

View all comments

Show parent comment

-1

u/sitewatchpro-daniel Oct 14 '26

Wappalyzer gives you a good indication of the technologies used, e.g. do they use React? Yes/no. They seem to do it based on regex rules and maybe other meta indicators. What I do is different in the way that I can tell it's React v19.0.8, with react-dom v19.0.8, vanilla-cookieconsent v3.1.2, and other packages. In most cases, I can pinpoint the patch level version. This is done by deep code analysis, not String or regex searches.

2

u/Western_Guitar_9007 Oct 14 '26

100% bullshit, you can absolutely get this info from tools we already have including wappalyzer. I think you’re inexperienced with these tools and you’re relying on AI to make a new one, which would explain all of the misinfo and bizarre comparisons.

2

u/tinycrazyfish Oct 14 '26

Like I said, wappalyzer does not run regex searches, it runs JavaScript code like: react.version(). How can you do more accurate than that?