A Public Chatbot is an AI chatbot reachable by anyone over the internet, either a third-party consumer service staff might use or an organisation's own customer-facing bot. Risks include employees pasting confidential data into third-party services, and prompt injection or data leakage from customer-facing bots. Set usage policy, limit the data and tools the bot can reach, and log use.
Public Chatbot Security and Trust Boundary
A public chatbot is reachable from the open internet, so the central security question is not only what it can answer, but what it can reveal, accept, and do on behalf of the organisation. That makes its trust boundary broader than a private internal assistant, because untrusted users can probe it continuously and at scale.
The strongest design assumption is that the model will face hostile input. Prompt injection, policy evasion, and data exfiltration attempts should be treated as normal operating conditions, not edge cases, especially when the bot can search internal content, call tools, or surface customer records.
Common Exposure Paths in Public Chatbots
Two exposure paths dominate in practice. The first is staff or users pasting confidential material into a third-party chatbot, where the organisation loses visibility and control over how that data is retained or reused. The second is a customer-facing bot that is connected to internal systems and can be manipulated into revealing sensitive context, summarising private data, or taking unsafe actions.
Public exposure also increases the value of the chatbot as a reconnaissance target. Attackers can test guardrails, infer hidden prompts, and look for ways to move from conversational access to broader application or data access, especially when tool access has not been tightly scoped.
Controls for Data, Tools, and Logging
The practical control pattern is to keep the bot on a narrow diet. Limit the data it can see, the tools it can invoke, and the actions it can trigger, then separate low-risk conversational features from any workflow that touches customer data, secrets, or privileged operations. When a chatbot must interact with business systems, the access path should be explicit, minimal, and reviewable.
Logging matters because public chatbots fail in ways that are often only visible after the fact. Interaction logs, tool-call logs, and safety-event logs help detect prompt abuse, repeated probing, data leakage attempts, and anomalous use patterns that would otherwise disappear into normal chat traffic.
Governance for Customer-Facing and Third-Party Bots
A public chatbot should have an owner, an approved use policy, and a documented data-handling rule set. That governance needs to distinguish between sanctioned customer-facing uses and employee use of external services, because the risk profile changes sharply once prompts may contain confidential, regulated, or identity-related information.
Vendor selection should be driven by whether the service supports data minimisation, tenant isolation, auditability, and usable controls for retention and access. For organisations comparing public chatbot deployments, the right question is not whether the bot is useful, but whether the operating model can keep untrusted prompts from becoming an uncontrolled data channel.
Risk and Threat Considerations
Public chatbots create a direct path from untrusted input to sensitive output, which is why prompt injection, unsafe tool use, and accidental disclosure are recurring failure modes. The same exposure also makes them attractive for data harvesting, policy bypass attempts, and probing for hidden instructions or backend integrations.
Failure mechanism: An attacker supplies crafted prompts or conversation content that causes the bot to ignore instructions, reveal protected context, or misuse connected tools and data sources.
Impact: The result can be leakage of confidential information, exposure of customer data, unauthorised actions through linked systems, or loss of trust in the chatbot as a public interface.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
NIST SP 800-53 Rev 5, OWASP ASVS and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST SP 800-53 Rev 5 | AC-6 — Least Privilege | Public chatbots need tightly scoped access to data and tools. |
| AU-2 — Event Logging | Logging is essential for spotting abuse and leakage in public chatbot use. | |
| SI-10 — Information Input Validation | Prompt injection is an input-abuse problem requiring validation and sanitisation controls. | |
| Recommendation — Restrict chatbot tool and data access to the minimum required. Log chatbot prompts, tool calls, and safety events for review. Validate and constrain chatbot inputs before they reach sensitive logic. | ||
| OWASP ASVS | V16 — Security Logging and Error Handling | Public chatbot abuse and leakage need strong security logging and handling. |
| Recommendation — Capture security-relevant chatbot events and handle failures safely. | ||
| NIST CSF 2.0 | PR.AA-05 — Protective Technology | Public chatbot exposure depends on protective controls around access and use. |
| Recommendation — Apply protective controls that limit chatbot exposure and misuse. | ||
Practitioner Guidance
What to watch for: Treat public chatbot deployment as a boundary-setting exercise, not just a model selection exercise. If the bot can access anything sensitive, the first question should be whether that access can be reduced before launch, because the safest public chatbot is usually the one with the smallest possible read and action scope.
Practitioner takeaway: Public reachability changes the threat model immediately, so security, privacy, and product teams should agree on the bot’s allowed data, allowed tools, and logging expectations before it goes live.
Related resources from NHI Mgmt Group
- Guide: LLM Jailbreaks Guide
- What happens when cardholder data is pasted into a public AI chatbot during troubleshooting?
- What happens when a public AI chatbot removes safety guardrails and offers low cost access to harmful outputs?
- Why do public chatbot tools create risk when staff paste in company data for work shortcuts?
- Should organisations treat public chatbot use as an identity or data issue?
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on November 26, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org