Skip to content

Update handling of similarly named extensions #1949

Description

@autumnfound

As the Open VSX registry grows, malicious actors increasingly attempt to distribute malware through "typosquatting" and direct spoofing of popular extensions. To protect end-users and maintain platform trust, we are introducing strict validation mechanisms to prohibit duplicate extension names. This includes database-level constraints on unique identifiers and an intelligent pre-publication check that quarantines new extensions attempting to hijack the "Display Name" of highly popular, established tools.

Currently, we have a SimilarityCheckService built into the project that does fuzzy matching on all extension names and has a configurable distance for fuzziness that allows for tweaking of the sensitivity of the matching. This mechanism is part of the pre-publication checks that already exist and fulfil most of the requirements of the request to handle these maliciously named extensions.

Of the features remaining, we want to ensure that we have a way to easily distinguish the number of attempted spoofed extensions, a way to action them, and potentially an admin override of blocked terms. We will also want to ensure that the check is enabled and sufficiently strict.

some issue details repurposed from internal request

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions