by 7WaySecurity
🤖 Curated AI OSINT resources — Google dorks, Shodan queries, GitHub dorks, and techniques to discover exposed LLM endpoints, leaked AI API keys, misconfigured vector databases, and unprotected AI agents
# Add to your Claude Code skills
git clone https://github.com/7WaySecurity/ai_osintai_osint is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by 7WaySecurity. 🤖 Curated AI OSINT resources — Google dorks, Shodan queries, GitHub dorks, and techniques to discover exposed LLM endpoints, leaked AI API keys, misconfigured vector databases, and unprotected AI agents. It has 185 GitHub stars.
ai_osint's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/7WaySecurity/ai_osint" and add it to your Claude Code skills directory (see the Installation section above).
ai_osint is primarily written in Python. It is open-source under 7WaySecurity on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh ai_osint against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
AI OSINT is a curated collection of Google dorks, Shodan queries, GitHub dorks, Censys queries, Sigma detection rules, threat intelligence, and security tools for finding exposed artificial intelligence infrastructure on the internet. It covers LLM endpoints (Ollama, vLLM, LM Studio), AI chatbot conversation leaks (ChatGPT, Grok, Perplexity), vector databases (Qdrant, Weaviate, ChromaDB, Milvus, Pinecone), AI agent gateways (OpenClaw, MCP servers), MLOps platforms (MLflow, Jupyter, Kubeflow), leaked AI API keys (OpenAI, Anthropic, Google Gemini, HuggingFace, Groq, Replicate, Cohere, Mistral, DeepSeek, ElevenLabs), and AI image generation services (Stable Diffusion, ComfyUI). Designed for Red Team operators, penetration testers, bug bounty hunters, and OSINT researchers working in AI/ML security.
It now also covers MCP supply chain attacks (systemic STDIO RCE, marketplace poisoning), AI IDE exploitation (Copilot YOLO mode, Windsurf zero-click), AI model leak incidents (Claude Code source map, DeepSeek ClickHouse exposure), AI-assisted vulnerability discovery (Mythos/Glasswing), and ChatGPT data exfiltration techniques.
Everything above answers "what AI is exposed on the internet?". The new shadow-ai/ section answers "what unsanctioned AI is my organization exposing, measured only from public sources?"
shadow-ai/scripts/shadow_ai_footprint.py). Nothing in the section contacts a discovered host.Start with shadow-ai/README.md, then shadow-ai/SIGNALS.md.
Organizations are deploying LLMs, vector databases, and AI agents faster than they can secure them. The result:
This repository gives Red Team operators and OSINT professionals the exact queries to find it all.
Inspired by: 7WaySecurity/cloud_osint
KEYWORD Convention — Read This FirstAs of v1.3.0, every dork and query in this repository uses a KEYWORD placeholder in place of the secret-seeking value strings (passwords, tokens, credentials, etc.) that used to be hard-coded.
Replace KEYWORD with a term you are authorized to search for:
site: / hostname: / org: filter)# Examples of scoping KEYWORD to your own assets:
site:grok.com/share "acme-corp"
intitle:"MLflow" site:acme.com
"OPENAI_API_KEY" path:*.env org:acme-corp
"Ollama is running" port:11434 org:"Acme Inc"
What stays: service fingerprints (product titles, API paths, ports, env-var names like OPENAI_API_KEY, key prefixes like sk-proj-) are kept as-is — they identify the service or format, not a specific victim's secret.
Why: documenting that a class of system is commonly misconfigured, and how to check your own exposure, is legitimate defensive and red-team work. Shipping copy-paste queries whose only function is to maximize the yield of other people's live secrets is not. The KEYWORD convention keeps every technique here useful for authorized testing without being a turnkey harvesting kit.
If a hit surfaces a third party's secret, that is not your finding to act on — report it responsibly and move on.
| Section | What You'll Find |
|---|---|
| Google Dorks | Queries for ChatGPT, Grok, HuggingFace, dashboards, config files |
| GitHub Dorks | Leaked API keys for 20+ AI providers, MCP configs, system prompts |
| Shodan Queries | Ollama, vLLM, OpenClaw, Gradio, vector DBs, MLflow, Jupyter |
| Censys Queries | Alternative engine queries for all AI services |
| AI Service Endpoints | URL patterns, default ports, API fingerprinting |
| API Key Patterns | Prefixes, regex, validation for every major AI provider |
| Vector DB Recon | Endpoints to enumerate Qdrant, Weaviate, ChromaDB, Milvus |
| MCP & Agent Exposure | The most critical emerging attack surface in AI security |
| Threat Intelligence | Operation Bizarre Bazaar, Clawdbot crisis, MCP supply chain |
| Tools | AI-specific only — scanners, red team frameworks, key detectors |
| Detection Rules | Sigma rules for monitoring AI infrastructure |
Full collection:
dorks/google/
# Grok (xAI) — 370K+ conversations indexed, NO opt-out for indexing
site:grok.com/share "KEYWORD"
# ChatGPT — Feature removed Aug 2025, cached results diminishing
# Try on DuckDuckGo which continued indexing after Google stopped
site:chatgpt.com/share "KEYWORD"
# Perplexity AI
site:perplexity.ai/search "KEYWORD"
# Claude (Anthropic) — ~600 convos indexed by Google, 143K+ on Archive.org
# 🔥 Original dork by 7WaySecurity
site:claude.ai "public/artifacts" "KEYWORD"
site:claude.ai/share "KEYWORD"
site:web.archive.org "claude.ai/share" "KEYWORD"
# HuggingFace Spaces — keys hardcoded in public Git repos
site:huggingface.co/spaces "KEYWORD"
site:huggingface.co/spaces "OPENAI_API_KEY" "KEYWORD"
site:huggingface.co/spaces "os.environ" "KEYWORD"
site:huggingface.co/spaces "st.secrets" "KEYWORD"
intitle:"MLflow" inurl:"/mlflow" "KEYWORD"
intitle:"Label Studio" inurl:"/projects" "KEYWORD"
intitle:"Jupyter Notebook" inurl:"/tree" -"Login" "KEYWORD"
intitle:"Kubeflow" inurl:"/pipeline" "KEYWORD"
intitle:"Airflow - DAGs" "KEYWORD"
intitle:"Gradio" inurl:":7860" "KEYWORD"
intitle:"Streamlit" inurl:":8501" "KEYWORD"
intitle:"Open WebUI" "ollama" "KEYWORD"
intitle:"Qdrant Dashboard" "KEYWORD"
intitle:"ComfyUI" "KEYWORD"
intitle:"Stable Diffusion" "KEYWORD"
intitle:"LiteLLM" "proxy" "KEYWORD"
filetype:env "OPENAI_API_KEY" "KEYWORD"
filetype:env "ANTHROPIC_API_KEY" "KEYWORD"
filetype:env "HUGGINGFACE_TOKEN" "KEYWORD"
filetype:env "GROQ_API_KEY" "KEYWORD"
filetype:env "PINECONE_API_KEY" "KEYWORD"
filetype:env "WANDB_API_KEY" "KEYWORD"
filetype:env "DEEPSEEK_API_KEY" "KEYWORD"
filetype:env "OPENROUTER_API_KEY" "KEYWORD"
filetype:yaml "openai" "api_key" "KEYWORD"
filetype:json "anthropic" "api_key" "KEYWORD"
# MCP server configs with embedded secrets (systemic RCE — Ox Security, April 2026)
site:github.com "mcpServers" "args" filetype:json "KEYWORD"
site:github.com "mcp.config" "apiKey" "KEYWORD"
site:github.com ".cursor" "mcpServers" filetype:json "KEYWORD"
site:github.com "windsurf" "mcp" "config" filetype:json "KEYWORD"
# Claude Code leak artifacts
site:github.com "claude-code" "leaked" "source" "KEYWORD"
# VS Code YOLO mode (CVE-2025-53773)
site:github.com "chat.tools.autoApprove" "true" filetype:json "KEYWORD"
Full collection:
dorks/github/⚠️ Syntax note: GitHub migrated to new Code Search. Use
path:*.envinstead of legacyfilename:.env. Queries below use modern syntax where applicable.
# OpenAI (project keys