---
title: "Comment by Osama Malik on \"How to test your LLM chatbot for prompt injection before launch (checklist + tools)\" | Hashnode"
description: "A scoring detail that helps with the tool misuse check: log the tool call itself, not just the reply, and fail the case if the tool ran with attacker-influenced"
url: "https://hashnode.com/posts/how-to-test-your-llm-chatbot-for-prompt-injection-before-launch-checklist-tools/6b069cfab7b3cc27bc4bd48b/comment/6b06dee8fba9ecc592114fb0"
---

[Discussion](https://hashnode.com/posts/how-to-test-your-llm-chatbot-for-prompt-injection-before-launch-checklist-tools/6b069cfab7b3cc27bc4bd48b)

Comment [How to test your LLM chatbot for prompt injection before launch (checklist + tools)](https://hashnode.com/posts/how-to-test-your-llm-chatbot-for-prompt-injection-before-launch-checklist-tools/6b069cfab7b3cc27bc4bd48b)

[Osama Malik](https://hashnode.com/@osamamalik)

[2h ago](https://hashnode.com/posts/how-to-test-your-llm-chatbot-for-prompt-injection-before-launch-checklist-tools/6b069cfab7b3cc27bc4bd48b/comment/6b06dee8fba9ecc592114fb0)

A scoring detail that helps with the tool misuse check: log the tool call itself, not just the reply, and fail the case if the tool ran with attacker-influenced arguments even when the reply refused. For the indirect injection test, also try the marker inside content the model sees as trusted-looking, such as a retrieved doc title or a tool result, because instructions in a tool result often get followed when the same text in a user turn is refused. Re-run the set whenever the retrieval source or tool list changes, not only when the model changes.
