A new Go-based botnet called NadMesh is hunting exposed AI services for cloud keys and Kubernetes tokens, already claiming thousands of AWS keys. Learn how to protect your infrastructure.
A new Go-based botnet called NadMesh first appeared in early July, and it's already making waves in the cybersecurity world. Its primary target? Exposed AI services that teams often set up quickly but fail to secure properly. According to the operator's own dashboard, the botnet has already claimed 3,811 unique AWS keys, which is a staggering number for such a short time frame.\n\nThe botnet relies on a Shodan harvester to keep its scan queue stocked with popular AI tools like ComfyUI, Ollama, n8n, Open WebUI, Langflow, and Gradio. These are the image generators, local model runners, and workflow builders that teams love to stand up fast but often forget to firewall until it's too late.\n\n### How NadMesh Operates\n\nNadMesh isn't your average botnet. It's written in Go, which makes it lightweight and cross-platform. That means it can run on everything from Linux servers to Windows machines without much modification. The botnet scans the internet for exposed endpoints of AI services, then exploits them to steal cloud keys and Kubernetes tokens.\n\nThe Shodan harvester is a key component here. It continuously feeds the botnet with new targets, ensuring the scan queue never runs dry. This automated approach means NadMesh can scale its operations rapidly, hitting hundreds or even thousands of targets per day.\n\n### The Real Threat to AI Infrastructure\n\nWhat makes NadMesh particularly dangerous is its focus on AI infrastructure. Many organizations are racing to deploy AI tools without proper security measures. They expose services like ComfyUI for image generation or Ollama for local model running, thinking they're safe behind a corporate network. But Shodan makes these services visible to anyone with an internet connection.\n\n- **ComfyUI**: A popular interface for stable diffusion models.\n- **Ollama**: A tool for running large language models locally.\n- **n8n**: A workflow automation platform.\n- **Open WebUI**: A web interface for AI models.\n- **Langflow**: A visual framework for building AI workflows.\n- **Gradio**: A library for creating machine learning demos.\n\nAll of these tools can be misconfigured, leaving them open to attacks like NadMesh. Once the botnet gains access, it can extract cloud keys and Kubernetes tokens, giving attackers full control over your cloud infrastructure.\n\n### Why This Matters for Your Security\n\nIf you're running any of these tools, it's time to take a hard look at your security posture. The NadMesh botnet is just one example of a growing trend: attackers are actively targeting AI infrastructure because it often has weaker security than traditional enterprise systems.\n\n> "The speed at which NadMesh accumulates AWS keys is alarming. It shows that attackers are automating their operations to exploit the weakest links in AI deployments." - Security analyst quote\n\nTo protect yourself, start by reviewing your firewall rules. Make sure AI services aren't exposed to the public internet unless absolutely necessary. Use strong authentication and consider implementing a reverse proxy with access controls. Also, regularly rotate your cloud keys and monitor your Kubernetes clusters for unusual activity.\n\n### What You Can Do Right Now\n\nFirst, audit your network for any exposed AI services. Tools like Shodan can help you see what's visible to the outside world. Second, update your security policies to include AI-specific risks. Third, educate your team about the dangers of standing up services without proper security.\n\nThe NadMesh botnet is a wake-up call. As AI adoption grows, so will the attacks targeting it. Don't wait until your keys are stolen to take action. Secure your AI infrastructure today.