LastPass: global properties can be...

- AV AC AU C I A
发布: 2025-04-13
修订: 2025-04-13

A major part of the LastPass password manager is content scripts, additional privileged javascript that is injected into pages and can change or monitor content. LastPass use content scripts to search webpages for forms, add additional UI elements, and so on. The reason that it's safe to have content scripts with higher privilege than the page they're injected into is a concept called "isolated worlds". An isolated world is a javascript execution environment that shares the same DOM , but not variables and functions and so on. Without isolated worlds, unprivileged pages could interfere with higher privileged scripts, and make them do whatever they want. https://developer.chrome.com/extensions/content_scripts#execution-environment It's important to remember that isolated worlds don't mean it's impossible to write insecure content scripts, it just means that it *is* possible to write secure content scripts; without isolated worlds it would be impossible....

0%
暂无可用Exp或PoC
当前有0条受影响产品信息