What happened
better-chatbot before 2.0.0 leaves built-in tool execute handlers active in Manual tool mode, so tools run without per-call user confirmation. A prompt-injected document or web page can drive the HTTP-request tool to exfiltrate conversation data to an attacker-controlled endpoint. Fixed in 2.0.0.
Why it matters
This is a prompt-injection-to-exfiltration path in an agentic chatbot: the confirmation mechanism that should gate agent tool execution is bypassed, so injected content can silently leak conversation/context data. It illustrates the class of 'authorization/downgrade' flaws that make indirect prompt injection consequential.
Attack vector
In Manual tool mode the built-in tools' execute handlers remain active without per-tool user confirmation. An attacker plants a prompt-injected document or web page that makes the HTTP request tool send conversation data to attacker-controlled URLs.
Affected systems
better-chatbot before 2.0.0 (src/app/api/chat/route.ts keeps built-in tool execute handlers in Manual tool mode)
Mitigation
Upgrade to better-chatbot 2.0.0. Advisory: https://github.com/keinsaasforever/better-chatbot/security/advisories/GHSA-7jvq-8frj-xgfc