Update handling of similarly named extensions

Abierto
#1,949 12 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

  • #2081 de @autumnfound — cerrado sin fusionar

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
20/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
java
Área
backend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Java
Estrellas
2.1k
Forks
362
Merge medio
1 d 3 h
PR fusionados (30 d)
44

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de eclipse-openvsx/openvsx

Todos los issues de eclipse-openvsx/openvsx

Issues similares

Más issues de Java

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.