Zum Inhalt
HALOWERK

Paketwerk

package match

Resolves a package to the source projects it declares, with the provenance of each link stated. This is the honest way to answer whether two packages belong together: names repeat across ecosystems and mean different things there, and that gap is exactly what dependency confusion attacks aim at.

POST https://paket.halowerk.com/v1/package-match

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
systemstringJa
namestringJa
versionstringNeinDefaults to the registry default version.
compare_systemstringNeinSecond package to compare against.
compare_namestringNein
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "system",
    "name"
  ],
  "additionalProperties": false,
  "properties": {
    "system": {
      "type": "string",
      "enum": [
        "npm",
        "pypi",
        "maven",
        "go",
        "cargo",
        "nuget",
        "rubygems"
      ]
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 300
    },
    "version": {
      "type": "string",
      "maxLength": 60,
      "description": "Defaults to the registry default version."
    },
    "compare_system": {
      "type": "string",
      "enum": [
        "npm",
        "pypi",
        "maven",
        "go",
        "cargo",
        "nuget",
        "rubygems"
      ],
      "description": "Second package to compare against."
    },
    "compare_name": {
      "type": "string",
      "maxLength": 300
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "system": "npm",
  "name": "express",
  "compare_system": "pypi",
  "compare_name": "requests"
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →