diff options
author | Fabian Henneke <FabianHenneke@users.noreply.github.com> | 2020-07-01 09:22:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-01 09:22:41 +0200 |
commit | eaaa3eeea8d437abec9a70135080c2f5e03b205d (patch) | |
tree | ef6509c8a360d7eccb04ca32762960097642e082 /scripts | |
parent | 82a9a6125473dbffa6a76f33c6ff83b4a1bd69b3 (diff) |
Improve and refactor Autofill heuristics (#905)
* Add support for `AUTOFILL_HINT_NEW_PASSWORD` and
`AUTOFILL_HINT_NEW_USERNAME`. This allows apps to trigger a
`ClassifiedScenario` with only a generate password action and is the
analogue of the W3C new-password hint for websites.
* Do not consider HTML password fields without hints to be certain
password fields (they could contain e.g. bank account numbers,
API secrets,...).
* Reduce OTP field false positives by excluding the term "postal" as well
as fields that match the "code" heuristic term but have HTML maxLength
less than 6 or larger than 8.
* Add German heuristic term "einmal" ("one-time") for OTP fields
* Also exclude fields based on their HTML name (e.g. for terms such as
"search").
* Extract fieldId, hint and htmlName matches into an extension property.
* Reduce warnings and remove unnecessary suppression annotations.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions