whispervibecode.com · Questions & Answers

I am building an AI tool that summarizes customer requests. Can a customer's message trick it into doing something else?

Yes. Treat customer messages as untrusted content, not instructions the application is allowed to follow. For a first version, let the AI draft a summary for staff review without giving it permission to send messages, change records, or retrieve unrelated customer information.

A customer message could contain text such as an instruction to ignore the summarization task and reveal internal information. This is a prompt injection risk. It matters when your finished application processes content with AI, not merely because AI helped write the application.

Beyond Vibe Coding by Addy Osmani emphasizes moving from AI-generated implementation toward engineering discipline and human judgment. Applied here, the important question is not just whether the summary reads well. It is what the system can access or do when the input is hostile.

Specify these boundaries:

- Customer text is material to summarize, never authority to change the task.
- The summarizer receives only the information needed for that request.
- Account permissions and business actions are enforced outside the model.
- Unexpected output is flagged for review rather than executed.

Test with invented requests containing misleading instructions, requests for secrets, and attempts to make the tool act on another customer's account. Check that restricted actions remain impossible, not merely that the AI refuses politely.

A stronger prompt alone is not a security guarantee. Before connecting this tool to sensitive records or action-taking capabilities, get a technical security review.

Category: Vibe Coding for Non-Developers

← All questions