Update handling of similarly named extensions

Open
#1,949 12 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

  • #2081 by @autumnfound — closed without merging

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
java
Domain
backend

Research direction

Read the existing SimilarityCheckService and the pre-publication checks it participates in; the issue does not name specific files or tests. The linked open pull request #2081 indicates work is already underway. The broader request includes tracking and actioning spoof attempts, possible admin overrides, and verifying that the check is enabled and sufficiently strict.

Written by the indexing model from the issue text.

Description

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

Dominant language
Java
Stars
2.1k
Forks
362
Avg merge
1d 3h
Merged PRs (30d)
44

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from eclipse-openvsx/openvsx

All issues in eclipse-openvsx/openvsx

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.