Skip to content

docs: document inherent prompt injection risk - #1433

Open
CarsonRoscoe wants to merge 1 commit into
mainfrom
docs/prompt-injection-risk
Open

docs: document inherent prompt injection risk#1433
CarsonRoscoe wants to merge 1 commit into
mainfrom
docs/prompt-injection-risk

Conversation

@CarsonRoscoe

Copy link
Copy Markdown
Contributor

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:

  • Added documentation to all relevant README.md files

@cb-heimdall

Copy link
Copy Markdown

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Aug 11, 2026
@CarsonRoscoe
CarsonRoscoe force-pushed the docs/prompt-injection-risk branch from c0e40fc to 572e474 Compare August 11, 2026 13:26
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
CarsonRoscoe force-pushed the docs/prompt-injection-risk branch from 572e474 to 2000531 Compare August 11, 2026 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Development

Successfully merging this pull request may close these issues.

2 participants