API
API: vulnerabilities and attacker IPs
Query open vulnerabilities sorted by real risk and feed attacker IPs from the tyrosec network into your own firewalls.
GET /vulnerabilities
Open vulnerabilities · Read
Open vulnerabilities in system packages, WordPress, Composer, npm and shop modules – sorted by active exploitation (kev) and severity, with EPSS, exploit status and fixed version.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
host | query | uuid | no | one server only |
fixable | query | boolean | no | only vulnerabilities with an available update |
Example request
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());Example response 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
Attacker IPs from the tyrosec network · Read
Addresses that were conspicuous at two or more clients, with score, categories and number of affected servers – e.g. for your own firewall or WAF.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
min_score | query | integer 1–1000 | no | minimum score, default 50 |
limit | query | integer 1–10000 | no | number of entries, default 1000 |
Example request
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());Example response 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"
}
]
}See what’s happening on your server in two minutes.
Install the agent with a one-liner, wait for the initial scan, done. 14 days free, up to 3 servers, no credit card required.