docs: document inherent prompt injection risk - #1433
Open
CarsonRoscoe wants to merge 1 commit into
Open
Conversation
🟡 Heimdall Review Status
|
CarsonRoscoe
force-pushed
the
docs/prompt-injection-risk
branch
from
August 11, 2026 13:26
c0e40fc to
572e474
Compare
AgentKit gives an AI agent a wallet, so any text reaching the model's context can influence which actions it takes, including transfers. Add a "Managing Risk" README section stating this explicitly, naming both the direct (public chat/API surfaces) and indirect (context-pulling action providers) injection surfaces, and placing responsibility for managing them on the integrating developer. Point to guardrails middleware and the guardrails chatbot example as one mitigation strategy. The section sits after the quickstarts and repository structure, since this is a pre-productionization concern rather than something needed to get started. Also note in SECURITY.md that prompt injection is not treated as a vulnerability in AgentKit itself. Co-Authored-By: Claude <noreply@anthropic.com>
CarsonRoscoe
force-pushed
the
docs/prompt-injection-risk
branch
from
August 11, 2026 13:34
572e474 to
2000531
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
AgentKit gives an AI agent a wallet, so any text reaching the model's context can influence which actions it takes, including transfers. Add a README section stating this explicitly, naming both the direct (public chat/API surfaces) and indirect (context-pulling action providers) injection surfaces, and placing responsibility for managing them on the integrating developer. Point to guardrails middleware and the guardrails chatbot example as one mitigation strategy.
Also note in SECURITY.md that prompt injection is not treated as a vulnerability in AgentKit itself.
Checklist
A couple of things to include in your PR for completeness: