From 97e41f2a99c8e9628fc66678fce39455fb58008c Mon Sep 17 00:00:00 2001 From: liquidsec Date: Fri, 22 May 2026 09:09:48 -0400 Subject: [PATCH] leakix: guard parse_results against non-list JSON --- bbot/modules/leakix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bbot/modules/leakix.py b/bbot/modules/leakix.py index 1f79dc8b12..d56c606ddc 100644 --- a/bbot/modules/leakix.py +++ b/bbot/modules/leakix.py @@ -38,7 +38,7 @@ async def request_url(self, query): async def parse_results(self, r, query=None): results = set() json = r.json() - if json: + if isinstance(json, list): for entry in json: subdomain = entry.get("subdomain", "") if subdomain: