It would be helpful and appreciated if you'd share how to turn off the behavior in KeePassXC and Bitwarden as you mentioned. TIA!KeepassXC extension also injects into the DOM by default, which would be vulnerable to this kind of manipulation as well, even if it wasn't tested in the research. In both Bitwarden and KeepassXC, the behavior can be turned off. Infrequent unlocking and not using a bad URL would probably prevent this as well.
