Zum Inhalt
HALOWERK

Paketwerk

typosquat radar

Generates the typical misspellings of a package name and looks up every one of them in the registry. Generation rather than search is deliberate: most of the seven ecosystems have no search API, and the ones that do rank by popularity instead of similarity, so a fresh squat with no downloads never appears.

POST https://paket.halowerk.com/v1/typosquat-radar

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
systemstringJa
namestringJaThe package name to protect.
max_variantsintegerNeinHow many generated variants to look up.
recent_daysintegerNeinA variant first published within this many days counts as recent, which is the strongest signal.
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": 3,
      "maxLength": 120,
      "description": "The package name to protect."
    },
    "max_variants": {
      "type": "integer",
      "minimum": 5,
      "maximum": 80,
      "default": 45,
      "description": "How many generated variants to look up."
    },
    "recent_days": {
      "type": "integer",
      "minimum": 1,
      "maximum": 3650,
      "default": 365,
      "description": "A variant first published within this many days counts as recent, which is the strongest signal."
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "system": "npm",
  "name": "express",
  "max_variants": 45,
  "recent_days": 365
}

Ergebnis & Dokumentation

Veröffentlichtes Ergebnisschema anzeigen
{
  "$ref": "https://paket.halowerk.com/v1/typosquat-radar/schema#/outputSchema"
}

Veröffentlichtes Ergebnisbeispiel öffnen

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 →