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

experimental: in page scam warning #5035

Closed
wants to merge 1 commit into from
Closed

experimental: in page scam warning #5035

wants to merge 1 commit into from

Conversation

kyranjamie
Copy link
Collaborator

@kyranjamie kyranjamie commented Mar 6, 2024

Try out this version of Leather — Extension build, Test report

This PR demos a prototype scam prevention feature that injects content to the page when an extension user visits a known massive scam.

2024-03-06-000125.mp4

cc/ @mica000 @fabric-8 @markmhendrickson

@markmhendrickson
Copy link
Collaborator

markmhendrickson commented Mar 8, 2024

I'm not sure how this works – is it based on a denylist in which this iOS URL in particular is manually included and maintained by us?

It might be more scalable / effective to detect scams based on heuristics rather than static URL lists. E.g. any iOS store visit that has the word "Leather" in the app title (that's not us) should be flagged.

@kyranjamie
Copy link
Collaborator Author

kyranjamie commented Mar 8, 2024

is it based on a denylist in which this iOS URL in particular is manually included and maintained by us?

This.

Would like to keep this simple though. Building a general scam detector seems infeasible to me, both in terms of required work and likelihood of false positive. It'd be fun to try, though. We could use the GPT4 API to query each user page visit, and get it to return a scam probability score where we show the banner on results scoring 50 or above?

@markmhendrickson
Copy link
Collaborator

Let's turn this into a project page in Notion so we can figure out the scope there and figure out relative priority, etc?

I'm not sure we need to go as far as using AI for this; I'm thinking a simpler set of heuristics could get us pretty far, perhaps in addition to a static list of known malicious URLs.

@markmhendrickson
Copy link
Collaborator

Also, if you're keen on getting something out quickly here, let's do two things:

  1. Release whatever simple version you think it's helpful based on a static list (with some design input for the banner)
  2. Create a separate project doc to explore enhancements

@kyranjamie kyranjamie closed this Mar 28, 2024
@mica000
Copy link

mica000 commented Nov 13, 2024

@kyranjamie
Copy link
Collaborator Author

kyranjamie commented Nov 13, 2024

This looks great @mica000 — though, are there ways we can warn users earlier than this? At this point, they've already interacted with the scam site.

Also note that this new scam site doesn't actually interact with the extension, it just asks for the user's mnemonic.

@mica000
Copy link

mica000 commented Nov 14, 2024

Got it! How about these two triggers @kyranjamie and @fabric-8?

CleanShot 2024-11-14 at 11 21 04@2x

CleanShot 2024-11-14 at 11 21 10@2x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Warn user with extension about website visits that indicate possible phishing attacks
3 participants