mozilla-lockwise / lockwise-android

Firefox's Lockwise app for Android
https://mozilla-lockwise.github.io/lockwise-android/
Mozilla Public License 2.0
621 stars 104 forks source link

Use fathom to detect username and passwords #394

Open jhugman opened 5 years ago

jhugman commented 5 years ago

Related to #215, #371

This is a heavyweight solution, that should be tried once we've failed with lots of other heuristics.

Fathom would be the way one would solve this if this is web pages.

We should explore the possibility of serializing the ViewNode as an XML page, and running fathom in an invisible webview or a jscontext.

Linked to #393, this could use the more advanced features of fathom to generate rules/weights for simple rules to get something much more robust than something we can parse by hand.

eliserichards commented 5 years ago

@jhugman is this still valid for autofill?