DragonEye OSINT: How a Python-Powered Tool Exposed My Forgotten Digital Footprint – and Why Yours Is Next + Video

Listen to this Post

Featured Image

Introduction:

Open Source Intelligence (OSINT) has become a cornerstone of modern cybersecurity, enabling analysts, threat hunters, and ethical hackers to gather publicly available information about individuals or organizations. The recent development of DragonEye OSINT – a Python-based tool leveraging FastAPI and Streamlit – demonstrates just how accessible and powerful OSINT has become. This tool can simultaneously search across 12+ platforms including Instagram, X, Facebook, LinkedIn, GitHub, Reddit, YouTube, and TikTok, performing reverse image searches, username lookups, email validation, and phone number analysis. In a striking test, its creator discovered an old online account they had completely forgotten – a powerful reminder that our digital footprint is often much larger than we realize.

Learning Objectives:

  • Understand the core OSINT methodologies and how tools like DragonEye automate digital footprint discovery across multiple platforms.
  • Learn to build or configure OSINT pipelines using Python, FastAPI, Streamlit, and common OSINT libraries.
  • Master practical techniques for auditing your own digital presence and implementing defensive OSINT strategies.

You Should Know:

  1. The Architecture of DragonEye OSINT: FastAPI Backend, Streamlit Frontend

DragonEye OSINT is built on a modern web architecture that separates the data processing engine from the user interface. The backend is powered by FastAPI, a high-performance asynchronous Python framework that handles concurrent requests for username searches, reverse image lookups, email validation, and phone number analysis. The frontend is a Streamlit dashboard that provides an organized, interactive investigation experience.

To understand how this works, consider the core components:

  • Reverse Image Search Module: Uses APIs like Google Vision, TinEye, or Bing Visual Search to discover where a photo appears online.
  • Username Search Engine: Queries multiple platforms simultaneously (Instagram, X, Facebook, LinkedIn, GitHub, Reddit, YouTube, TikTok) using HTTP requests and public API endpoints.
  • Email Validation & Profile Discovery: Validates email addresses via SMTP checks and searches for associated public profiles.
  • Phone Number Analysis: Extracts country, carrier, timezone, and public references using services like Twilio Lookup or Numverify.

Step‑by‑step guide: Setting Up a Basic OSINT Pipeline with Python

 Linux/macOS: Create a virtual environment
python3 -m venv osint_env
source osint_env/bin/activate

Windows:
python -m venv osint_env
osint_env\Scripts\activate

Install dependencies
pip install fastapi uvicorn streamlit requests pillow phonenumbers email-validator

Create a simple FastAPI endpoint for username search:

from fastapi import FastAPI
import requests

app = FastAPI()

PLATFORMS = {
"github": "https://github.com/{}",
"twitter": "https://twitter.com/{}",
"instagram": "https://instagram.com/{}"
}

@app.get("/search/{username}")
async def search_username(username: str):
results = {}
for platform, url_template in PLATFORMS.items():
url = url_template.format(username)
try:
response = requests.head(url, timeout=5)
results[bash] = {"url": url, "exists": response.status_code == 200}
except:
results[bash] = {"url": url, "exists": False}
return results

Run the server:

uvicorn main:app --reload

This provides a foundation for building a full OSINT tool similar to DragonEye.

2. Conducting a Comprehensive Digital Footprint Audit

The creator of DragonEye OSINT discovered a forgotten account during self-testing. This highlights the importance of regular digital footprint audits. Here’s a systematic approach:

Step‑by‑step guide: Auditing Your Digital Footprint

  1. Username Search: Use tools like Sherlock or the username search module in DragonEye to check your handle across dozens of platforms.
    Install Sherlock (Linux/macOS/WSL)
    git clone https://github.com/sherlock-project/sherlock.git
    cd sherlock
    python3 -m pip install -r requirements.txt
    python3 sherlock your_username
    

  2. Email Address Audit: Check if your email appears in data breaches using Have I Been Pwned API:

    curl -X GET "https://api.pwnedpasswords.com/range/{}"  Part of a hash
    

Or use Python:

import requests
def check_breach(email):
response = requests.get(f"https://haveibeenpwned.com/api/v3/breachedaccount/{email}")
return response.json() if response.status_code == 200 else []
  1. Reverse Image Search: Upload a profile photo to Google Images or TinEye to see where it appears. Automate with Python:
    Using TinEye API (requires API key)
    import requests
    files = {'image': open('profile.jpg', 'rb')}
    response = requests.post('https://api.tineye.com/rest/search/', files=files)
    

4. Phone Number Analysis: Use Python’s `phonenumbers` library:

import phonenumbers
from phonenumbers import carrier, timezone, geocoder
number = phonenumbers.parse("+1234567890")
print(carrier.name_for_number(number, "en"))
print(timezone.time_zones_for_number(number))
print(geocoder.description_for_number(number, "en"))
  1. Name-Based Search: Search for your full name in news, public records, and social media using Google Dorking or custom scripts.

3. OSINT Automation with Python, FastAPI, and Streamlit

DragonEye OSINT demonstrates the power of combining FastAPI and Streamlit for OSINT investigations. FastAPI handles asynchronous backend operations, while Streamlit provides an intuitive dashboard.

Step‑by‑step guide: Building a Streamlit Dashboard for OSINT

import streamlit as st
import requests

st.title("DragonEye OSINT - Digital Footprint Scanner")

search_type = st.selectbox("Search Type", ["Username", "Email", "Phone", "Image"])
query = st.text_input("Enter search query")

if st.button("Scan"):
if search_type == "Username":
response = requests.get(f"http://localhost:8000/search/{query}")
results = response.json()
for platform, data in results.items():
st.write(f"{platform}: {data['url']} - {'✅ Found' if data['exists'] else '❌ Not found'}")

Run the Streamlit app:

streamlit run app.py

This creates a clean, interactive interface for OSINT investigations, similar to DragonEye’s dashboard.

4. Responsible OSINT and Ethical Considerations

The creator emphasized that “if information is publicly available, anyone can potentially find it”. This underscores the ethical responsibility of OSINT practitioners. Key principles include:

  • Authorization: Only perform OSINT on yourself, your organization, or with explicit permission.
  • Privacy: Respect data protection laws like GDPR and CCPA.
  • Transparency: Use OSINT for defensive purposes, not harassment or stalking.

Step‑by‑step guide: Implementing Defensive OSINT

  1. Regular Self-Audits: Schedule monthly scans of your digital footprint using tools like DragonEye or Sherlock.
  2. Data Removal: Use services like DeleteMe or manually request removal of sensitive information from data brokers.
  3. Privacy Hardening: Adjust privacy settings on social media platforms to limit public exposure.
  4. Use Sock Puppets: For legitimate investigations, use anonymous accounts to avoid exposing your real identity.

  5. API Security and Cloud Hardening for OSINT Tools

When building OSINT tools like DragonEye, API security is critical. Exposed API keys or insecure endpoints can lead to data breaches or abuse.

Step‑by‑step guide: Securing Your OSINT API

1. Environment Variables: Never hardcode API keys.

 Linux/macOS
export TINEYE_API_KEY="your_key_here"
 Windows (Command Prompt)
set TINEYE_API_KEY=your_key_here
 Windows (PowerShell)
$env:TINEYE_API_KEY="your_key_here"
  1. Rate Limiting: Implement rate limiting to prevent abuse.
    from fastapi import FastAPI, Request
    from slowapi import Limiter, _rate_limit_exceeded_handler
    from slowapi.util import get_remote_address</li>
    </ol>
    
    limiter = Limiter(key_func=get_remote_address)
    app.state.limiter = limiter
    
    @app.get("/search/{username}")
    @limiter.limit("5/minute")
    async def search_username(request: Request, username: str):
     Your code
    
    1. Authentication: Use API keys or JWT tokens for access control.
      from fastapi.security import APIKeyHeader
      API_KEY = "your-secret-api-key"
      api_key_header = APIKeyHeader(name="X-API-Key")</li>
      </ol>
      
      @app.get("/secure-search/{username}")
      async def secure_search(api_key: str = Depends(api_key_header)):
      if api_key != API_KEY:
      raise HTTPException(status_code=403, detail="Invalid API Key")
      
      1. Cloud Hardening: If deploying on AWS, Azure, or GCP, use VPCs, security groups, and IAM roles to restrict access.

      6. Vulnerability Exploitation and Mitigation in OSINT Context

      OSINT tools can inadvertently expose vulnerabilities if not properly secured. For example, an insecure endpoint could allow an attacker to enumerate users or perform reconnaissance.

      Step‑by‑step guide: Testing and Mitigating OSINT Tool Vulnerabilities

      1. Input Validation: Sanitize all user inputs to prevent injection attacks.
        import re
        def validate_username(username):
        if not re.match("^[a-zA-Z0-9_]{3,20}$", username):
        raise ValueError("Invalid username format")
        return username
        

      2. Error Handling: Avoid exposing stack traces or internal information.

        try:
        Your code
        except Exception as e:
        logger.error(f"Error: {e}")
        return {"error": "An internal error occurred"}
        

      3. Penetration Testing: Use tools like OWASP ZAP or Burp Suite to test your OSINT API for common vulnerabilities (SQLi, XSS, IDOR).

      4. Logging and Monitoring: Implement comprehensive logging to detect abuse.

        import logging
        logging.basicConfig(level=logging.INFO)
        logger = logging.getLogger(<strong>name</strong>)
        logger.info(f"Search performed for username: {username} from IP: {client_ip}")
        

      What Undercode Say:

      • Key Takeaway 1: DragonEye OSINT is a powerful reminder that OSINT automation is no longer a niche skill – it’s an essential capability for cybersecurity professionals. The ability to simultaneously search 12+ platforms, perform reverse image searches, and analyze phone numbers and emails from a single dashboard represents a significant leap in OSINT accessibility.

      • Key Takeaway 2: The discovery of a forgotten account during self-testing underscores a critical cybersecurity lesson: our digital footprint is often far larger than we realize. Regular self-audits are not optional – they are a fundamental part of maintaining personal and organizational security. If information is publicly available, anyone can find it.

      Analysis: The development of DragonEye OSINT reflects a broader trend in cybersecurity: the democratization of OSINT tools. What once required specialized skills and expensive software can now be built with Python, FastAPI, and Streamlit in a matter of weeks. This democratization has dual implications. On one hand, it empowers security professionals to conduct thorough investigations and protect their organizations. On the other hand, it lowers the barrier for malicious actors, making it easier to conduct reconnaissance and social engineering attacks. The key takeaway is that OSINT is a double-edged sword – it can be used for good or ill, and the responsibility lies with the practitioner. Regular self-audits, privacy hardening, and ethical guidelines are not just best practices – they are necessities in an era where digital footprints are permanent and pervasive.

      Prediction:

      • +1 The continued development of open-source OSINT tools will lead to greater transparency and accountability, as individuals and organizations can more easily monitor their public exposure and take corrective action.
      • +1 Integration of AI and machine learning into OSINT tools will enable more sophisticated pattern recognition, threat detection, and automated remediation, further strengthening defensive cybersecurity postures.
      • -1 The accessibility of advanced OSINT tools will also empower cybercriminals, leading to an increase in targeted social engineering attacks, identity theft, and corporate espionage.
      • -1 Privacy regulations like GDPR and CCPA will face increasing challenges as OSINT tools make it easier to aggregate and correlate publicly available data, potentially circumventing traditional privacy protections.
      • +1 Organizations will increasingly adopt defensive OSINT strategies, including regular digital footprint audits and employee awareness training, to mitigate the risks associated with exposed data.
      • -1 The line between ethical OSINT and invasive surveillance will blur, leading to ethical dilemmas and potential misuse by state and non-state actors.
      • +1 The OSINT community will continue to develop best practices and ethical guidelines, fostering a culture of responsible intelligence gathering that prioritizes privacy and security.

      ▶️ Related Video (74% Match):

      🎯Let’s Practice For Free:

      🎓 Live Courses & Certifications:

      Join Undercode Academy for Verified Certifications

      🚀 Request a Custom Project:

      Secure, high-velocity infrastructure and disruptive technological engineering. Contact our engineering team for high-tier development and proprietary systems:
      [email protected]
      💎 Smart Architecture | 🛡️ Secure by Design | ⭐ Trusted by Thousands

      IT/Security Reporter URL:

      Reported By: Ambreena Munir – Hackers Feeds
      Extra Hub: Undercode MoN
      Basic Verification: Pass ✅

      🔐JOIN OUR CYBER WORLD [ CVE News • HackMonitor • UndercodeNews ]

      💬 Whatsapp | 💬 Telegram

      📢 Follow UndercodeTesting & Stay Tuned:

      𝕏 formerly Twitter 🐦 | @ Threads | 🔗 Linkedin | 🦋BlueSky