30
edits
(→TBD & Open Questions: Further issue and comments) |
|||
| Line 29: | Line 29: | ||
* '''Q:''' What if a poison-XPI vendor just cycles the GUID with each served XPI? Spammers don't care for rules or standards and it only needs to be installed once. [[User:Kroc|Kroc]] 01:42, 15 Feb 2006 (PST) | * '''Q:''' What if a poison-XPI vendor just cycles the GUID with each served XPI? Spammers don't care for rules or standards and it only needs to be installed once. [[User:Kroc|Kroc]] 01:42, 15 Feb 2006 (PST) | ||
** '''A:''' Extension Manager blacklisting isn't a magic pill for all possible problems though it does solve the problem with a malicious XPI if the ID isn't changed. It also solves the problem for extensions that have an ID that doesn't change and have security vulnerabilities, memory leaks that harm the user experience, break the app (especially extensions that have a <tt>targetApplication</tt> <tt>maxVersion</tt> that is in the future), and other cases as well. You may be interested in [https://bugzilla.mozilla.org/show_bug.cgi?id=250854 Bug 250854] which can prevent installation from a site that is in a blacklist though this obviously is also not a complete solution to the potential problem that you brought up. User education to not install extensions from sources they are unfamiliar with also goes a long way to solving the problem you brought up. -- [[User:Robert Strong|Robert Strong]] 21:52, 15 Feb 2006 (PST) | ** '''A:''' Extension Manager blacklisting isn't a magic pill for all possible problems though it does solve the problem with a malicious XPI if the ID isn't changed. It also solves the problem for extensions that have an ID that doesn't change and have security vulnerabilities, memory leaks that harm the user experience, break the app (especially extensions that have a <tt>targetApplication</tt> <tt>maxVersion</tt> that is in the future), and other cases as well. You may be interested in [https://bugzilla.mozilla.org/show_bug.cgi?id=250854 Bug 250854] which can prevent installation from a site that is in a blacklist though this obviously is also not a complete solution to the potential problem that you brought up. User education to not install extensions from sources they are unfamiliar with also goes a long way to solving the problem you brought up. -- [[User:Robert Strong|Robert Strong]] 21:52, 15 Feb 2006 (PST) | ||
---- | |||
Quick question on identifying mal-extensions. It seems to me that extensions will face similar issues to other optional plugins, such as Microsoft's ActiveX -- ad/spy/malware writers will attempt to write code that looks innocuous and then encourage users to install. Four types of extension are worth identifying: | |||
# "Known good extensions" that are unmodded, and therefore the user can be reassured about, | |||
# "Known extensions with serious issues" -- eg early releases, and packages with serious bugs, conflict or stability implications. Users might benefit from being warned of this before installing. | |||
# "Known ad/spy/malware", mal-extensions may easily contain at least 2 subtypes - known extensions unpacked, with malware added, then repacked and distributed as bona fide; and malware that varies its content or ID to avoid easy identification. | |||
# "All others" -- effectively unknown, users should only install if sure. | |||
Thoughts on these: | |||
# Use a hash algorithm and '''not''' an extension ID to query any black or whitelist, since that way if we say an extension is good on the basis of a hash, we *known* what it is we're looking at (if found) and that it's unmodified. ID's can be trivially spoofed, hashes are designed to be extremely hard to spoof. | |||
# When it comes to malware, unless it's very simple, you're immediately into signature detection. That's a whole area all by itself, and usually the territory of A/V software. Do we have to reinvent the wheel? Is there some way to get A/V software to identify mal-extension sigs before install? | |||
2 quick thoughts, hope they help. | |||
Last thoughts on general handling of extension security: | |||
* Any website whitelist should be on a directory not just a domain/subdomain basis; too many off-mozilla extensions are hosted on domains where anyone else can get a subsite too (www.hostsite.com/~myaccount/myextensions/). | |||
* Extension black/whitelist control should be under security options, not content options. | |||
* If extensions are polled regularly for issues and vulnerabilities, will the scenario arise where users are mid-work and suddenly an alert pops up just as they are typing something with space or enter? Or will extensions be disabled without warning mid-session? Some extensions are more critical than others, or more relied upon by given users. The "how do we tell users something's up" needs considering. (Obviously this also applies to normal core and extension update notification too.) | |||
[[User:Foxxen2|Foxxen2]] 09:46, 1 April 2006 (PST) | |||
edits