Add SCINTX scanner for multi-provider scanning

Abierto
#2,439 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

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

Línea de trabajo

Read the existing external scanner configuration and Scanner implementation in the server module, then compare the two proposed approaches in the issue. Check the SCINTX SDK release status and the linked SCINTX integration dependencies before choosing a path. Done means a pilot integration can record SCINTX decisions alongside existing checks, with enforcement behind a configuration flag and no change to Open VSX’s publication decisions.

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

Descripción

Open VSX already has an external-scanner contract, so a scanner can be attached without changing the publish path. What it does not have is a way to add a provider without standing up another scanner and mapping that provider's findings into the registry's own model. Each provider integration requires custom work to configure and maintain the result mapping (and in some cases the underlying service), and the registry offers limited flexibility to define policies based on the returned findings content.

We are building SCINTX, an open-source scanning gateway that sits between a registry and the security providers it queries, and we would like to contribute the registry-side integration here. From Open VSX’s perspective, SCINTX is a single scanner backed by multiple security providers, starting with OSV and Sonatype OSS Index. Adapters for additional providers are implemented in the SCINTX repository. The goal is to support more providers while keeping Open VSX’s publication policy stable, and integration of additional security providers becomes as simple as an upgrade to a new release. SCINTX normalizes findings across providers, applies one YAML policy, returns a policy result, and can emit a signed CloudEvents lifecycle event when a decision changes.

Activation, quarantine, rejection, admin review and what publishers see stay with Open VSX, as do the local publish checks and the decision about what gets published. Nothing existing is removed during the pilot. We would start read-only: SCINTX receives the same packages, its decision is recorded and compared, and nothing is enforced. Then enforcement behind a configuration flag, with SCINTX as one required or optional scanner among the existing checks.

Two ways this could land

  1. Configuration only: a SCINTX entry in the existing scanner YAML. SCINTX exposes an endpoint that follows the scanner contract Open VSX already has, so the integration is one entry in the external scanner configuration plus credentials. Deployment is a configuration update, with no server code for the project to review or maintain. It gives up callbacks and signed lifecycle events, because the registry polls for a result, and a finding is only as rich as the existing scanner result model.
  2. A first-class SCINTX scanner: extend Scanner, use the SCINTX Java SDK. A ScintxScanner in the server module extends the existing Scanner class and depends on the SCINTX Java SDK. Submission and status calls live in the SDK rather than being hand-rolled, and the parts of the standard that need a listener become available: signed webhook callbacks for decision changes instead of polling, and adjudication results carried through the lifecycle event instead of being collapsed into a single scan result. This has a dependency on the SDK's release cycle, which is currently in progress but not available as of today.

Dependencies. The work this integration builds on is in
eclipse-scintx/scintx and is public:

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.