DE
DeutschEnglishРусскийEspañolFrançais
Kostenlos testen
FunktionenPreiseSicherheit & DatenschutzAnmelden
API

API: Schwachstellen und Angreifer-IPs

Offene Lücken nach echtem Risiko sortiert abfragen und die Angreifer-IPs aus dem tyrosec-Netz in eigene Firewalls übernehmen.

GET /vulnerabilities

Offene Schwachstellen · Lesen

Offene Lücken in Systempaketen, WordPress, Composer, npm und Shop-Modulen – sortiert nach aktiver Ausnutzung (kev) und Schwere, mit EPSS, Exploit-Lage und Version mit Korrektur.

ParameterOrtTypPflichtBeschreibung
hostQueryuuidneinnur ein Server
fixableQuerybooleanneinnur Lücken, für die es ein Update gibt

Beispielaufruf

cURL
curl -sSf "https://app.tyrosec.com/api/v1/vulnerabilities?host=7c1b6092-482b-48d9-b40f-fb476bd98176&fixable=1" \
  -H "Authorization: Bearer $TYROSEC_TOKEN" \
  -H "Accept: application/json"
Python
import os
import requests

resp = requests.request(
    "GET",
    "https://app.tyrosec.com/api/v1/vulnerabilities",
    headers={"Authorization": f"Bearer {os.environ['TYROSEC_TOKEN']}", "Accept": "application/json"},
    params={"host": "7c1b6092-482b-48d9-b40f-fb476bd98176", "fixable": 1},
    timeout=30,
)
resp.raise_for_status()
print(resp.json())
PHP
<?php
$ch = curl_init('https://app.tyrosec.com/api/v1/vulnerabilities?host=7c1b6092-482b-48d9-b40f-fb476bd98176&fixable=1');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_FAILONERROR => true,
    CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('TYROSEC_TOKEN'), 'Accept: application/json'],
]);
$out = curl_exec($ch);
if ($out === false) { throw new RuntimeException(curl_error($ch)); }
print_r(json_decode($out, true));
JavaScript
const res = await fetch("https://app.tyrosec.com/api/v1/vulnerabilities?host=7c1b6092-482b-48d9-b40f-fb476bd98176&fixable=1", {
  headers: {
    Authorization: `Bearer ${process.env.TYROSEC_TOKEN}`,
    Accept: "application/json",
  },
});
if (!res.ok) throw new Error(`HTTP ${res.status}`);
console.log(await res.json());

Beispiel-Antwort HTTP 200

{
  "data": [
    {
      "host_id": "7c1b6092-482b-48d9-b40f-fb476bd98176",
      "ecosystem": "Packagist",
      "package": "magento/product-community-edition",
      "version": "2.4.7-p3",
      "fixed_version": "2.4.7-p4",
      "location": "/var/www",
      "id": "GHSA-demo-x7m2-cosmicsting",
      "severity": "critical",
      "score": 9.8,
      "kev": true,
      "exploit": "automated",
      "epss": 0.94,
      "url": null
    }
  ]
}

GET /threats/ips

Angreifer-IPs aus dem tyrosec-Netz · Lesen

Adressen, die bei mindestens zwei Kunden auffällig wurden, mit Bewertung, Kategorien und Anzahl betroffener Server – etwa für die eigene Firewall oder WAF.

ParameterOrtTypPflichtBeschreibung
min_scoreQueryinteger 1–1000neinMindestbewertung, Standard 50
limitQueryinteger 1–10000neinAnzahl, Standard 1000

Beispielaufruf

cURL
curl -sSf "https://app.tyrosec.com/api/v1/threats/ips?min_score=80&limit=2" \
  -H "Authorization: Bearer $TYROSEC_TOKEN" \
  -H "Accept: application/json"
Python
import os
import requests

resp = requests.request(
    "GET",
    "https://app.tyrosec.com/api/v1/threats/ips",
    headers={"Authorization": f"Bearer {os.environ['TYROSEC_TOKEN']}", "Accept": "application/json"},
    params={"min_score": 80, "limit": 2},
    timeout=30,
)
resp.raise_for_status()
print(resp.json())
PHP
<?php
$ch = curl_init('https://app.tyrosec.com/api/v1/threats/ips?min_score=80&limit=2');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_FAILONERROR => true,
    CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('TYROSEC_TOKEN'), 'Accept: application/json'],
]);
$out = curl_exec($ch);
if ($out === false) { throw new RuntimeException(curl_error($ch)); }
print_r(json_decode($out, true));
JavaScript
const res = await fetch("https://app.tyrosec.com/api/v1/threats/ips?min_score=80&limit=2", {
  headers: {
    Authorization: `Bearer ${process.env.TYROSEC_TOKEN}`,
    Accept: "application/json",
  },
});
if (!res.ok) throw new Error(`HTTP ${res.status}`);
console.log(await res.json());

Beispiel-Antwort HTTP 200

{
  "data": [
    {
      "ip": "198.51.100.23",
      "score": 96,
      "tenants": 9,
      "hosts": 23,
      "categories": {
        "ssh": 23
      },
      "last_seen": "2026-11-16 17:39:41.950601+00"
    },
    {
      "ip": "198.51.100.140",
      "score": 92,
      "tenants": 14,
      "hosts": 61,
      "categories": {
        "scanner": 61
      },
      "last_seen": "2026-11-16 17:39:41.950601+00"
    }
  ]
}

In zwei Minuten sehen, was auf Ihrem Server passiert.

Agent per Einzeiler installieren, Erst-Erfassung abwarten, fertig. 14 Tage kostenlos, bis zu 3 Server, ohne Kreditkarte.