Free · Daily brief + weekly playbookDaily 60-sec AI Voice Brief + Weekly Production AI Agent PlaybookGet the brief →
ReleaseCode / SDK · ActionableHabr AI→ original

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
ChatGPT Bots Can Be Hacked With 6 Lines of Code: Scanner Exposes the Vulnerability
Source: Habr AI. Collage: Hamidun News.
Listen to article

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.

Story

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.

ZK
Zhemal Khamidun — Head of AI at Alpina Digital · MIPT (academic supervisor of the Tech Entrepreneurship department). Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Unified AI Workspace · Nomad

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.

Try Nomad AI →Launch Nomad Agent
Jemal Hamidun

Editor-in-chief · Cite this analysis

Jemal Hamidun

Head of AI at Alpina Digital · Academic Supervisor of the Tech Entrepreneurship Department at MIPT

Head of AI & CPO of AlpinaGPT at Alpina Digital, Academic Lead of Tech Entrepreneurship at MIPT. Founder of Hamidun News and Vibe Academy.

Ready-to-paste citation for journalists, blogs and Telegram channels

Source: Hamidun News — ChatGPT Bots Can Be Hacked With 6 Lines of Code: Scanner Exposes the Vulnerability https://news.hamidun.com/en/news/9539/chatgpt-bots-can-be-hacked-with-6-lines-of-code-scanner-expo

What do you think?
Loading comments…