The post has been translated automatically. Original language: Russian
Let's imagine an AI assistant who reads customer requests, finds information in CRM and prepares responses. To speed up the pilot, he was given integration with broad rights: to read cards, change fields, and send messages.
A text appears in one of the incoming documents, which the model interprets as an instruction to change the task. If the assistant follows it, the consequences will depend on what actions the connected system allows.
This method of exposure through a document, letter, or other external source is called indirect prompt injection. It is not necessary to have access to the system software for an attack: it is enough to get into the materials that the assistant processes.
Where is the business risk?
A dangerous boundary runs between interpreting the text and performing the operation. If the model can only produce a draft, the consequences are limited to this scenario. If she is able to download the database on her own or change the banking details, the error affects real data and processes.
The "do not disclose confidential information" instruction is useful, but by itself it does not limit the integration authority. The access decision should be checked programmatically every time the system is accessed.
How to limit the consequences
You can set specific boundaries for the support assistant.:
- reading only those requests and cards that are available to the current employee;
- a separate tool for preparing a draft without the right to send;
- no mass upload function if it is not needed for the task.;
- checking allowed fields and operations on the CRM or integration service side.
A dedicated account with full access to all clients violates this model: employee restrictions may cease to apply when contacting through an assistant.
For significant changes, you need the confirmation of an authorized person. It should show a specific object and changes: which fields will be updated, to whom the message will be sent, and which data will be sent. The general "allow CRM to work" does not help to evaluate a single action.
What to check before launching
In the test environment, ask the assistant to process a document with extraneous instructions, request a card outside the user's rights, and perform an action that is not in his work scenario.
Evaluate the behavior of the entire system. Even if the model has generated an erroneous call, the integration should reject the invalid operation. The initiator, the invoked tool, the result of the check, and the fact of confirmation, if required, should remain in the log.
Before connecting each new tool, it is worth answering one question: what can this assistant do if he misunderstands the document? The answer should be based on real access restrictions, not on confidence in the formulation of the plan.
Представим AI-ассистента, который читает обращения клиентов, находит сведения в CRM и готовит ответы. Чтобы ускорить пилот, ему подключили интеграцию с широкими правами: читать карточки, менять поля и отправлять сообщения.
В одном из входящих документов появляется текст, который модель воспринимает как указание изменить задачу. Если ассистент последует ему, последствия будут зависеть от того, какие действия разрешает подключенная система.
Такой способ воздействия через документ, письмо или другой внешний источник называют косвенной prompt injection. Для атаки не обязательно иметь доступ к системному промпту: достаточно попасть в материалы, которые ассистент обрабатывает.
Где появляется риск для бизнеса
Опасная граница проходит между интерпретацией текста и выполнением операции. Если модель может только подготовить черновик, последствия ограничены этим сценарием. Если она способна самостоятельно выгрузить базу или изменить реквизиты, ошибка затрагивает реальные данные и процессы.
Инструкция «не раскрывай конфиденциальную информацию» полезна, но сама по себе не ограничивает полномочия интеграции. Решение о доступе должно проверяться программно при каждом обращении к системе.
Как ограничить последствия
Для ассистента поддержки можно задать конкретные границы:
- чтение только тех обращений и карточек, которые доступны текущему сотруднику;
- отдельный инструмент для подготовки черновика без права отправки;
- отсутствие функции массовой выгрузки, если она не нужна для задачи;
- проверка разрешённых полей и операций на стороне CRM или интеграционного сервиса.
Выделенная учётная запись с полным доступом ко всем клиентам нарушает такую модель: ограничения сотрудника могут перестать действовать при обращении через ассистента.
Для значимых изменений нужно подтверждение уполномоченного человека. Оно должно показывать конкретный объект и изменения: какие поля будут обновлены, кому уйдет сообщение, какие данные будут отправлены. Общее «разрешить работу с CRM» не помогает оценить отдельное действие.
Что проверять перед запуском
В тестовой среде предложите ассистенту обработать документ с посторонними инструкциями, запросить карточку вне прав пользователя и выполнить действие, которого нет в его рабочем сценарии.
Оценивайте поведение всей системы. Даже если модель сформировала ошибочный вызов, интеграция должна отклонить недопустимую операцию. В журнале должны остаться инициатор, вызванный инструмент, результат проверки и факт подтверждения, если оно требовалось.
Перед подключением каждого нового инструмента стоит ответить на один вопрос: что этот ассистент сможет сделать, если неверно поймет документ? Ответ должен опираться на реальные ограничения доступа, а не на уверенность в формулировке промпта.
Comments 1
Newest Popular