ChatGPT Bots Can Be Hacked With 6 Lines of Code: Scanner Exposes the Vulnerability
BarkingDog is a security scanner for LLM-powered Telegram bots. When tested against a real open-source project, it uncovered critical vulnerabilities: the bot wrote keyloggers, gave dangerous advice and handed out hacking instructions. All of these problems can be fixed by editing the system prompt.
AI-processed from Habr AI; edited by Hamidun News
Prompt injection has turned out to be a critical vulnerability in ChatGPT-powered Telegram bots. An engineer built BarkingDog, an open-source scanner that hunts for these holes, and the results are alarming.
What are prompt injections in ChatGPT?
A hacking technique in which specially crafted text bypasses a bot's built-in instructions and makes it carry out dangerous commands, from writing a keylogger to spreading disinformation.
How do you protect a ChatGPT bot from being hacked?
Based on the BarkingDog scanner's test results, there is no silver bullet. Even with built-in refusal instructions, a bot remains vulnerable to prompt injection.
- Dec 2, 2026OpenAI Opens Dots Agent to ChatGPT Plus Subscribers With 10,000+ Plugins
- Dec 2, 2026MyLLM moves Claude Code, Grok and GPT to a server: a laptop needs only one token
- Dec 2, 2026T-Decision-1 9B scores 71.6 points and beats a model six times its size
- Dec 2, 2026ETH Zurich's Sensor Behind the Cheek Reads Silent Commands: 91.5% Accuracy at Rest, 47.6% While Walking
Key Questions Answered
What are prompt injections in ChatGPT?
A hacking technique in which specially crafted text bypasses a bot's built-in instructions and makes it carry out dangerous commands, from writing a keylogger to spreading disinformation.
How do you protect a ChatGPT bot from being hacked?
Based on the BarkingDog scanner's test results, there is no silver bullet. Even with built-in refusal instructions, a bot remains vulnerable to prompt injection.
Test Frontier LLMs & Autonomous Agents in One Workspace
Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.
Daily 60-sec AI Voice Brief + Weekly Production AI Agent Playbook
Listen to a 60-second AI news brief every morning and get a weekly hands-on playbook for shipping AI agents to production — tools, MCP servers and patterns that work. Curated by Jemal Hamidun, Head of AI at Alpina Digital.
