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.
- Nov 1, 2026OpenAI Rewrites GPT Behavior Rules: Five Values and a Chain of Command
- Nov 1, 2026Google admits AI Mode cuts search revenue, shares fall 15%
- Oct 31, 2026Author puts his script before an AI jury: the verdict cost 850 thousand tokens
- Oct 31, 2026Anthropic: Fold Subagents Back Into a Single Loop — One Customer's Tasks Ran Twice as Fast
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.
Build & Ship Production AI Agents Without Boilerplate Code
Start your free 72-hour trial at Hamidun Academy (academy.hamidun.com) — interactive lessons on Claude Code & Cursor, live Tech Radar, and production agent templates.
The AI world, distilled — once a week
Seven stories that actually mattered, hand-picked. No noise, no reposts, no press releases.
Done! Check your inbox for a confirmation.