Update handling of similarly named extensions

オープン
#1,949 コメント 12 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

  • #2081 @autumnfound による — マージされずにクローズ

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
20/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
java
領域
backend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Java
スター
2.1k
フォーク
362
平均マージ
1日 3時間
マージ済み PR(30日)
44

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

eclipse-openvsx/openvsx のほかの issue

eclipse-openvsx/openvsx の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。