Skip to content

🕵️‍♂️ (2-in-1) Email & Username OSINT suite featuring native MCP support for deep data extraction just from a single Email/Username. Analyzes 2720+ actively maintained scan vectors (210+ email / 2510+ username) for security research, investigations, and digital footprinting.

create(dev/): new category `dev` for email scan and first module huggingface

kaifcodec043f0a1eb90b
diff --git a/user_scanner/email_scan/dev/__init__.py b/user_scanner/email_scan/dev/__init__.py
new file mode 100644
index 0000000..e69de29
diff --git a/user_scanner/email_scan/dev/huggingface.py b/user_scanner/email_scan/dev/huggingface.py
new file mode 100644
index 0000000..93f341e
--- /dev/null
+++ b/user_scanner/email_scan/dev/huggingface.py
@@ -0,0 +1,37 @@
+import httpx
+from user_scanner.core.result import Result
+
+
+async def _check(email: str) -> Result:
+ url = "https://huggingface.co/api/check-user-email"
+ params = {'email': email}
+ headers = {
+ 'User-Agent': "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36",
+ 'Accept-Encoding': "identity",
+ 'referer': "https://huggingface.co/join",
+ 'priority': "u=1, i"
+ }
+
+ async with httpx.AsyncClient(http2=True) as client:
+ try:
+ response = await client.get(url, params=params, headers=headers)
+
+ if response.status_code == 429:
+ return Result.error("Rate limited wait for few minutes")
+
+ if response.status_code == 400:
+ data = response.json()
+ if "already exists" in data.get("error", ""):
+ return Result.taken()
+
+ if response.status_code == 200:
+ return Result.available()
+
+ return Result.error(f"HTTP Error: {response.status_code}")
+
+ except Exception as e:
+ return Result.error(e)
+
+
+async def validate_huggingface(email: str) -> Result:
+ return await _check(email)