Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Web Install] Cross-origin installation phishing risk #774

Open
akyereboah opened this issue Mar 13, 2024 · 1 comment
Open

[Web Install] Cross-origin installation phishing risk #774

akyereboah opened this issue Mar 13, 2024 · 1 comment
Assignees
Labels
Web Install API Declarative install for web apps from a web app.

Comments

@akyereboah
Copy link
Contributor

(Issue raised by Nick Doty during W3C Breakout)

What is preventing an unvetted web app store from listing a malicious app for cross-origin installation that assumes the identity of a well-known app (gmail_s_.com)? What can the API do to mitigate opening up the surface for phishing attacks and preserve the security model of the web?

@akyereboah akyereboah added the Web Install API Declarative install for web apps from a web app. label Mar 13, 2024
@el1s7
Copy link

el1s7 commented Apr 10, 2024

That's a valid issue, I think the API should make it more clear to the user from which website it is installing from and be better at asking permissions, for example:

  • The browser should ask the user everytime when installing an app from the PWA appstore:

Do you want to install [App Name] from https://gmail_s_.com?

No Yes

Also, this already prevents spam. The install_sources limitation (#754) is not really neccessary. A nefarious website cannot spam install multiple apps without the user specifically approving every single one, and they cannot spoof the URL from where an app is being installed from.

Besides that, users in the future will probably mostly use trusted PWA appstores which should implement checks against phishing such as checking if there are duplicate apps with same name/logo on the appstore, having a list of verified domain names for popular websites, and having a "report" functionality where users can report phishing and other problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Web Install API Declarative install for web apps from a web app.
Projects
None yet
Development

No branches or pull requests

3 participants